CapacityItem

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

Constructors

Link copied to clipboard
constructor(capacity: Int = 0, duration: Double, priority: Int = eventPriority)

Properties

Link copied to clipboard
val capacity: Int = 0
Link copied to clipboard
Link copied to clipboard
val id: Long
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard

Functions

Link copied to clipboard
Link copied to clipboard
open override fun toString(): String