DeviceEnergyManagementTrait.SlotAdjustmentStruct

class DeviceEnergyManagementTrait.SlotAdjustmentStruct


Indicates requested power and duration adjustments for a specific slot.

Summary

Public constructors

SlotAdjustmentStruct(slotIndex: UByte, nominalPower: Long, duration: UInt)

Creates the SlotAdjustmentStruct class.

Public properties

UInt

The new amount of time, in seconds, to which the ESA is extending or shortening its duration.

Long

The power, in milliwatts, at which the ESA is being requested to operate.

UByte

The index into the slots list within the forecast to be modified.

Public constructors

SlotAdjustmentStruct

SlotAdjustmentStruct(slotIndex: UByte, nominalPower: Long = 0, duration: UInt)

Creates the SlotAdjustmentStruct class.

Public properties

duration

val durationUInt

The new amount of time, in seconds, to which the ESA is extending or shortening its duration.

nominalPower

val nominalPowerLong

The power, in milliwatts, at which the ESA is being requested to operate.

slotIndex

val slotIndexUByte

The index into the slots list within the forecast to be modified.