EvConnector

@MapboxExperimental
class EvConnector @RestrictTo(value = [RestrictTo.Scope.LIBRARY_GROUP_PREFIX]) constructor(val id: String?, val standard: String, val format: String, val powerType: String, val maxVoltage: Int, val maxAmperage: Int, val maxElectricPower: Int? = null, val tariffIds: List<String>, val termsAndConditions: String? = null, val lastUpdated: String?) : Parcelable

OCPI Connector. A Connector is the socket or cable and plug available for the EV to use. A single EVSE may provide multiple Connectors but only one of them can be in use at the same time. A Connector always belongs to an EVSE object. Refer to this type in the OCPI GitHub repository for more details.

Constructors

Link copied to clipboard
fun EvConnector(id: String?, standard: String, format: String, powerType: String, maxVoltage: Int, maxAmperage: Int, maxElectricPower: Int? = null, tariffIds: List<String>, termsAndConditions: String? = null, lastUpdated: String?)

Functions

Link copied to clipboard
abstract fun describeContents(): Int
Link copied to clipboard
abstract fun writeToParcel(p0: Parcel, p1: Int)

Properties

Link copied to clipboard

EvConnectorFormat.Type value indicating the format (socket/cable) of the installed connector.

Link copied to clipboard
val id: String?

Identifier of the Connector within the EVSE. Two Connectors may have the same id as long as they do not belong to the same EVSE object.

Link copied to clipboard

Timestamp in RFC 3339 format when this Connector was last updated (or created).

Link copied to clipboard

Maximum amperage of the connector, in ampere (A).

Link copied to clipboard
val maxElectricPower: Int? = null

Maximum electric power that can be delivered by this connector, in Watts (W). Used when the maximum electric power is lower than the calculated value from voltage and amperage. For example: A DC Charge Point which can deliver up to 920V and up to 400A can be limited to a maximum of 150kW (maxElectricPower = 150000). Depending on the car, it may supply max voltage or current, but not both at the same time. For AC Charge Points, the amount of phases used can also influence the maximum power.

Link copied to clipboard

Maximum voltage of the connector (line to neutral for AC_3_PHASE), in volt (V). For example: DC Chargers might vary the voltage during charging when battery almost full.

Link copied to clipboard

ParkingType.Type value indicating electrical power configuration.

Link copied to clipboard

EvConnectorType.Type value indicating the standard of the installed connector.

Link copied to clipboard

Identifiers of the valid charging tariffs. Multiple tariffs are possible, but only one of each Tariff.type can be active at the same time. Tariffs with the same type are only allowed if they are not active at the same time: start_date_time and end_date_time period not overlapping. Only included in the response of the Get Charge Point details by ID API.

Link copied to clipboard

URL to the operator’s terms and conditions.