예제 #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
파일: LaborRule.cs 프로젝트: Mrding/Ribbon
 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
파일: ShiftGroup.cs 프로젝트: Mrding/Ribbon
 public virtual ShiftGroup SetDefaultProperty()
 {
     AssignmentTypes = new HashedSet<AssignmentType>();
     WorkingDayMask = new MaskOfDay();
     return this;
 }