From 3d7e16d19fc4179901fce8e1caac8c009d51d9f0 Mon Sep 17 00:00:00 2001 From: Joshua Davidson Date: Sun, 1 Oct 2017 11:39:17 -0400 Subject: [PATCH] A32X: Fix some hydraulic properties in pneumatic --- Models/Instruments/OHpanel/OHpanel.xml | 10 +++++----- Nasal/hydraulics.nas | 20 ++++++++++---------- revision.txt | 2 +- 3 files changed, 16 insertions(+), 16 deletions(-) diff --git a/Models/Instruments/OHpanel/OHpanel.xml b/Models/Instruments/OHpanel/OHpanel.xml index ecfd2693..8043257f 100644 --- a/Models/Instruments/OHpanel/OHpanel.xml +++ b/Models/Instruments/OHpanel/OHpanel.xml @@ -1894,7 +1894,7 @@ - systems/pneumatic/eng1-pump-fault + systems/hydraulic/eng1-pump-fault 1 @@ -2056,7 +2056,7 @@ - systems/pneumatic/elec-pump-b-fault + systems/hydraulic/elec-pump-b-fault 1 @@ -2129,7 +2129,7 @@ - systems/pneumatic/ptu-fault + systems/hydraulic/ptu-fault 1 @@ -2202,7 +2202,7 @@ - systems/pneumatic/eng2-pump-fault + systems/hydraulic/eng2-pump-fault 1 @@ -2275,7 +2275,7 @@ - systems/pneumatic/elec-pump-y-fault + systems/hydraulic/elec-pump-y-fault 1 diff --git a/Nasal/hydraulics.nas b/Nasal/hydraulics.nas index bde69342..202b8ecd 100644 --- a/Nasal/hydraulics.nas +++ b/Nasal/hydraulics.nas @@ -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); } } diff --git a/revision.txt b/revision.txt index 32ffb3b9..bc7f6228 100644 --- a/revision.txt +++ b/revision.txt @@ -1 +1 @@ -2013 \ No newline at end of file +2014 \ No newline at end of file