EnergyEvseTrait.EnableDischargingCommand.Request

class EnergyEvseTrait.EnableDischargingCommand.Request


The request payload for the EnableDischarging command.

Summary

Public constructors

Request(dischargingEnabledUntil: UInt?, maximumDischargeCurrent: Long)

Creates a request payload for the EnableDischarging command.

Public properties

UInt?

The time, in UTC, when discharging becomes disabled.

Long

The maximum current, in milliamps, that the EVSE can receive from the electric vehicle.

Public constructors

Request

Request(
    dischargingEnabledUntil: UInt? = null,
    maximumDischargeCurrent: Long = 0
)

Creates a request payload for the EnableDischarging command.

Public properties

dischargingEnabledUntil

val dischargingEnabledUntilUInt?

The time, in UTC, when discharging becomes disabled. If the value is in the past, discharging is disabled. If the value is null, discharging is permanently enabled.

maximumDischargeCurrent

val maximumDischargeCurrentLong

The maximum current, in milliamps, that the EVSE can receive from the electric vehicle.