ChargePoolStop

data class ChargePoolStop(val consFromPrevious: Double, var chargeDuration: Int, var socBeforeCharge: Double, val socAfterCharge: Double, val chargingPoint: ChargingPoint, val connectorIndex: Int, val nbChargingPoints: Int, val forcedCharge: Boolean, val operatorName: String?)

Info about the EV charge pool stop associated with a RouteWaypoint of the Route

Constructors

Link copied to clipboard
constructor(consFromPrevious: Double, chargeDuration: Int, socBeforeCharge: Double, socAfterCharge: Double, chargingPoint: ChargingPoint, connectorIndex: Int, nbChargingPoints: Int, forcedCharge: Boolean, operatorName: String?)

Properties

Link copied to clipboard

the planned charge's duration in seconds for this stop. It doesn't include RechargeParameters.stopFixedTime (use Waypoint.stopTime to get the total stop time)

Link copied to clipboard

info about the selected ChargingPoint for the vehicle

Link copied to clipboard
Link copied to clipboard

the consumption in kWh of the vehicle since the last RouteWaypoint of the Route

Link copied to clipboard

true if the pool is a forced charge, false otherwise

Link copied to clipboard

The number of charging points (parking spots)

Link copied to clipboard

: The operator name (if available).

Link copied to clipboard

the planned SoC in percentage of the vehicle after the charge (when the vehicle is supposed to get back on route)

Link copied to clipboard

the estimated SoC in percentage of the vehicle when arriving to this stop

Functions

Link copied to clipboard
fun toJson(): String