CombustionEngine

data class CombustionEngine(val consumption: CombustionVehicleConsumption? = null, val efficiency: CombustionVehicleEfficiency? = null, val currentFuel: Volume? = null)

Describes the vehicle with a combustion engine.

Important: This is a Public Preview API. It may be changed or removed at any time.

Parameters

consumption

Specifies the consumption model of the vehicle.

efficiency

Specifies the efficiency of the engine.

currentFuel

Current amount of fuel, for example in liters.

Constructors

Link copied to clipboard
fun CombustionEngine(consumption: CombustionVehicleConsumption? = null, efficiency: CombustionVehicleEfficiency? = null, currentFuel: Volume? = null)

Properties

Link copied to clipboard
Link copied to clipboard
val currentFuel: Volume? = null
Link copied to clipboard