ConnectorDetails
public struct ConnectorDetails : Hashable
Information about one of the connectors available in the ChargingPark
.
-
Creates a
ConnectorDetails
instance.Declaration
Swift
public init( connectorType: ConnectorType, currentType: CurrentType? = nil, ratedPower: Measurement<UnitPower>? = nil, voltage: Measurement<UnitElectricPotentialDifference>? = nil, electricCurrent: Measurement<UnitElectricCurrent>? = nil )
Parameters
connectorType
Type of the connector available at the
ChargingPark
.currentType
Electric current type of the connector.
ratedPower
Rated power of the connector.
voltage
Voltage of the connector.
electricCurrent
Current value of the connector.
-
An identifier struct for
ConnectorDetails
.Important
This is a Public Preview API. It may be changed or removed at any time.Declaration
Swift
public struct Identifier : Hashable
-
The ID of the connector.
Search.evSearch
provides this value andSearch.search
doesn’t.Important
This is a Public Preview API. It may be changed or removed at any time.Declaration
Swift
public let id: Identifier?
-
Type of the connector available at the
ChargingPark
.Declaration
Swift
public let connectorType: ConnectorType
-
Electric current type of the connector
Declaration
Swift
public let currentType: CurrentType?
-
Rated power of the connector
Declaration
Swift
public let ratedPower: Measurement<UnitPower>?
-
Voltage of the connector
Declaration
Swift
public let voltage: Measurement<UnitElectricPotentialDifference>?
-
Current value of the connector
Declaration
Swift
public let electricCurrent: Measurement<UnitElectricCurrent>?