PMCmdVehicleReport

data class PMCmdVehicleReport(val odometer: Int = 0, val odometerUnit: PMCmdDistanceUnit, val rangeRemaining: Int = 0, val rangeRemainingUnit: PMCmdDistanceUnit, val fuel: PMCmdFuelReport? = null, val ev: PMCmdEVReport? = null)

Actual status report of vehicle

Constructors

Link copied to clipboard
fun PMCmdVehicleReport(odometer: Int = 0, odometerUnit: PMCmdDistanceUnit, rangeRemaining: Int = 0, rangeRemainingUnit: PMCmdDistanceUnit, fuel: PMCmdFuelReport? = null, ev: PMCmdEVReport? = null)

Properties

Link copied to clipboard
val ev: PMCmdEVReport? = null

(optional) battery status report for electric vehicle

Link copied to clipboard
val fuel: PMCmdFuelReport? = null

(optional) fuel status report

Link copied to clipboard
val odometer: Int = 0

Current odometer value of the vehicle (PERF_ODOMETER), -1 means that the value is not avialable

Link copied to clipboard

Current odometer unit
Default value is PMCmdDistanceUnit.Meter

Link copied to clipboard

Range remaining of fuel and charge. (RANGE_REMAINING), -1 means that the value is not avialable

Link copied to clipboard

Range remaining used unit
Default value is PMCmdDistanceUnit.Meter