VehicleEvSpeedConsumption

data class VehicleEvSpeedConsumption(val speed: Speed, val consumption: Force) : Parcelable

Defines the speed/consumption-rate point of a consumption curve.

Parameters

speed

The vehicle's speed.

consumption

The energy consumption at constant speed.

Constructors

Link copied to clipboard
constructor(speed: Speed, consumption: Force)

Properties

Link copied to clipboard
val consumption: Force
Link copied to clipboard
val speed: Speed

Inherited functions

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