ChargingMode(chargingConnections: MutableList<ChargingConnection!>!, chargingCurve: MutableList<ChargingCurveSupportPoint!>!)
Creates an instance of ChargingMode.
chargingConnections
- MutableList<ChargingConnection!>!: A non-empty list of at most 20 unique chargingConnections which result in the same charging curve.
chargingCurve
- MutableList<ChargingCurveSupportPoint!>!: A piecewise-linear function which maps a target charge level to the time it takes to charge an empty battery to this level, that 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.