ChargingConnector

This class defines all the information associated to a connector of an electric vehicle charging pool.

Constructors

Link copied to clipboard
constructor(type: ConnectorType?, currentType: CurrentType?, power: Int)

Create a charging connector.

Properties

Link copied to clipboard

Type of current (see CurrentType).

Link copied to clipboard

The power in kW.

Link copied to clipboard
var power: Int

Power of the connector in hW (tenth of kW).

Link copied to clipboard

Type of connector (see ConnectorType).

Functions

Link copied to clipboard
fun toJson(): String