示例#1
0
        //reprint
        public io_msaccdb_tbIMEISerialPrint(msaccdb_tbDataProductionLOT productionLOT)
        {
            this.tbIMEISerialPrint = new msaccdb_IMEISerialPrint();
            var setting = MyGlobal.MySetting;

            Init_Product product = MyGlobal.Products.Single(p => p.name == productionLOT.ProductName);

            tbIMEISerialPrint.IMEI     = "";
            tbIMEISerialPrint.LoSX     = productionLOT.Lot;
            tbIMEISerialPrint.NoLine   = product.code;
            tbIMEISerialPrint.NoLine1  = setting.LineIndex;
            tbIMEISerialPrint.Colour   = product.color;
            tbIMEISerialPrint.SN       = productionLOT.ProductSerial;
            tbIMEISerialPrint.TimeScan = DateTime.Now.ToString("yyyy/MM/dd HH:mm:ss");
        }
示例#2
0
        //first print
        public io_msaccdb_tbIMEISerialPrint()
        {
            var testing = MyGlobal.MyTesting;
            var setting = MyGlobal.MySetting;

            this.tbIMEISerialPrint = new msaccdb_IMEISerialPrint();

            tbIMEISerialPrint.IMEI     = "";
            tbIMEISerialPrint.LoSX     = testing.LotName;
            tbIMEISerialPrint.NoLine   = setting.ProductCode;
            tbIMEISerialPrint.NoLine1  = setting.LineIndex;
            tbIMEISerialPrint.Colour   = setting.ColorCode;
            tbIMEISerialPrint.SN       = testing.ProductSerial;
            tbIMEISerialPrint.TimeScan = DateTime.Now.ToString("yyyy/MM/dd HH:mm:ss");
        }