ResourceStateChanged

@Serializable
@SerialName(value = "ResourceStateChanged")
data class ResourceStateChanged(val simTime: Double, val resourceName: String, val state: String, val busyUnits: Int, val capacity: Int) : AnimationEvent(source)

A resource changed state. Covers both the process-view Resource and the station-package SResource. state is a String tag (e.g. "Busy", "Idle", "Failed", "Inactive") so the renderer needs no enum dependency.

Constructors

Link copied to clipboard
constructor(simTime: Double, resourceName: String, state: String, busyUnits: Int, capacity: Int)

Properties

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open override val simTime: Double
Link copied to clipboard