コード例 #1
0
ファイル: Serialize.cs プロジェクト: Eric-Guo/uo-mes
 protected override bool RecordServiceHistory()
 {
     SerializeHistory h = new SerializeHistory();
     AssignToSerializeHistory(h);
     foreach (SerializeDetail d in SerializeDetails)
     {
         SerializeHistoryDetail hd = new SerializeHistoryDetail();
         AssignSerializeDetailsToSerializeHistoryDetail(d, hd);
         hd.ServiceHistorySummary = h;
         ObjScope.Add(hd);
     }
     ObjScope.Add(h);
     return true;
 }
コード例 #2
0
ファイル: Serialize.cs プロジェクト: Eric-Guo/uo-mes
 protected virtual void AssignToSerializeHistory(SerializeHistory t)
 {
     t.HistoryMainLine = this.HistoryMainLine;
     t.ChildContainerLevel = this.ChildContainerLevel;
     t.ChildUOM = this.ChildUOM;
     t.Product = this.Product;
 }