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(); me["APUAvail"].hide();
} }
if (tank3_content_lbs.getValue() < 100) { if (!systems.FUEL.Pumps.apu.getBoolValue() and systems.FUEL.Pumps.allOff.getBoolValue()) {
me["APUfuelLO"].show(); me["APUfuelLO"].show();
} else { } else {
me["APUfuelLO"].hide(); me["APUfuelLO"].hide();

View file

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

View file

@ -22,6 +22,10 @@ var FUEL = {
pumpRight1: props.globals.getNode("/controls/fuel/switches/pump-right-1"), pumpRight1: props.globals.getNode("/controls/fuel/switches/pump-right-1"),
pumpRight2: props.globals.getNode("/controls/fuel/switches/pump-right-2"), 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: { Valves: {
crossfeed: props.globals.getNode("/systems/fuel/valves/crossfeed-valve"), crossfeed: props.globals.getNode("/systems/fuel/valves/crossfeed-valve"),
lpValve1: props.globals.getNode("/systems/fuel/valves/engine-1-lp-valve"), lpValve1: props.globals.getNode("/systems/fuel/valves/engine-1-lp-valve"),

View file

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