1
0
Fork 0

Fix autopilot disconnection warning (re-engagement should cancel), fix the APU FUEL LO PR, fix the spurious stal warning on the ground

This commit is contained in:
legoboyvdlp R 2019-12-21 13:25:39 +00:00
parent 37fe015d4e
commit 36f3345c7a
4 changed files with 9 additions and 4 deletions

View file

@ -593,7 +593,7 @@ var canvas_lowerECAM_apu = {
me["APUAvail"].hide();
}
if (tank3_content_lbs.getValue() < 100) {
if (!systems.FUEL.Pumps.apu.getBoolValue() and systems.FUEL.Pumps.allOff.getBoolValue()) {
me["APUfuelLO"].show();
} else {
me["APUfuelLO"].hide();

View file

@ -100,6 +100,7 @@ var FCUController = {
if (me.FCUworking) {
if (!ap1.getBoolValue()) {
ap1Input.setValue(1);
libraries.apWarnNode.setValue(0);
} else {
apOff("hard", 1);
}

View file

@ -22,6 +22,10 @@ var FUEL = {
pumpRight1: props.globals.getNode("/controls/fuel/switches/pump-right-1"),
pumpRight2: props.globals.getNode("/controls/fuel/switches/pump-right-2"),
},
Pumps: {
apu: props.globals.getNode("/systems/fuel/pumps/apu-operate"),
allOff: props.globals.getNode("/systems/fuel/pumps/all-eng-pump-off"),
},
Valves: {
crossfeed: props.globals.getNode("/systems/fuel/valves/crossfeed-valve"),
lpValve1: props.globals.getNode("/systems/fuel/valves/engine-1-lp-valve"),

View file

@ -14,8 +14,8 @@
<independentVar lookup="row">/velocities/groundspeed-kt</independentVar>
<tableData>
0 0.0
5 0.0
6 1.0
29 0.0
30 1.0
</tableData>
</table>
</product>