示例#1
0
文件: Start.cs 项目: Eric-Guo/uo-mes
 protected override bool RecordServiceHistory()
 {
     StartHistory h = new StartHistory();
     AssignToStartHistory(h);
     foreach (StartDetail sd in Details)
     {
         StartHistoryDetail hd = new StartHistoryDetail();
         AssignStartDetailToStartHistoryDetail(sd, hd);
         hd.ServiceHistorySummary = h;
         ObjScope.Add(hd);
     }
     ObjScope.Add(h);
     return true;
 }
示例#2
0
文件: Start.cs 项目: Eric-Guo/uo-mes
 protected virtual void AssignToStartHistory(StartHistory t)
 {
     t.HistoryMainLine = this.HistoryMainLine;
     t.MfgOrder = this.MfgOrder;
     t.Workflow = this.Workflow;
     t.WorkflowStep = this.WorkflowStep;
     t.StartReason = this.StartReason;
 }