Package-level declarations

Types

Link copied to clipboard
data class APIAuxConsumption(val startOutsideTemp: Int, val endOutsideTemp: Int, val auxiliaryConsumption: Int)

Stores information about AUX consumption the way they are returned by the BeMAP API.

Link copied to clipboard
data class APIBatteryCapacity(val startOutsideTemp: Int, val endOutsideTemp: Int, val batteryCapacity: Double)

Stores information about battery capacity the way they are returned by the BeMAP API.

Link copied to clipboard

The motor type enum as it is defined in BeMAP API.

Link copied to clipboard

The TransportationType enum as it is defined in BeMAP API.

Link copied to clipboard
data class APIVehicle(val key: String, val name: String, val variant: String, val year: String?, val brandId: String, val transportType: APITransportationType, val height: Int, val width: Int, val length: Int, val maxWeight: Int, val maxWeightPerAxle: Int, val batteryName: String?, val connectorTypes: List<Int>, val motorType: APIMotorType?, val chargerPowerAcSinglePhase: Double, val chargerPowerAcThreePhases: Double, val chargerPowerDC: Double, val encDatasheet: String?)

Stores information about a vehicle model (API naming = Vehicle) the way they are returned by the BeMAP API. Members names must be the same as

Link copied to clipboard
data class APIVehicleCharger(val maxAcSinglePhase: Double, val maxAcThreePhases: Double, val maxDC: Double)

Stores information about a vehicle charger the way they are returned by the BeMAP API.

Link copied to clipboard
data class APIVehicleDatasheet(val scx: Double, val crr: Double, val f0: Double, val f1: Double, val f2: Double, val f0f1WeightReference: Double, val f2TemperatureReference: Double, val engineEfficiency: Double, val batteryCapacities: List<APIBatteryCapacity>, val batteryName: Double, val dryWeight: Int, val payload: Int, val minConsumption: Int, val auxConsumptions: List<APIAuxConsumption>, val regenerativeBraking: Boolean, val maxSpeed: Double, val maxAccel: Double, val maxDecel: Double, val vehicleCharger: APIVehicleCharger, val transportType: APITransportationType, val height: Int, val width: Int, val length: Int, val weight: Int)

Stores detailed information about a vehicle model the way they are returned by the BeMAP API.

Link copied to clipboard
data class APIVehiclesResponse(val vehicles: List<APIVehicle>)

Wrapper around a list of vehicles (vehicle models) returned by the BeMAP API