diff --git a/A320-main.xml b/A320-main.xml index 3c29efa8..216540e9 100644 --- a/A320-main.xml +++ b/A320-main.xml @@ -3957,7 +3957,6 @@ Aircraft/A320-family/Nasal/Systems/hydraulics.nas Aircraft/A320-family/Nasal/Systems/fuel.nas Aircraft/A320-family/Nasal/Systems/FADEC/engines-common.nas - Aircraft/A320-family/Nasal/Systems/ADIRS/ADIRS.nas Aircraft/A320-family/Nasal/Systems/ADIRS/ADR.nas Aircraft/A320-family/Nasal/Systems/ADIRS/SwitchingPanel.nas Aircraft/A320-family/Nasal/Systems/Comm/HF.nas diff --git a/AircraftConfig/acconfig.nas b/AircraftConfig/acconfig.nas index 1b517f53..47dd9d7a 100644 --- a/AircraftConfig/acconfig.nas +++ b/AircraftConfig/acconfig.nas @@ -384,15 +384,15 @@ var beforestart_b = func { setprop("/controls/adirs/ir[0]/knob","1"); setprop("/controls/adirs/ir[1]/knob","1"); setprop("/controls/adirs/ir[2]/knob","1"); - if (systems.ADIRSnew.Switches.adrSw[0].getValue() != 1) { systems.ADIRSControlPanel.adrSw(0); } - if (systems.ADIRSnew.Switches.adrSw[1].getValue() != 1) { systems.ADIRSControlPanel.adrSw(1); } - if (systems.ADIRSnew.Switches.adrSw[2].getValue() != 1) { systems.ADIRSControlPanel.adrSw(2); } + if (systems.ADIRS.Switches.adrSw[0].getValue() != 1) { systems.ADIRSControlPanel.adrSw(0); } + if (systems.ADIRS.Switches.adrSw[1].getValue() != 1) { systems.ADIRSControlPanel.adrSw(1); } + if (systems.ADIRS.Switches.adrSw[2].getValue() != 1) { systems.ADIRSControlPanel.adrSw(2); } systems.ADIRSControlPanel.irModeSw(0, 1); systems.ADIRSControlPanel.irModeSw(1, 1); systems.ADIRSControlPanel.irModeSw(2, 1); - systems.ADIRSnew.ADIRunits[0].instAlign(); - systems.ADIRSnew.ADIRunits[1].instAlign(); - systems.ADIRSnew.ADIRunits[2].instAlign(); + systems.ADIRS.ADIRunits[0].instAlign(); + systems.ADIRS.ADIRunits[1].instAlign(); + systems.ADIRS.ADIRunits[2].instAlign(); setprop("/controls/adirs/mcducbtn", 1); setprop("/controls/switches/beacon", 1); setprop("/controls/lighting/nav-lights-switch", 1); @@ -476,15 +476,15 @@ var taxi_b = func { setprop("/controls/adirs/ir[0]/knob","1"); setprop("/controls/adirs/ir[1]/knob","1"); setprop("/controls/adirs/ir[2]/knob","1"); - if (systems.ADIRSnew.Switches.adrSw[0].getValue() != 1) { systems.ADIRSControlPanel.adrSw(0); } - if (systems.ADIRSnew.Switches.adrSw[1].getValue() != 1) { systems.ADIRSControlPanel.adrSw(1); } - if (systems.ADIRSnew.Switches.adrSw[2].getValue() != 1) { systems.ADIRSControlPanel.adrSw(2); } + if (systems.ADIRS.Switches.adrSw[0].getValue() != 1) { systems.ADIRSControlPanel.adrSw(0); } + if (systems.ADIRS.Switches.adrSw[1].getValue() != 1) { systems.ADIRSControlPanel.adrSw(1); } + if (systems.ADIRS.Switches.adrSw[2].getValue() != 1) { systems.ADIRSControlPanel.adrSw(2); } systems.ADIRSControlPanel.irModeSw(0, 1); systems.ADIRSControlPanel.irModeSw(1, 1); systems.ADIRSControlPanel.irModeSw(2, 1); - systems.ADIRSnew.ADIRunits[0].instAlign(); - systems.ADIRSnew.ADIRunits[1].instAlign(); - systems.ADIRSnew.ADIRunits[2].instAlign(); + systems.ADIRS.ADIRunits[0].instAlign(); + systems.ADIRS.ADIRunits[1].instAlign(); + systems.ADIRS.ADIRunits[2].instAlign(); setprop("/controls/adirs/mcducbtn", 1); setprop("/controls/switches/beacon", 1); setprop("/controls/switches/wing-lights", 1); diff --git a/Models/Instruments/Lower-ECAM/Lower-ECAM.nas b/Models/Instruments/Lower-ECAM/Lower-ECAM.nas index 482e1af2..fbfd0352 100644 --- a/Models/Instruments/Lower-ECAM/Lower-ECAM.nas +++ b/Models/Instruments/Lower-ECAM/Lower-ECAM.nas @@ -669,7 +669,7 @@ var canvas_lowerECAM_apu = { me["APUGenHz"].setText(sprintf("%s", math.round(apu_hz.getValue()))); # APU Bleed - if (systems.ADIRSnew.Operating.adr[0].getValue() and (apu_master.getValue() == 1 or bleedapu.getValue() > 0)) { + if (systems.ADIRS.Operating.adr[0].getValue() and (apu_master.getValue() == 1 or bleedapu.getValue() > 0)) { me["APUBleedPSI"].setColor(0.0509,0.7529,0.2941); me["APUBleedPSI"].setText(sprintf("%s", math.round(bleedapu.getValue()))); } else { diff --git a/Models/Instruments/MCDU/MCDU.nas b/Models/Instruments/MCDU/MCDU.nas index 42751d8d..23131dc2 100644 --- a/Models/Instruments/MCDU/MCDU.nas +++ b/Models/Instruments/MCDU/MCDU.nas @@ -1383,19 +1383,19 @@ var canvas_MCDU_base = { me.showRightArrow(0, 0, 0, 0, 0, 1); } - if (getprop("/systems/navigation/adr/operating-1") and systems.ADIRSnew.ADIRunits[0].inAlign == 0) { + if (getprop("/systems/navigation/adr/operating-1") and systems.ADIRS.ADIRunits[0].inAlign == 0) { me["Simple_C3S"].setText("IRS1 ALIGNED ON GPS"); } else { me["Simple_C3S"].setText("IRS1 ALIGNING ON GPS"); } - if (getprop("/systems/navigation/adr/operating-2") and systems.ADIRSnew.ADIRunits[1].inAlign == 0) { + if (getprop("/systems/navigation/adr/operating-2") and systems.ADIRS.ADIRunits[1].inAlign == 0) { me["Simple_C4S"].setText("IRS2 ALIGNED ON GPS"); } else { me["Simple_C4S"].setText("IRS2 ALIGNING ON GPS"); } - if (getprop("/systems/navigation/adr/operating-3") and systems.ADIRSnew.ADIRunits[2].inAlign == 0) { + if (getprop("/systems/navigation/adr/operating-3") and systems.ADIRS.ADIRunits[2].inAlign == 0) { me["Simple_C5S"].setText("IRS3 ALIGNED ON GPS"); } else { me["Simple_C5S"].setText("IRS3 ALIGNING ON GPS"); diff --git a/Models/Instruments/OHpanel/OHpanel.xml b/Models/Instruments/OHpanel/OHpanel.xml index 9dda3ed8..372f5660 100644 --- a/Models/Instruments/OHpanel/OHpanel.xml +++ b/Models/Instruments/OHpanel/OHpanel.xml @@ -538,8 +538,8 @@ nasal