UtilEventArgs Constructor
- Last UpdatedNov 06, 2025
- 1 minute read
The UtilEvenArgs() method is the constructor for the UtilEvenArgs class. This method creates a new UtilEvenArgs object with all the fields initialized as specified by the input parameters.
public UtilEventArgs(
int entID,
double targetUtil,
double currentUtil,
int stateCd,
int reasCd,
string reasStart,
bool reasReqd,
int stateColor
)
Parameters
- entID
- Required. Holds the ID of the entity.
- targetUtil
Required. Holds the target utilization for the entity.
- currentUtil
Required. Holds the current utilization for the entity.
- stateCd
Required. Holds the current utilization state code for the entity.
- reasCd
- Required. Holds the current utilization reason code for the entity.
- reasStart
- Required. Holds the current utilization reason start time for the entity.
- reasReqd
Required. Holds a flag that, if set to true, specifies whether the current utilization reason is required for the entity.
- stateColor
- Required. Holds the current utilization state color for the entity.