コード例 #1
0
        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);
        }
コード例 #2
0
 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);
     //}
 }