EnergyEvseTrait.EnableChargingCommand.Request

class EnergyEvseTrait.EnableChargingCommand.Request


The request payload for the EnableCharging command.

Summary

Public constructors

Request(
    chargingEnabledUntil: UInt?,
    minimumChargeCurrent: Long,
    maximumChargeCurrent: Long
)

Creates a request payload for the EnableCharging command.

Public properties

UInt?

The time, in UTC, when charging becomes disabled.

Long

The maximum current, in milliamps, that the EVSE can deliver to the electric vehicle.

Long

The minimum current, in milliamps, that the EVSE can deliver to the electric vehicle.

Public constructors

Request

Request(
    chargingEnabledUntil: UInt? = null,
    minimumChargeCurrent: Long = 0,
    maximumChargeCurrent: Long = 0
)

Creates a request payload for the EnableCharging command.

Public properties

chargingEnabledUntil

val chargingEnabledUntilUInt?

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

maximumChargeCurrent

val maximumChargeCurrentLong

The maximum current, in milliamps, that the EVSE can deliver to the electric vehicle.

minimumChargeCurrent

val minimumChargeCurrentLong

The minimum current, in milliamps, that the EVSE can deliver to the electric vehicle.