From ab807ba578efd91dc442d8b78a5aae79f3bae1e1 Mon Sep 17 00:00:00 2001 From: "B.Fatih KOZ" Date: Thu, 7 Nov 2024 20:22:35 +0300 Subject: [PATCH] Update ToLiss Provide APU support --- src/aircraft/Toliss.ts | 7 +++++++ 1 file changed, 7 insertions(+) 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 + } }