CombustionEngineProperty
public enum CombustionEngineProperty
Combustion engine property attributes.
Each CombustionEngineProperty
represents one property of the
CombustionEngine
model, and shares its PropertyID
.
Used for updating vehicle’s combustion engine state via
updateVehicleProperties(_:)
.
-
Represents
currentFuel
property of the vehicle.Declaration
Swift
case currentFuel(Measurement<UnitVolume>)
-
Represents
fuelEnergyDensity
property of the vehicle.Declaration
Swift
case fuelEnergyDensity(Measurement<TTUnitEnergyDensity>)
-
Represents
auxiliaryPower
property of the vehicle. RequiresspeedConsumption(_:)
to be set.Declaration
Swift
case auxiliaryPower(Measurement<TTUnitFuelPerTime>)
-
Represents
speedConsumption
property of the vehicle.Declaration
Swift
case speedConsumption([Measurement<UnitSpeed> : Measurement<UnitFuelEfficiency>])
-
Represents
velocityChange
property of the vehicle. RequiresfuelEnergyDensity(_:)
to be set.Declaration
Swift
case velocityChangeEfficiency(VelocityChangeEfficiency)
-
Represents
altitudeChange
property of the vehicle. RequiresfuelEnergyDensity(_:)
to be set.Declaration
Swift
case altitudeChangeEfficiency(AltitudeChangeEfficiency)
-
Unique identifier of the property.
Declaration
Swift
public var id: PropertyID { get }