Capacity Schedule Data
constructor(capacityItems: List<CapacityItemData>, initialStartTime: Double = 0.0, isScheduleRepeatable: Boolean = false, isAutoStartFlag: Boolean = true)(source)
Parameters
capacity Items
the items on the schedule
initial Start Time
the start time of the schedule. Defaults to 0.0
is Schedule Repeatable
indicates if the schedule should repeat. The default is false.
is Auto Start Flag
indicates if the schedule should automatically start itself. The default is true.
constructor(capacities: IntArray, duration: Double, initialStartTime: Double = 0.0, isScheduleRepeatable: Boolean = false, isAutoStartFlag: Boolean = true)(source)
A data class to represent the data associated with a CapacitySchedule.
Parameters
capacities
the capacities for each duration. The array must not be empty. All capacity values must be greater than or equal to 0
duration
the common duration for each capacity value. Must be greater than 0.0
initial Start Time
the start time of the schedule. Defaults to 0.0
is Schedule Repeatable
indicates if the schedule should repeat. The default is false.
is Auto Start Flag
indicates if the schedule should automatically start itself. The default is true.