Ejemplo n.º 1
0
 protected virtual void AssignDetailsToHistoryDetail(ParametricDataDetail s, CollectResDataHistoryDetail t)
 {
     t.DataCollectionDef = ResolveCDO("DataCollectionDef", s.DataCollectionDef_Name) as DataCollectionDef;
     t.DataCollectionValue = s.DataCollectionValue;
 }
Ejemplo n.º 2
0
 protected override bool RecordServiceHistory()
 {
     CollectResDataHistory h = new CollectResDataHistory();
     AssignToCollectResourceDataHistory(h);
     foreach (ParametricDataDetail sd in Details)
     {
         CollectResDataHistoryDetail hd = new CollectResDataHistoryDetail();
         AssignDetailsToHistoryDetail(sd, hd);
         hd.ServiceHistorySummary = h;
         ObjScope.Add(hd);
     }
     ObjScope.Add(h);
     return true;
 }