ChargingInformation
public struct ChargingInformation
Information on how much to charge at a charging station.
-
Creates charging information structure.
Declaration
Swift
public init( targetCharge: Measurement<UnitEnergy>, chargingTime: Measurement<UnitDuration>, connectorDetails: ConnectorDetails, chargingParkUUID: UUID, chargingPower: Measurement<UnitPower>? = nil )
Parameters
targetCharge
The level to which the battery should be charged.
chargingTime
The estimated time spent at the charging stop, allowing for some additional time needed to use the charging facility.
connectorDetails
Information about one of the connectors available in the
ChargingPark
.chargingParkUUID
The unique identifier of this charging park. This UUID can be used to check the availability of the charging park.
chargingPower
The rated power of the charging park as limited by the charging capabilities of the vehicle.
-
The level to which the battery should be charged.
Declaration
Swift
public let targetCharge: Measurement<UnitEnergy>
-
The estimated time spent at the charging stop, allowing for some additional time needed to use the charging facility.
Declaration
Swift
public let chargingTime: Measurement<UnitDuration>
-
A list of chargingConnections, one of which should be used at this charging stop.
Declaration
Swift
public let connectorDetails: ConnectorDetails
-
The unique identifier of this charging park. This UUID can be used to check the availability of the charging park.
Declaration
Swift
public let chargingParkUUID: UUID
-
The rated power of the charging park as limited by the charging capabilities of the vehicle.
Declaration
Swift
public let chargingPower: Measurement<UnitPower>?