DeviceEnergyManagementTrait.PauseRequestCommand.Request

class DeviceEnergyManagementTrait.PauseRequestCommand.Request


The request payload for the PauseRequest command.

Summary

Public constructors

Creates a request payload for the PauseRequest command.

Public properties

DeviceEnergyManagementTrait.AdjustmentCauseEnum

The cause of the request from the EMS.

UInt

The duration, in seconds, for which the ESA should pause its operation.

Public constructors

Request

Request(
    duration: UInt,
    cause: DeviceEnergyManagementTrait.AdjustmentCauseEnum = AdjustmentCauseEnum.LocalOptimization
)

Creates a request payload for the PauseRequest command.

Public properties

cause

val causeDeviceEnergyManagementTrait.AdjustmentCauseEnum

The cause of the request from the EMS.

duration

val durationUInt

The duration, in seconds, for which the ESA should pause its operation.