Capacity Item
inner class CapacityItem(val capacity: Int = 0, val duration: Double, val priority: Int = eventPriority)
A CapacityItem represents an item on a CapacitySchedule. CapacityItems are placed on a CapacitySchedule in the order that they will execute. The first item will start when the schedule starts and each item will be scheduled sequentially based on the durations of the previous items. At the specified start time, the capacity is to be set to the supplied value.
Parameters
capacity
the value of the capacity to be specified at the start time
duration
the duration of the change
priority
the priority of the change