Ejemplo n.º 1
0
        protected override bool RecordServiceHistory()
        {
            ThruputHistory h = new ThruputHistory();

            AssignToThruputHistory(h);
            ObjScope.Add(h);
            return(true);
        }
Ejemplo n.º 2
0
 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;
 }