AuxiliaryPower

Represents the auxiliary power consumption of either an electric or a combustion vehicle.

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

Inheritors

Types

Link copied to clipboard
data class Electric(val amount: Power) : AuxiliaryPower

An electric auxiliary power.

Link copied to clipboard
data class Fuel(val amount: FuelPerTime) : AuxiliaryPower

A fuel auxiliary power.

Functions

Link copied to clipboard
open operator override fun compareTo(other: AuxiliaryPower): Int

Compares this object with another consumption object of the same aux power type.