CapacitySchedule

constructor(parent: ModelElement, capacityScheduleData: CapacityScheduleData, eventPriority: Int = KSLEvent.DEFAULT_PRIORITY, name: String? = null)(source)

Creates a CapacitySchedule based on capacity schedule data

Author

rossetti

Parameters

parent

the parent model element holding the schedule

capacityScheduleData

the schedule data

eventPriority

the default priority of the events used to start each item on the schedule

name

an optional name for the schedule


constructor(parent: ModelElement, startTime: Double = 0.0, autoStartOption: Boolean = true, repeatable: Boolean = false, eventPriority: Int = KSLEvent.DEFAULT_PRIORITY, name: String? = null)(source)

Parameters

parent

the parent model element holding the schedule

startTime

the time after the start of the replication that the schedule should start. The default is 0.0

autoStartOption

whether the schedule should start automatically. The default is true.

repeatable

whether the schedule will automatically repeat. The default is false.

eventPriority

the default priority of the events used to start each item on the schedule

name

an optional name for the schedule