예제 #1
0
파일: Thruput.cs 프로젝트: Eric-Guo/uo-mes
 protected virtual void AssignToThruputHistory(ThruputHistory t)
 {
     t.HistoryMainLine = this.HistoryMainLine;
     t.Container = this.Container;
     t.Resource = this.Resource;
     t.ThruputAllQty = this.ThruputAllQty;
     t.Qty = this.Qty;
     t.CycleTime = (this.TxnDate - this.Container.LastMoveDate).TotalHours;
 }
예제 #2
0
파일: Thruput.cs 프로젝트: Eric-Guo/uo-mes
 protected override bool RecordServiceHistory()
 {
     ThruputHistory h = new ThruputHistory();
     AssignToThruputHistory(h);
     ObjScope.Add(h);
     return true;
 }