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 in kilowatts

    voltage

    Voltage of the connector in Volts

    electricCurrent

    Current value of the connector in Amperes

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 in kilowatts

    Declaration

    Swift

    public let ratedPower: Measurement<UnitPower>?
  • Voltage of the connector in Volts

    Declaration

    Swift

    public let voltage: Measurement<UnitElectricPotentialDifference>?
  • Current value of the connector in Amperes

    Declaration

    Swift

    public let electricCurrent: Measurement<UnitElectricCurrent>?