ConnectorDetails
public struct ConnectorDetails : Hashable
Information about one of the connectors available in the ChargingPark
.
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?
Current value of the connector
Declaration
Swift
public let electricCurrent: Measurement<UnitElectricCurrent>?
The ID of the connector. Search.evSearch
provides this value and Search.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?
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
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 |
currentType
|
Electric current type of the connector. |
ratedPower
|
Rated power of the connector. |
voltage
|
Voltage of the connector. |
electricCurrent
|
Current value of the connector. |
Rated power of the connector
Declaration
Swift
public let ratedPower: Measurement<UnitPower>?
Voltage of the connector
Declaration
Swift
public let voltage: Measurement<UnitElectricPotentialDifference>?