ConnectorDetails

public struct ConnectorDetails

Information about one of the connectors available in the ChargingPark.

Lifecycle

  • Creates an EV charging connector

    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

Public

  • 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>?