1
0
Fork 0

Lower ECAM: correction for Nasal error

This commit is contained in:
legoboyvdlp R 2020-09-30 18:16:57 +01:00
parent e236de2f69
commit 40b90a2bdb

View file

@ -94,8 +94,6 @@ var bmc1working = props.globals.getNode("/systems/pneumatics/indicating/bmc1-wor
var bmc2working = props.globals.getNode("/systems/pneumatics/indicating/bmc2-working", 1); var bmc2working = props.globals.getNode("/systems/pneumatics/indicating/bmc2-working", 1);
var gs_kt = props.globals.getNode("/velocities/groundspeed-kt", 1); var gs_kt = props.globals.getNode("/velocities/groundspeed-kt", 1);
var switch_wing_aice = props.globals.getNode("/controls/ice-protection/wing", 1); var switch_wing_aice = props.globals.getNode("/controls/ice-protection/wing", 1);
var eng1_n2_actual = props.globals.getNode("/engines/engine[0]/n2-actual", 1);
var eng2_n2_actual = props.globals.getNode("/engines/engine[1]/n2-actual", 1);
var pack1_bypass = props.globals.getNode("/systems/pneumatics/pack-1-bypass", 1); var pack1_bypass = props.globals.getNode("/systems/pneumatics/pack-1-bypass", 1);
var pack2_bypass = props.globals.getNode("/systems/pneumatics/pack-2-bypass", 1); var pack2_bypass = props.globals.getNode("/systems/pneumatics/pack-2-bypass", 1);
var oil_qt1_actual = props.globals.getNode("/engines/engine[0]/oil-qt-actual", 1); var oil_qt1_actual = props.globals.getNode("/engines/engine[0]/oil-qt-actual", 1);
@ -846,14 +844,14 @@ var canvas_lowerECAM_bleed = {
} }
# ENG 1 label # ENG 1 label
if (eng1_n2_actual.getValue() >= 59) { if (pts.Engines.Engine.n2Actual[0].getValue() >= 59) {
me["BLEED-ENG-1-label"].setColor(0.8078,0.8039,0.8078); me["BLEED-ENG-1-label"].setColor(0.8078,0.8039,0.8078);
} else { } else {
me["BLEED-ENG-1-label"].setColor(0.7333,0.3803,0); me["BLEED-ENG-1-label"].setColor(0.7333,0.3803,0);
} }
# ENG 2 label # ENG 2 label
if (eng2_n2_actual.getValue() >= 59) { if (pts.Engines.Engine.n2Actual[1].getValue() >= 59) {
me["BLEED-ENG-2-label"].setColor(0.8078,0.8039,0.8078); me["BLEED-ENG-2-label"].setColor(0.8078,0.8039,0.8078);
} else { } else {
me["BLEED-ENG-2-label"].setColor(0.7333,0.3803,0); me["BLEED-ENG-2-label"].setColor(0.7333,0.3803,0);
@ -2732,13 +2730,13 @@ var canvas_lowerECAM_hyd = {
me["PTU-Auto-or-off"].show(); me["PTU-Auto-or-off"].show();
} }
if (eng1_n2.getValue() >= 59) { if (pts.Engines.Engine.n2Actual[0].getValue() >= 59) {
me["Pump-Green-label"].setColor(0.8078,0.8039,0.8078); me["Pump-Green-label"].setColor(0.8078,0.8039,0.8078);
} else { } else {
me["Pump-Green-label"].setColor(0.7333,0.3803,0); me["Pump-Green-label"].setColor(0.7333,0.3803,0);
} }
if (eng2_n2.getValue() >= 59) { if (pts.Engines.Engine.n2Actual[1].getValue() >= 59) {
me["Pump-Yellow-label"].setColor(0.8078,0.8039,0.8078); me["Pump-Yellow-label"].setColor(0.8078,0.8039,0.8078);
} else { } else {
me["Pump-Yellow-label"].setColor(0.7333,0.3803,0); me["Pump-Yellow-label"].setColor(0.7333,0.3803,0);