Пример #1
0
 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);
 }
Пример #2
0
 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;
 }
Пример #3
0
 public virtual ShiftGroup SetDefaultProperty()
 {
     AssignmentTypes = new HashedSet<AssignmentType>();
     WorkingDayMask = new MaskOfDay();
     return this;
 }