using System.Collections.Generic; using Gumming.Execute.Workflow; namespace Gumming.Execute { public class Wafer { public int No { get; set; } public string Name { get; set; } public List Works { get; set; } = new List(); public volatile FlowUnit CurrentFlow; public volatile StationWork CurrentStationWork; //在花篮 public bool InCs { get; set; } = true; public bool Done { get; set; } public int CurrentPos { get; set; } public Wafer Clone() { return (Wafer)this.MemberwiseClone(); } public Wafer(string name, FlowUnit[] flow, int i) { No = i + 1; Name = name; /*for (FlowUnit s : flow) { StationWork work = new StationWork(); work.flowUnit = s; works.add(work); }*/ } } }