diff --git a/src/aircraft/Toliss.ts b/src/aircraft/Toliss.ts index fef599f..f387630 100644 --- a/src/aircraft/Toliss.ts +++ b/src/aircraft/Toliss.ts @@ -33,6 +33,9 @@ export default class Toliss extends AircraftConfig { [AircraftFeature.TaxiLights]: { 'AirbusFBW/OHPLightSwitches': FeatureType.IntArray, }, + [AircraftFeature.APU]: { + 'AirbusFBW/APUAvail': FeatureType.Int, + }, } flapNames: FlapNames = { @@ -71,4 +74,8 @@ export default class Toliss extends AircraftConfig { taxiLights(value: number[]): FeatureState { return value[3] === 1 || value[3] === 2 } + + APU(value: number): FeatureState { + return value === 1 + } }