EnergyEvseTrait.ChargingTargetScheduleStruct

class EnergyEvseTrait.ChargingTargetScheduleStruct : ClusterStruct


A set of user-specified charging targets for an electric vehicle for a set of specified days.

Summary

Public constructors

Creates the ChargingTargetScheduleStruct class.

Public functions

open StructDescriptor

Returns the descriptor for the struct.

open Any?

Returns the value of the field for the given tag ID.

Public properties

List<EnergyEvseTrait.ChargingTargetStruct>

A list of up to 10 charging targets for each of the associated days of the week.

EnergyEvseTrait.TargetDayOfWeekBitmap

The days of the week to which the charging targets should be associated.

Public constructors

ChargingTargetScheduleStruct

ChargingTargetScheduleStruct(
    dayOfWeekForSequence: EnergyEvseTrait.TargetDayOfWeekBitmap = TargetDayOfWeekBitmap(),
    chargingTargets: List<EnergyEvseTrait.ChargingTargetStruct> = emptyList()
)

Creates the ChargingTargetScheduleStruct class.

Public functions

getDescriptor

open fun getDescriptor(): StructDescriptor

Returns the descriptor for the struct.

getFieldValueById

open fun getFieldValueById(tagId: UInt): Any?

Returns the value of the field for the given tag ID.

Public properties

chargingTargets

val chargingTargetsList<EnergyEvseTrait.ChargingTargetStruct>

A list of up to 10 charging targets for each of the associated days of the week.

dayOfWeekForSequence

val dayOfWeekForSequenceEnergyEvseTrait.TargetDayOfWeekBitmap

The days of the week to which the charging targets should be associated. This field is a bitmap, which allows the associated targets to be applied to multiple days.