示例#1
0
        public virtual void Reporting(ITerm source)
        {
            if (source.Is <IOffWork>())
            {
                return;
            }

            var lowestTerm = source.GetLowestTerm() as AssignmentBase;

            if (lowestTerm == null)
            {
                return;
            }

            BalanceLabourHour(lowestTerm);
            AdjustBoundary(lowestTerm);
        }
示例#2
0
 public static bool HrDateEq(this ITerm a, ITerm b)
 {
     return(a.GetLowestTerm().HrDate == b.GetLowestTerm().HrDate);
 }
示例#3
0
        public virtual void Reporting(ITerm source)
        {
            if (source.Is<IOffWork>()) return;

            var lowestTerm = source.GetLowestTerm() as AssignmentBase;
            if (lowestTerm == null) return;

            BalanceLabourHour(lowestTerm);
            AdjustBoundary(lowestTerm);
        }