A32X: Fix some hydraulic properties in pneumatic

This commit is contained in:
Joshua Davidson 2017-10-01 11:39:17 -04:00
parent ee2065e066
commit 3d7e16d19f
3 changed files with 16 additions and 16 deletions

View file

@ -1894,7 +1894,7 @@
<or>
<and>
<equals>
<property>systems/pneumatic/eng1-pump-fault</property>
<property>systems/hydraulic/eng1-pump-fault</property>
<value>1</value>
</equals>
<equals>
@ -2056,7 +2056,7 @@
<or>
<and>
<equals>
<property>systems/pneumatic/elec-pump-b-fault</property>
<property>systems/hydraulic/elec-pump-b-fault</property>
<value>1</value>
</equals>
<equals>
@ -2129,7 +2129,7 @@
<or>
<and>
<equals>
<property>systems/pneumatic/ptu-fault</property>
<property>systems/hydraulic/ptu-fault</property>
<value>1</value>
</equals>
<equals>
@ -2202,7 +2202,7 @@
<or>
<and>
<equals>
<property>systems/pneumatic/eng2-pump-fault</property>
<property>systems/hydraulic/eng2-pump-fault</property>
<value>1</value>
</equals>
<equals>
@ -2275,7 +2275,7 @@
<or>
<and>
<equals>
<property>systems/pneumatic/elec-pump-y-fault</property>
<property>systems/hydraulic/elec-pump-y-fault</property>
<value>1</value>
</equals>
<equals>

View file

@ -232,33 +232,33 @@ var master_hyd = func {
# Fault lights
if (green_pump_fail and eng1_pump_sw) {
setprop("/systems/pneumatic/eng1-pump-fault", 1);
setprop("/systems/hydraulic/eng1-pump-fault", 1);
} else {
setprop("/systems/pneumatic/eng1-pump-fault", 0);
setprop("/systems/hydraulic/eng1-pump-fault", 0);
}
if (blue_pump_fail and elec_pump_blue_sw) {
setprop("/systems/pneumatic/elec-pump-b-fault", 1);
setprop("/systems/hydraulic/elec-pump-b-fault", 1);
} else {
setprop("/systems/pneumatic/elec-pump-b-fault", 0);
setprop("/systems/hydraulic/elec-pump-b-fault", 0);
}
if (ptu_fail and ptu_sw) {
setprop("/systems/pneumatic/ptu-fault", 1);
setprop("/systems/hydraulic/ptu-fault", 1);
} else {
setprop("/systems/pneumatic/ptu-fault", 0);
setprop("/systems/hydraulic/ptu-fault", 0);
}
if (yellow_pump_eng_fail and eng2_pump_sw) {
setprop("/systems/pneumatic/eng2-pump-fault", 1);
setprop("/systems/hydraulic/eng2-pump-fault", 1);
} else {
setprop("/systems/pneumatic/eng2-pump-fault", 0);
setprop("/systems/hydraulic/eng2-pump-fault", 0);
}
if (yellow_pump_elec_fail and elec_pump_yellow_sw) {
setprop("/systems/pneumatic/elec-pump-y-fault", 1);
setprop("/systems/hydraulic/elec-pump-y-fault", 1);
} else {
setprop("/systems/pneumatic/elec-pump-y-fault", 0);
setprop("/systems/hydraulic/elec-pump-y-fault", 0);
}
}

View file

@ -1 +1 @@
2013
2014