public AbsentEvent(DateTime start, TimeSpan length) : base(start, length) { _payment = WorkHourType.Unpaid; _level = 3; _background = "LightCoral"; _text = "AbsentEvent"; _isNeedSeat = false; _onService = false; }
public AbsentEvent(DateTime start, TimeSpan length) : base(start, length) { _payment = WorkHourType.Unpaid; _level = 3; _background = "LightCoral"; _text = "AbsentEvent"; _isNeedSeat = false; _onService = false; }
static TimeOff() { _payment = WorkHourType.Paid; //_defaultStyle = new TermStyle // { // Background = "LightGray", // Name = "TimeOff", // OnService = false, // Occupied = false // }; }
//static TermStyle _defaultStyle; static DayOff() { _payment = WorkHourType.Unpaid; //_defaultStyle = new TermStyle // { // Background = "White", // Name = "DayOff", // Occupied = false, // OnService = false // }; }
//static TermStyle _defaultStyle; static DayOff() { _payment = WorkHourType.Unpaid; //_defaultStyle = new TermStyle // { // Background = "White", // Name = "DayOff", // Occupied = false, // OnService = false // }; }
static TimeOff() { _payment = WorkHourType.Paid; //_defaultStyle = new TermStyle // { // Background = "LightGray", // Name = "TimeOff", // OnService = false, // Occupied = false // }; }
static Shrink() { _typesOfRelyOn = new List<Type>(new Type[] { typeof(Assignment) }); _payment = WorkHourType.Shrink; //_defaultStyle = new TermStyle //{ // Background = "LightGray", // Name = "Shrink", // Occupied = false, // OnService = false //}; }
static Shrink() { _typesOfRelyOn = new List <Type>(new Type[] { typeof(Assignment) }); _payment = WorkHourType.Shrink; //_defaultStyle = new TermStyle //{ // Background = "LightGray", // Name = "Shrink", // Occupied = false, // OnService = false //}; }
static UnlaboredSubEvent() { //any allowed types can cover on subevent but must in the range _canBeOverlapTypes = new List <Type>(new Type[] { typeof(RegularSubEvent), typeof(AbsentEvent), typeof(OvertimeSubEvent) }); _typesOfRelyOn = new List <Type>(new Type[] { typeof(Assignment), typeof(OvertimeAssignment) }); _payment = WorkHourType.Unpaid; //_defaultStyle = new TermStyle //{ // Background = "Green", // Name = "UnlaboredSubEvent", // OnService = false, // Occupied = true //}; }
static UnlaboredSubEvent() { //any allowed types can cover on subevent but must in the range _canBeOverlapTypes = new List<Type>(new Type[] { typeof(RegularSubEvent), typeof(AbsentEvent), typeof(OvertimeSubEvent) }); _typesOfRelyOn = new List<Type>(new Type[] { typeof(Assignment), typeof(OvertimeAssignment) }); _payment = WorkHourType.Unpaid; //_defaultStyle = new TermStyle //{ // Background = "Green", // Name = "UnlaboredSubEvent", // OnService = false, // Occupied = true //}; }
//static TermStyle _defaultStyle; static Assignment() { //any allowed types can cover on assignment but must in the range _canBeOverlapTypes = new List<Type>(new[] { typeof(RegularSubEvent), typeof(UnlaboredSubEvent), typeof(OvertimeSubEvent), typeof(AbsentEvent), typeof(Shrink) }); _payment = WorkHourType.Paid; //_defaultStyle = new TermStyle // { // Background = "Blue", // Name = "RegularAssignment", // OnService = true, // Occupied = true // }; }
//static TermStyle _defaultStyle; static Assignment() { //any allowed types can cover on assignment but must in the range _canBeOverlapTypes = new List <Type>(new[] { typeof(RegularSubEvent), typeof(UnlaboredSubEvent), typeof(OvertimeSubEvent), typeof(AbsentEvent), typeof(Shrink) }); _payment = WorkHourType.Paid; //_defaultStyle = new TermStyle // { // Background = "Blue", // Name = "RegularAssignment", // OnService = true, // Occupied = true // }; }
static UnknowAssignment() { _canBeOverlapTypes = new List <Type>(); _payment = WorkHourType.Unpaid; }
//static bool _isOcuppied; static OvertimeSubEvent() { _typesOfRelyOn = new List <Type>(new Type[] { typeof(Assignment), typeof(OvertimeAssignment), typeof(UnlaboredSubEvent) }); _payment = WorkHourType.ExtraPaid; }
//static bool _isOcuppied; static OvertimeSubEvent() { _typesOfRelyOn = new List<Type>(new Type[] { typeof(Assignment), typeof(OvertimeAssignment), typeof(UnlaboredSubEvent) }); _payment = WorkHourType.ExtraPaid; }
static UnknowAssignment() { _canBeOverlapTypes = new List<Type>(); _payment = WorkHourType.Unpaid; }
static OvertimeAssignment() { _canBeOverlapTypes = new List <Type>(new [] { typeof(RegularSubEvent), typeof(OvertimeSubEvent), typeof(UnlaboredSubEvent) }); _payment = WorkHourType.ExtraPaid; }
static OvertimeAssignment() { _canBeOverlapTypes = new List<Type>(new [] { typeof(RegularSubEvent), typeof(OvertimeSubEvent), typeof(UnlaboredSubEvent) }); _payment = WorkHourType.ExtraPaid; }