diff --git a/Models/Instruments/Lower-ECAM/Lower-ECAM.nas b/Models/Instruments/Lower-ECAM/Lower-ECAM.nas index a89f9478..2b8f7d45 100644 --- a/Models/Instruments/Lower-ECAM/Lower-ECAM.nas +++ b/Models/Instruments/Lower-ECAM/Lower-ECAM.nas @@ -2268,7 +2268,7 @@ var canvas_lowerECAM_fuel = { # TODO use the valve prop and add amber if difference between eng master and valve # TODO add transition state # TODO fix amber/green at the same time when closed - if (systems.FUEL.Valves.lpValve1.getValue() == 0) { + if (systems.FUEL.Valves.lpValve1.getValue() == 1) { me["FUEL-ENG-Master-1"].setRotation(0); me["FUEL-ENG-Master-1"].setColor(0.0509,0.7529,0.2941); me["FUEL-ENG-1-pipe"].setColor(0.0509,0.7529,0.2941); @@ -2281,7 +2281,7 @@ var canvas_lowerECAM_fuel = { # TODO use the valve prop and add amber if difference between eng master and valve # TODO add transition state # TODO fix amber/green at the same time when closed - if (systems.FUEL.Valves.lpValve2.getValue() == 0) { + if (systems.FUEL.Valves.lpValve2.getValue() == 1) { me["FUEL-ENG-Master-2"].setRotation(0); me["FUEL-ENG-Master-2"].setColor(0.0509,0.7529,0.2941); me["FUEL-ENG-2-pipe"].setColor(0.0509,0.7529,0.2941); diff --git a/Systems/a320-fuel.xml b/Systems/a320-fuel.xml index 3c10ab6c..0dd7042d 100644 --- a/Systems/a320-fuel.xml +++ b/Systems/a320-fuel.xml @@ -427,7 +427,7 @@ - + @@ -470,7 +470,7 @@ - + @@ -521,21 +521,19 @@ /systems/fuel/internal/left-wing-outer-to-inner-tank - /systems/fuel/internal/center-tank-left -/systems/fuel/internal/left-wing-tank-eng-1 -/systems/fuel/internal/left-wing-tank-eng-2 propulsion/tank[1]/external-flow-rate-pps - -/systems/fuel/internal/center-tank-eng-1 - -/systems/fuel/internal/center-tank-eng-2 + -/systems/fuel/internal/center-tank-left + -/systems/fuel/internal/center-tank-right propulsion/tank[2]/external-flow-rate-pps /systems/fuel/internal/right-wing-outer-to-inner-tank - /systems/fuel/internal/center-tank-right -/systems/fuel/internal/right-wing-tank-eng-1 -/systems/fuel/internal/right-wing-tank-eng-2 propulsion/tank[3]/external-flow-rate-pps @@ -549,12 +547,14 @@ /systems/fuel/internal/left-wing-tank-eng-1 /systems/fuel/internal/right-wing-tank-eng-1 + /systems/fuel/internal/center-tank-eng-2 propulsion/tank[5]/external-flow-rate-pps /systems/fuel/internal/left-wing-tank-eng-2 /systems/fuel/internal/right-wing-tank-eng-2 + /systems/fuel/internal/center-tank-eng-2 propulsion/tank[6]/external-flow-rate-pps