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 ChargingActionDetails object will have positive ChargingActionDetails.consumablePowerInKilowatts. Defaults to 0.

    Declaration

    Swift

    public var consumablePowerInKilowatts: Double
  • Estimated vehicle battery charge before this action (in kWh). A valid ChargingActionDetails object will have positive ChargingActionDetails.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 ChargingActionDetails object will have positive ChargingActionDetails.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)