ChargingActionDetails
public struct ChargingActionDetails : Hashable
Parameters related to the electric vehicle’s charging action.
-
Maximum charging power (in kW) available to the vehicle, based on the properties of the charging station and the vehicle. A valid
ChargingActionDetailsobject will have positiveChargingActionDetails.consumablePowerInKilowatts. Defaults to 0.Declaration
Swift
public var consumablePowerInKilowatts: Double -
Estimated vehicle battery charge before this action (in kWh). A valid
ChargingActionDetailsobject will have positiveChargingActionDetails.arrivalChargeInKilowattHours. Defaults to 0.Declaration
Swift
public var arrivalChargeInKilowattHours: Double -
Level to which vehicle battery should be charged by this action (in kWh). A valid
ChargingActionDetailsobject will have positiveChargingActionDetails.targetChargeInKilowattHours. Defaults to 0.Declaration
Swift
public var targetChargeInKilowattHours: Double -
Creates a new instance.
Declaration
Swift
public init(consumablePowerInKilowatts: Double = 0.0, arrivalChargeInKilowattHours: Double = 0.0, targetChargeInKilowattHours: Double = 0.0)