Time Constructor |
Namespace: Koopman.CheckPoint
var t = new Time(Session) { Name = "MyTime", Color = Colors.Red }; t.HourRanges[0] = new Koopman.CheckPoint.Common.TimeRange("03:00", "04:00"); t.HourRanges[1] = new Koopman.CheckPoint.Common.TimeRange("15:00", "16:00"); t.Recurrence = new Time.RecurrenceClass() { Pattern = Time.RecurrencePattern.Daily, Weekdays = Days.Weekend }; t.AcceptChanges();