object ICloneable.Clone() { Tray tray = new Tray(); foreach (ProductDef product in this.ProductList) { tray.ProductList.Add(product.Clone()); } //tray.CodePoint2 = new PointF2(this.CodePoint.X, this.CodePoint.Y); tray.MarkMode = this.MarkMode; //tray.CodeScan = this.CodeScan; return(tray); }
public StickDataDef() { NuzzleForbit = new List <bool>() { false, false }; GiveUpPara = new GiveUpParaDef(); StickPara = new StickParaDef(); TakeLabelPara = new TakeLabelParaDef(); FeederPara = new FeederParaDef(); underCCDSanpPos = new List <PointF4>(); TrayData = new Tray(); StickPos = new List <PointF4>(); StickSysData = new StickSysDataDef(); //for (int i = 0; i < 2; i++) //{ // NuzzleForbit.Add(false); //} }