Exemplo n.º 1
0
 public DeilveryPlanItem(MyData.MyDataRow mr)
 {
     ProdNo        = mr.Value <string>("ProdNo");
     SendDate      = mr.Value <DateTime>("SendDate");
     DutySendDate  = mr.Value <DateTime>("DutySendDate");
     PNumb         = mr.Value <double>("PNumb");
     ProduceNumber = mr.Value <double>("ProduceNumber");
     Code          = mr.Value <string>("Code");
     Name          = mr.Value <string>("Name");
     Type          = mr.Value <string>("Type");
     TypeName      = mr.Value <string>("TypeName");
 }
Exemplo n.º 2
0
 public IPQCStaticItem(MyData.MyDataRow r)
 {
     OccuredProcessCode = r.Value("OccuredProcessCode");
     OccuredMachineCode = r.Value("OccuredMachineCode");
     Numb1                  = r.DoubleValue("Numb1");
     Numb2                  = r.DoubleValue("Numb2");
     SampleNumb             = r.DoubleValue("SampleNumb");
     AdjustNumb             = r.DoubleValue("AdjustNumb");
     AccNoteRdsNo           = r.Value("AccNoteRdsNo");
     RenoteRdsno            = r.Value("RenoteRdsno");
     ProduceRdsNo           = r.Value("ProduceRdsNo");
     ProductCode            = r.Value("ProductCode");
     RejNumb                = r.DoubleValue("RejNumb");
     ScrapNumber            = r.DoubleValue("ScrapNumber");
     AssignToDepartmentID   = r.IntValue("AssignToDepartmentID");
     ProjCode               = r.Value("ProjCode");
     ItemID                 = r.IntValue("ItemID");
     ProductName            = r.Value("ProductName");
     Editor                 = r.Value("Editor");
     EditDate               = r.DateTimeValue("EditDate");
     ProjName               = r.Value("ProjName");
     AssignToDepartmentName = r.Value("AssignToDepartmentName");
     FullSortID             = r.Value("FullSortID");
     AssignToProcessName    = r.Value("AssignToProcessName");
     OccuredProcessName     = r.Value("OccuredProcessName");
     OccuredMachineName     = r.Value("OccuredMachineName");
     OccuredDepartmentName  = r.Value("OccuredDepartmentName");
     RptDate                = r.DateTimeValue("RptDate");
     Yield                  = r.DoubleValue("Yield");
 }