public virtual LaborRule SetDefaultProperty() { //TODO:Verify who set DefaultMaxLaborHour value to cache this.MaxLaborHour = new TimeSpan(ApplicationCache.Get <int>(Global.DefaultMaxLaborHour), 0, 0); this.MinLaborHour = new TimeSpan(ApplicationCache.Get <int>(Global.DefaultMinLaborHour), 0, 0); //xGroupingArrangeShift = new GroupingArrangeShift(); DayOffRule = new DayOffRule(); DayOffMask = new MaskOfDay(); return(this); }
public virtual LaborRule SetDefaultProperty() { //TODO:Verify who set DefaultMaxLaborHour value to cache this.MaxLaborHour = new TimeSpan(ApplicationCache.Get<int>(Global.DefaultMaxLaborHour), 0, 0); this.MinLaborHour = new TimeSpan(ApplicationCache.Get<int>(Global.DefaultMinLaborHour), 0, 0); //xGroupingArrangeShift = new GroupingArrangeShift(); DayOffRule = new DayOffRule(); DayOffMask = new MaskOfDay(); return this; }
public virtual ShiftGroup SetDefaultProperty() { AssignmentTypes = new HashedSet<AssignmentType>(); WorkingDayMask = new MaskOfDay(); return this; }