示例#1
0
文件: Split.cs 项目: Eric-Guo/uo-mes
 protected virtual void AssignSplitDetailsToSplitHistoryDetail(SplitDetail s, SplitHistoryDetail t)
 {
     t.ContainerName = s.ContainerName;
     t.Qty = s.Qty;
 }
示例#2
0
文件: Split.cs 项目: Eric-Guo/uo-mes
 protected override bool RecordServiceHistory()
 {
     SplitHistory h = new SplitHistory();
     AssignToSplitHistory(h);
     foreach (SplitDetail sd in ToContainerDetails)
     {
         SplitHistoryDetail hd = new SplitHistoryDetail();
         AssignSplitDetailsToSplitHistoryDetail(sd, hd);
         hd.ServiceHistorySummary = h;
         ObjScope.Add(hd);
     }
     ObjScope.Add(h);
     return true;
 }