1
0
Fork 0

Fix interaction with timers

This commit is contained in:
legoboyvdlp R 2020-05-11 00:06:58 +01:00
parent dfab6c518f
commit 5afaf5c4a3
2 changed files with 3 additions and 3 deletions

View file

@ -1535,7 +1535,7 @@ var messages_priority_2 = func {
ECAM_controller.warningReset(eng2BleedLowTempIcing);
}
if (eng1BleedNotClsd.clearFlag == 0 and (phaseVar <= 2 or phaseVar >= 9 or phaseVar == 6) and warningNodes.Timers.bleed1NotShutOutput.getBoolValue()) {
if (eng1BleedNotClsd.clearFlag == 0 and (phaseVar <= 2 or phaseVar >= 9 or phaseVar == 6) and warningNodes.Timers.bleed1NotShutOutput.getValue() == 1) {
eng1BleedNotClsd.active = 1;
if (systems.PNEU.Switch.bleed1.getBoolValue()) {
eng1BleedNotClsdOff.active = 1;
@ -1547,7 +1547,7 @@ var messages_priority_2 = func {
ECAM_controller.warningReset(eng1BleedNotClsdOff);
}
if (eng2BleedNotClsd.clearFlag == 0 and (phaseVar <= 2 or phaseVar >= 9 or phaseVar == 6) and warningNodes.Timers.bleed2NotShutOutput.getBoolValue()) {
if (eng2BleedNotClsd.clearFlag == 0 and (phaseVar <= 2 or phaseVar >= 9 or phaseVar == 6) and warningNodes.Timers.bleed2NotShutOutput.getValue == 1) {
eng2BleedNotClsd.active = 1;
if (systems.PNEU.Switch.bleed2.getBoolValue()) {
eng2BleedNotClsdOff.active = 1;

View file

@ -764,7 +764,7 @@
<property>/systems/pneumatics/valves/engine-2-prv-valve</property>
<property>/systems/pneumatics/valves/engine-2-opv-valve</property>
<property>/engines/engine[1]/egt-actual</property>
<value>0.36</value>
<value>2.45</value>
</product>
<product>
<property>/systems/pneumatics/valves/apu-bleed-valve</property>