PMCmdFuelReport

data class PMCmdFuelReport(val fuelUnit: PMCmdVolumeUnit, val level: Float = 0.0f, val capacity: Float = 0.0f, val warning: Boolean = false)

Actual fuel status report ( for gasoline, petrol, gas, diesel ... )

Constructors

Link copied to clipboard
fun PMCmdFuelReport(fuelUnit: PMCmdVolumeUnit, level: Float = 0.0f, capacity: Float = 0.0f, warning: Boolean = false)

Properties

Link copied to clipboard
val capacity: Float = 0.0f

Fuel capacity of the vehicle (INFO_FUEL_CAPACITY)

Link copied to clipboard

Used volume unit
Default value is PMCmdVolumeUnit.Milliliters

Link copied to clipboard
val level: Float = 0.0f

Fuel remaining in the the vehicle (FUEL_LEVEL)

Link copied to clipboard
val warning: Boolean = false

Warning for fuel low level.(FUEL_LEVEL_LOW)