Пример #1
0
 protected override bool RecordServiceHistory()
 {
     DefectHistory h = new DefectHistory();
     AssignToDefectHistory(h);
     foreach (DefectDetail d in DefectDetails)
     {
         DefectHistoryDetail hd = new DefectHistoryDetail();
         AssignDefectDetailsToDefectHistoryDetail(d, hd);
         hd.ServiceHistorySummary = h;
         ObjScope.Add(hd);
     }
     ObjScope.Add(h);
     return true;
 }
Пример #2
0
 protected virtual void AssignToDefectHistory(DefectHistory t)
 {
     t.HistoryMainLine = this.HistoryMainLine;
     t.QtyInspected = this.QtyInspected;
 }