DeviceEnergyManagementTrait.ModifyForecastRequestCommand.Request

class DeviceEnergyManagementTrait.ModifyForecastRequestCommand.Request


The request payload for the ModifyForecastRequest command.

Summary

Public constructors

Creates a request payload for the ModifyForecastRequest command.

Public properties

DeviceEnergyManagementTrait.AdjustmentCauseEnum

The cause of the request from the EMS.

UInt

The ID of the forecast to modify.

List<DeviceEnergyManagementTrait.SlotAdjustmentStruct>

A list of slotAdjustment parameters that should be modified in the corresponding forecast.

Public constructors

Request

Request(
    forecastId: UInt,
    slotAdjustments: List<DeviceEnergyManagementTrait.SlotAdjustmentStruct> = emptyList(),
    cause: DeviceEnergyManagementTrait.AdjustmentCauseEnum = AdjustmentCauseEnum.LocalOptimization
)

Creates a request payload for the ModifyForecastRequest command.

Public properties

cause

val causeDeviceEnergyManagementTrait.AdjustmentCauseEnum

The cause of the request from the EMS.

forecastId

val forecastIdUInt

The ID of the forecast to modify.

slotAdjustments

val slotAdjustmentsList<DeviceEnergyManagementTrait.SlotAdjustmentStruct>

A list of slotAdjustment parameters that should be modified in the corresponding forecast.