sdk-routing / com.tomtom.online.sdk.routing.ev.charging / ChargingMode

ChargingMode

@Beta(2020, 12) data class ChargingMode : Serializable

Represents information about the charging behavior of the vehicle. Creates an instance of ChargingMode.

Parameters

chargingConnections - A non-empty list of at most 20 unique chargingConnections which result in the same charging curve.

chargingCurve -

A piecewise-linear function that maps a target charge level to the time it takes to charge an empty battery to this level, and is used to compute charging times of the vehicle.

It is given by a sequence of at most 10 non-duplicate chargingCurveSupportPoints that are totally, increasingly ordered in timeToChargeInSeconds and chargeInkWh.

Constructors

<init>

ChargingMode(chargingConnections: List<ChargingConnection>, chargingCurve: List<ChargingCurveSupportPoint>)

Represents information about the charging behavior of the vehicle. Creates an instance of ChargingMode.

Properties

chargingConnections

val chargingConnections: List<ChargingConnection>

A non-empty list of at most 20 unique chargingConnections which result in the same charging curve.

chargingCurve

val chargingCurve: List<ChargingCurveSupportPoint>

A piecewise-linear function that maps a target charge level to the time it takes to charge an empty battery to this level, and is used to compute charging times of the vehicle.