From c228b7ed378c0c696314292e07298a43102bac28 Mon Sep 17 00:00:00 2001 From: Gijs de Rooy Date: Thu, 29 Dec 2011 13:05:52 +0100 Subject: [PATCH] Clement: Disable swap and frequency knobs when radio is switched off. --- Aircraft/Instruments-3d/VHF-22/ctl22-com1.xml | 64 +++++++++++++++++-- Aircraft/Instruments-3d/VHF-22/ctl22-com2.xml | 64 +++++++++++++++++-- 2 files changed, 118 insertions(+), 10 deletions(-) diff --git a/Aircraft/Instruments-3d/VHF-22/ctl22-com1.xml b/Aircraft/Instruments-3d/VHF-22/ctl22-com1.xml index 526531869..93be263e7 100644 --- a/Aircraft/Instruments-3d/VHF-22/ctl22-com1.xml +++ b/Aircraft/Instruments-3d/VHF-22/ctl22-com1.xml @@ -254,10 +254,16 @@ Syd Adams false - property-swap - instrumentation/comm/frequencies/selected-mhz - instrumentation/comm/frequencies/standby-mhz - + + + systems/electrical/outputs/comm + 1 + + + property-swap + instrumentation/comm/frequencies/selected-mhz + instrumentation/comm/frequencies/standby-mhz + @@ -346,6 +352,12 @@ Syd Adams true 0.2 + + + systems/electrical/outputs/comm + 1 + + property-adjust instrumentation/comm/frequencies/standby-mhz -0.025 @@ -364,6 +376,12 @@ Syd Adams true 0.2 + + + systems/electrical/outputs/comm + 1 + + property-adjust instrumentation/comm/frequencies/standby-mhz 0.025 @@ -382,6 +400,12 @@ Syd Adams true 0.2 + + + systems/electrical/outputs/comm + 1 + + property-adjust instrumentation/comm/frequencies/standby-mhz -0.025 @@ -400,6 +424,12 @@ Syd Adams true 0.2 + + + systems/electrical/outputs/comm + 1 + + property-adjust instrumentation/comm/frequencies/standby-mhz 0.025 @@ -418,6 +448,12 @@ Syd Adams true 0.2 + + + systems/electrical/outputs/comm + 1 + + property-adjust instrumentation/comm/frequencies/standby-mhz -1.0 @@ -436,6 +472,12 @@ Syd Adams true 0.2 + + + systems/electrical/outputs/comm + 1 + + property-adjust instrumentation/comm/frequencies/standby-mhz 1.0 @@ -454,6 +496,12 @@ Syd Adams true 0.2 + + + systems/electrical/outputs/comm + 1 + + property-adjust instrumentation/comm/frequencies/standby-mhz -1.0 @@ -472,6 +520,12 @@ Syd Adams true 0.2 + + + systems/electrical/outputs/comm + 1 + + property-adjust instrumentation/comm/frequencies/standby-mhz 1.0 @@ -482,4 +536,4 @@ Syd Adams - \ No newline at end of file + diff --git a/Aircraft/Instruments-3d/VHF-22/ctl22-com2.xml b/Aircraft/Instruments-3d/VHF-22/ctl22-com2.xml index efe3c57ce..0a109cbce 100644 --- a/Aircraft/Instruments-3d/VHF-22/ctl22-com2.xml +++ b/Aircraft/Instruments-3d/VHF-22/ctl22-com2.xml @@ -254,10 +254,16 @@ Syd Adams false - property-swap - instrumentation/comm[1]/frequencies/selected-mhz - instrumentation/comm[1]/frequencies/standby-mhz - + + + systems/electrical/outputs/comm[1] + 1 + + + property-swap + instrumentation/comm[1]/frequencies/selected-mhz + instrumentation/comm[1]/frequencies/standby-mhz + @@ -346,6 +352,12 @@ Syd Adams true 0.2 + + + systems/electrical/outputs/comm[1] + 1 + + property-adjust instrumentation/comm[1]/frequencies/standby-mhz -0.025 @@ -364,6 +376,12 @@ Syd Adams true 0.2 + + + systems/electrical/outputs/comm[1] + 1 + + property-adjust instrumentation/comm[1]/frequencies/standby-mhz 0.025 @@ -382,6 +400,12 @@ Syd Adams true 0.2 + + + systems/electrical/outputs/comm[1] + 1 + + property-adjust instrumentation/comm[1]/frequencies/standby-mhz -0.025 @@ -400,6 +424,12 @@ Syd Adams true 0.2 + + + systems/electrical/outputs/comm[1] + 1 + + property-adjust instrumentation/comm[1]/frequencies/standby-mhz 0.025 @@ -418,6 +448,12 @@ Syd Adams true 0.2 + + + systems/electrical/outputs/comm[1] + 1 + + property-adjust instrumentation/comm[1]/frequencies/standby-mhz -1.0 @@ -436,6 +472,12 @@ Syd Adams true 0.2 + + + systems/electrical/outputs/comm[1] + 1 + + property-adjust instrumentation/comm[1]/frequencies/standby-mhz 1.0 @@ -454,6 +496,12 @@ Syd Adams true 0.2 + + + systems/electrical/outputs/comm[1] + 1 + + property-adjust instrumentation/comm[1]/frequencies/standby-mhz -1.0 @@ -472,6 +520,12 @@ Syd Adams true 0.2 + + + systems/electrical/outputs/comm[1] + 1 + + property-adjust instrumentation/comm[1]/frequencies/standby-mhz 1.0 @@ -482,4 +536,4 @@ Syd Adams - \ No newline at end of file +