diff --git a/Models/FlightDeck/a320.flightdeck.xml b/Models/FlightDeck/a320.flightdeck.xml index ee8afed1..cc1b763a 100644 --- a/Models/FlightDeck/a320.flightdeck.xml +++ b/Models/FlightDeck/a320.flightdeck.xml @@ -215,18 +215,30 @@ <object-name>qnh-inhg-right</object-name> <object-name>qnh-std</object-name> <object-name>qnh-test</object-name> - <object-name>radio_adf_led</object-name> - <object-name>radio_am_led</object-name> - <object-name>radio_bfo_led</object-name> - <object-name>radio_hf1_led</object-name> - <object-name>radio_hf2_led</object-name> - <object-name>radio_ls_led</object-name> - <object-name>radio_nav_led</object-name> - <object-name>radio_opt_led</object-name> - <object-name>radio_vhf1_led</object-name> - <object-name>radio_vhf2_led</object-name> - <object-name>radio_vhf3_led</object-name> - <object-name>radio_vor_led</object-name> + <object-name>radio_adf_led.cpt</object-name> + <object-name>radio_am_led.cpt</object-name> + <object-name>radio_bfo_led.cpt</object-name> + <object-name>radio_hf1_led.cpt</object-name> + <object-name>radio_hf2_led.cpt</object-name> + <object-name>radio_ls_led.cpt</object-name> + <object-name>radio_nav_led.cpt</object-name> + <object-name>radio_opt_led.cpt</object-name> + <object-name>radio_vhf1_led.cpt</object-name> + <object-name>radio_vhf2_led.cpt</object-name> + <object-name>radio_vhf3_led.cpt</object-name> + <object-name>radio_vor_led.cpt</object-name> + <object-name>radio_adf_led.fo</object-name> + <object-name>radio_am_led.fo</object-name> + <object-name>radio_bfo_led.fo</object-name> + <object-name>radio_hf1_led.fo</object-name> + <object-name>radio_hf2_led.fo</object-name> + <object-name>radio_ls_led.fo</object-name> + <object-name>radio_nav_led.fo</object-name> + <object-name>radio_opt_led.fo</object-name> + <object-name>radio_vhf1_led.fo</object-name> + <object-name>radio_vhf2_led.fo</object-name> + <object-name>radio_vhf3_led.fo</object-name> + <object-name>radio_vor_led.fo</object-name> <object-name>spd-text</object-name> <object-name>spd-text-test</object-name> <object-name>vord_led</object-name> @@ -421,7 +433,8 @@ <object-name>prio_capt.arrow.001</object-name> <object-name>prio_capt.capt</object-name> <object-name>prio_capt.capt.001</object-name> - <object-name>radio_sel_led</object-name> + <object-name>radio_sel_led.cpt</object-name> + <object-name>radio_sel_led.fo</object-name> <object-name>terr_on_nd_on_l</object-name> <object-name>terr_on_nd_on_r</object-name> @@ -599,7 +612,8 @@ <object-name>engine_fault_1</object-name> <object-name>engine_fault_2</object-name> <object-name>exped_led</object-name> - <object-name>radio_opt_led</object-name> + <object-name>radio_opt_led.cpt</object-name> + <object-name>radio_opt_led.fo</object-name> <!-- Overhead Panel --> @@ -1769,11 +1783,11 @@ <format type="string">%s</format> <property>controls/radio/rmp[0]/active-display</property> <truncate type="bool">false</truncate> - <font type="string">Airbus7Seg.ttf</font> + <font type="string">AirbusRMP.ttf</font> <draw-text type="bool">true</draw-text> <draw-alignment type="bool">false</draw-alignment> <draw-boundingbox type="bool">false</draw-boundingbox> - <character-size>0.008</character-size> + <character-size>0.012</character-size> <font-resolution> <width type="int">32</width> <height type="int">32</height> @@ -1795,11 +1809,11 @@ <format type="string">888.888</format> <property>autopilot/serviceable</property> <truncate type="bool">false</truncate> - <font type="string">Airbus7Seg.ttf</font> + <font type="string">AirbusRMP.ttf</font> <draw-text type="bool">true</draw-text> <draw-alignment type="bool">false</draw-alignment> <draw-boundingbox type="bool">false</draw-boundingbox> - <character-size>0.008</character-size> + <character-size>0.012</character-size> <font-resolution> <width type="int">32</width> <height type="int">32</height> @@ -1821,11 +1835,11 @@ <format type="string">%s</format> <property>controls/radio/rmp[0]/standby-display</property> <truncate type="bool">false</truncate> - <font type="string">Airbus7Seg.ttf</font> + <font type="string">AirbusRMP.ttf</font> <draw-text type="bool">true</draw-text> <draw-alignment type="bool">false</draw-alignment> <draw-boundingbox type="bool">false</draw-boundingbox> - <character-size>0.008</character-size> + <character-size>0.012</character-size> <font-resolution> <width type="int">32</width> <height type="int">32</height> @@ -1847,11 +1861,11 @@ <format type="string">888.888</format> <property>autopilot/serviceable</property> <truncate type="bool">false</truncate> - <font type="string">Airbus7Seg.ttf</font> + <font type="string">AirbusRMP.ttf</font> <draw-text type="bool">true</draw-text> <draw-alignment type="bool">false</draw-alignment> <draw-boundingbox type="bool">false</draw-boundingbox> - <character-size>0.008</character-size> + <character-size>0.012</character-size> <font-resolution> <width type="int">32</width> <height type="int">32</height> @@ -1873,11 +1887,11 @@ <format type="string">%s</format> <property>controls/radio/rmp[1]/active-display</property> <truncate type="bool">false</truncate> - <font type="string">Airbus7Seg.ttf</font> + <font type="string">AirbusRMP.ttf</font> <draw-text type="bool">true</draw-text> <draw-alignment type="bool">false</draw-alignment> <draw-boundingbox type="bool">false</draw-boundingbox> - <character-size>0.008</character-size> + <character-size>0.012</character-size> <font-resolution> <width type="int">32</width> <height type="int">32</height> @@ -1899,11 +1913,11 @@ <format type="string">888.888</format> <property>autopilot/serviceable</property> <truncate type="bool">false</truncate> - <font type="string">Airbus7Seg.ttf</font> + <font type="string">AirbusRMP.ttf</font> <draw-text type="bool">true</draw-text> <draw-alignment type="bool">false</draw-alignment> <draw-boundingbox type="bool">false</draw-boundingbox> - <character-size>0.008</character-size> + <character-size>0.012</character-size> <font-resolution> <width type="int">32</width> <height type="int">32</height> @@ -1925,11 +1939,11 @@ <format type="string">%s</format> <property>controls/radio/rmp[1]/standby-display</property> <truncate type="bool">false</truncate> - <font type="string">Airbus7Seg.ttf</font> + <font type="string">AirbusRMP.ttf</font> <draw-text type="bool">true</draw-text> <draw-alignment type="bool">false</draw-alignment> <draw-boundingbox type="bool">false</draw-boundingbox> - <character-size>0.008</character-size> + <character-size>0.012</character-size> <font-resolution> <width type="int">32</width> <height type="int">32</height> @@ -1951,11 +1965,11 @@ <format type="string">888.888</format> <property>autopilot/serviceable</property> <truncate type="bool">false</truncate> - <font type="string">Airbus7Seg.ttf</font> + <font type="string">AirbusRMP.ttf</font> <draw-text type="bool">true</draw-text> <draw-alignment type="bool">false</draw-alignment> <draw-boundingbox type="bool">false</draw-boundingbox> - <character-size>0.008</character-size> + <character-size>0.012</character-size> <font-resolution> <width type="int">32</width> <height type="int">32</height> @@ -11749,6 +11763,3740 @@ </hovered> </animation> + <!-- RMP 1 --> + + <!-- Knob --> + <!-- We use a little hack to get 8.33MHz spacing working: + First we assign our current STBY freq we want to adjust to the default instrument. + Then we change the channel there. + Finally we assign the value back to out own prop. + --> + <animation> + <type>rotate</type> + <object-name>radio_rot1.cpt</object-name> + <property>/controls/cockpit/rmp1knob1-rotate</property> + <factor>-11.25</factor> + <axis> + <object-name>radio_rot.axis.cpt</object-name> + </axis> + </animation> + + <animation> + <type>rotate</type> + <object-name>radio_rot0.cpt</object-name> + <property>/controls/cockpit/rmp1knob0-rotate</property> + <factor>-11.25</factor> + <axis> + <object-name>radio_rot.axis.cpt</object-name> + </axis> + </animation> + + <animation> + <type>pick</type> + <object-name>radio_rot1.cpt</object-name> + <action> + <button>0</button> + <button>3</button> + <repeatable>true</repeatable> + + <binding> + <command>property-adjust</command> + <property>/controls/cockpit/rmp1knob1-rotate</property> + <step>1</step> + <min>0</min> + <max>200000</max> + <wrap>true</wrap> + </binding> + + <binding> + <condition> + <and> + <greater-than-equals> + <property>systems/electrical/bus/dc-ess</property> + <value>25</value> + </greater-than-equals> + <property>controls/radio/rmp[0]/on</property> + <equals> + <property>systems/radio/rmp[0]/sel_chan</property> + <value type="string">vhf1</value> + </equals> + </and> + </condition> + <command>property-assign</command> + <property>instrumentation/comm[0]/frequencies/standby-mhz</property> + <property>systems/radio/rmp[0]/vhf1-standby</property> + </binding> + <binding> + <condition> + <and> + <greater-than-equals> + <property>systems/electrical/bus/dc-ess</property> + <value>25</value> + </greater-than-equals> + <property>controls/radio/rmp[0]/on</property> + <equals> + <property>systems/radio/rmp[0]/sel_chan</property> + <value type="string">vhf1</value> + </equals> + </and> + </condition> + <command>property-adjust</command> + <property>instrumentation/comm[0]/frequencies/standby-channel</property> + <step>1</step> + </binding> + <binding> + <condition> + <and> + <greater-than-equals> + <property>systems/electrical/bus/dc-ess</property> + <value>25</value> + </greater-than-equals> + <property>controls/radio/rmp[0]/on</property> + <equals> + <property>systems/radio/rmp[0]/sel_chan</property> + <value type="string">vhf1</value> + </equals> + </and> + </condition> + <command>property-assign</command> + <property>systems/radio/rmp[0]/vhf1-standby</property> + <property>instrumentation/comm[0]/frequencies/standby-mhz</property> + </binding> + + <binding> + <condition> + <and> + <greater-than-equals> + <property>systems/electrical/bus/dc-ess</property> + <value>25</value> + </greater-than-equals> + <property>controls/radio/rmp[0]/on</property> + <equals> + <property>systems/radio/rmp[0]/sel_chan</property> + <value type="string">vhf2</value> + </equals> + </and> + </condition> + <command>property-assign</command> + <property>instrumentation/comm[0]/frequencies/standby-mhz</property> + <property>systems/radio/rmp[0]/vhf2-standby</property> + </binding> + <binding> + <condition> + <and> + <greater-than-equals> + <property>systems/electrical/bus/dc-ess</property> + <value>25</value> + </greater-than-equals> + <property>controls/radio/rmp[0]/on</property> + <equals> + <property>systems/radio/rmp[0]/sel_chan</property> + <value type="string">vhf2</value> + </equals> + </and> + </condition> + <command>property-adjust</command> + <property>instrumentation/comm[0]/frequencies/standby-channel</property> + <step>1</step> + </binding> + <binding> + <condition> + <and> + <greater-than-equals> + <property>systems/electrical/bus/dc-ess</property> + <value>25</value> + </greater-than-equals> + <property>controls/radio/rmp[0]/on</property> + <equals> + <property>systems/radio/rmp[0]/sel_chan</property> + <value type="string">vhf2</value> + </equals> + </and> + </condition> + <command>property-assign</command> + <property>systems/radio/rmp[0]/vhf2-standby</property> + <property>instrumentation/comm[0]/frequencies/standby-mhz</property> + </binding> + + <binding> + <condition> + <and> + <greater-than-equals> + <property>systems/electrical/bus/dc-ess</property> + <value>25</value> + </greater-than-equals> + <property>controls/radio/rmp[0]/on</property> + <equals> + <property>systems/radio/rmp[0]/sel_chan</property> + <value type="string">vhf3</value> + </equals> + <not> + <equals> + <property>systems/radio/rmp[0]/vhf3-standby</property> + <value>0</value> + </equals> + </not> + </and> + </condition> + <command>property-assign</command> + <property>instrumentation/comm[0]/frequencies/standby-mhz</property> + <property>systems/radio/rmp[0]/vhf3-standby</property> + </binding> + <binding> + <condition> + <and> + <greater-than-equals> + <property>systems/electrical/bus/dc-ess</property> + <value>25</value> + </greater-than-equals> + <property>controls/radio/rmp[0]/on</property> + <equals> + <property>systems/radio/rmp[0]/sel_chan</property> + <value type="string">vhf3</value> + </equals> + <not> + <equals> + <property>systems/radio/rmp[0]/vhf3-standby</property> + <value>0</value> + </equals> + </not> + </and> + </condition> + <command>property-adjust</command> + <property>instrumentation/comm[0]/frequencies/standby-channel</property> + <step>1</step> + </binding> + <binding> + <condition> + <and> + <greater-than-equals> + <property>systems/electrical/bus/dc-ess</property> + <value>25</value> + </greater-than-equals> + <property>controls/radio/rmp[0]/on</property> + <equals> + <property>systems/radio/rmp[0]/sel_chan</property> + <value type="string">vhf3</value> + </equals> + <not> + <equals> + <property>systems/radio/rmp[0]/vhf3-standby</property> + <value>0</value> + </equals> + </not> + </and> + </condition> + <command>property-assign</command> + <property>systems/radio/rmp[0]/vhf3-standby</property> + <property>instrumentation/comm[0]/frequencies/standby-mhz</property> + </binding> + + <binding> + <condition> + <and> + <greater-than-equals> + <property>systems/electrical/bus/dc-ess</property> + <value>25</value> + </greater-than-equals> + <property>controls/radio/rmp[0]/on</property> + <equals> + <property>systems/radio/rmp[0]/sel_chan</property> + <value type="string">hf1</value> + </equals> + </and> + </condition> + <command>property-adjust</command> + <property>systems/radio/rmp[0]/hf1-standby</property> + <step>1</step> + <min>2000</min> + <max>29999</max> + <wrap>true</wrap> + </binding> + + <binding> + <condition> + <and> + <greater-than-equals> + <property>systems/electrical/bus/dc-ess</property> + <value>25</value> + </greater-than-equals> + <property>controls/radio/rmp[0]/on</property> + <equals> + <property>systems/radio/rmp[0]/sel_chan</property> + <value type="string">hf2</value> + </equals> + </and> + </condition> + <command>property-adjust</command> + <property>systems/radio/rmp[0]/hf2-standby</property> + <step>1</step> + <min>2000</min> + <max>29999</max> + <wrap>true</wrap> + </binding> + + <binding> + <condition> + <and> + <greater-than-equals> + <property>systems/electrical/bus/dc-ess</property> + <value>25</value> + </greater-than-equals> + <property>controls/radio/rmp[0]/on</property> + <equals> + <property>systems/radio/rmp[0]/sel_chan</property> + <value type="string">ls</value> + </equals> + <equals> + <property>systems/radio/rmp[0]/select-crs</property> + <value>0</value> + </equals> + </and> + </condition> + <command>property-adjust</command> + <property>instrumentation/nav[0]/frequencies/standby-mhz</property> + <step>0.05</step> + <min>108.00</min> + <max>112.00</max> + <wrap>true</wrap> + </binding> + <binding> + <condition> + <and> + <greater-than-equals> + <property>systems/electrical/bus/dc-ess</property> + <value>25</value> + </greater-than-equals> + <property>controls/radio/rmp[0]/on</property> + <equals> + <property>systems/radio/rmp[0]/sel_chan</property> + <value type="string">ls</value> + </equals> + <equals> + <property>systems/radio/rmp[0]/select-crs</property> + <value>1</value> + </equals> + </and> + </condition> + <command>property-adjust</command> + <property>instrumentation/nav[0]/radials/selected-deg</property> + <step>1</step> + <min>1</min> + <max>361</max> + <wrap>true</wrap> + </binding> + + <binding> + <condition> + <and> + <greater-than-equals> + <property>systems/electrical/bus/dc-ess</property> + <value>25</value> + </greater-than-equals> + <property>controls/radio/rmp[0]/on</property> + <equals> + <property>systems/radio/rmp[0]/sel_chan</property> + <value type="string">vor</value> + </equals> + <equals> + <property>systems/radio/rmp[0]/select-crs</property> + <value>0</value> + </equals> + </and> + </condition> + <command>property-adjust</command> + <property>instrumentation/nav[2]/frequencies/standby-mhz</property> + <step>0.05</step> + <min>108.00</min> + <max>118.00</max> + <wrap>true</wrap> + </binding> + <binding> + <condition> + <and> + <greater-than-equals> + <property>systems/electrical/bus/dc-ess</property> + <value>25</value> + </greater-than-equals> + <property>controls/radio/rmp[0]/on</property> + <equals> + <property>systems/radio/rmp[0]/sel_chan</property> + <value type="string">vor</value> + </equals> + <equals> + <property>systems/radio/rmp[0]/select-crs</property> + <value>1</value> + </equals> + </and> + </condition> + <command>property-adjust</command> + <property>instrumentation/nav[2]/radials/selected-deg</property> + <step>1</step> + <min>1</min> + <max>361</max> + <wrap>true</wrap> + </binding> + + <binding> + <condition> + <and> + <greater-than-equals> + <property>systems/electrical/bus/dc-ess</property> + <value>25</value> + </greater-than-equals> + <property>controls/radio/rmp[0]/on</property> + <equals> + <property>systems/radio/rmp[0]/sel_chan</property> + <value type="string">adf</value> + </equals> + </and> + </condition> + <command>property-adjust</command> + <property>instrumentation/adf[0]/frequencies/standby-khz</property> + <step>1</step> + <min>190</min> + <max>1751</max> + <wrap>true</wrap> + </binding> + </action> + <action> + <button>1</button> + <button>4</button> + <repeatable>true</repeatable> + + <binding> + <command>property-adjust</command> + <property>/controls/cockpit/rmp1knob1-rotate</property> + <step>-1</step> + <min>0</min> + <max>200000</max> + <wrap>true</wrap> + </binding> + + <binding> + <condition> + <and> + <greater-than-equals> + <property>systems/electrical/bus/dc-ess</property> + <value>25</value> + </greater-than-equals> + <property>controls/radio/rmp[0]/on</property> + <equals> + <property>systems/radio/rmp[0]/sel_chan</property> + <value type="string">vhf1</value> + </equals> + </and> + </condition> + <command>property-assign</command> + <property>instrumentation/comm[0]/frequencies/standby-mhz</property> + <property>systems/radio/rmp[0]/vhf1-standby</property> + </binding> + <binding> + <condition> + <and> + <greater-than-equals> + <property>systems/electrical/bus/dc-ess</property> + <value>25</value> + </greater-than-equals> + <property>controls/radio/rmp[0]/on</property> + <equals> + <property>systems/radio/rmp[0]/sel_chan</property> + <value type="string">vhf1</value> + </equals> + </and> + </condition> + <command>property-adjust</command> + <property>instrumentation/comm[0]/frequencies/standby-channel</property> + <step>-1</step> + </binding> + <binding> + <condition> + <and> + <greater-than-equals> + <property>systems/electrical/bus/dc-ess</property> + <value>25</value> + </greater-than-equals> + <property>controls/radio/rmp[0]/on</property> + <equals> + <property>systems/radio/rmp[0]/sel_chan</property> + <value type="string">vhf1</value> + </equals> + </and> + </condition> + <command>property-assign</command> + <property>systems/radio/rmp[0]/vhf1-standby</property> + <property>instrumentation/comm[0]/frequencies/standby-mhz</property> + </binding> + + <binding> + <condition> + <and> + <greater-than-equals> + <property>systems/electrical/bus/dc-ess</property> + <value>25</value> + </greater-than-equals> + <property>controls/radio/rmp[0]/on</property> + <equals> + <property>systems/radio/rmp[0]/sel_chan</property> + <value type="string">vhf2</value> + </equals> + </and> + </condition> + <command>property-assign</command> + <property>instrumentation/comm[0]/frequencies/standby-mhz</property> + <property>systems/radio/rmp[0]/vhf2-standby</property> + </binding> + <binding> + <condition> + <and> + <greater-than-equals> + <property>systems/electrical/bus/dc-ess</property> + <value>25</value> + </greater-than-equals> + <property>controls/radio/rmp[0]/on</property> + <equals> + <property>systems/radio/rmp[0]/sel_chan</property> + <value type="string">vhf2</value> + </equals> + </and> + </condition> + <command>property-adjust</command> + <property>instrumentation/comm[0]/frequencies/standby-channel</property> + <step>-1</step> + </binding> + <binding> + <condition> + <and> + <greater-than-equals> + <property>systems/electrical/bus/dc-ess</property> + <value>25</value> + </greater-than-equals> + <property>controls/radio/rmp[0]/on</property> + <equals> + <property>systems/radio/rmp[0]/sel_chan</property> + <value type="string">vhf2</value> + </equals> + </and> + </condition> + <command>property-assign</command> + <property>systems/radio/rmp[0]/vhf2-standby</property> + <property>instrumentation/comm[0]/frequencies/standby-mhz</property> + </binding> + + <binding> + <condition> + <and> + <greater-than-equals> + <property>systems/electrical/bus/dc-ess</property> + <value>25</value> + </greater-than-equals> + <property>controls/radio/rmp[0]/on</property> + <equals> + <property>systems/radio/rmp[0]/sel_chan</property> + <value type="string">vhf3</value> + </equals> + <not> + <equals> + <property>systems/radio/rmp[0]/vhf3-standby</property> + <value>0</value> + </equals> + </not> + </and> + </condition> + <command>property-assign</command> + <property>instrumentation/comm[0]/frequencies/standby-mhz</property> + <property>systems/radio/rmp[0]/vhf3-standby</property> + </binding> + <binding> + <condition> + <and> + <greater-than-equals> + <property>systems/electrical/bus/dc-ess</property> + <value>25</value> + </greater-than-equals> + <property>controls/radio/rmp[0]/on</property> + <equals> + <property>systems/radio/rmp[0]/sel_chan</property> + <value type="string">vhf3</value> + </equals> + <not> + <equals> + <property>systems/radio/rmp[0]/vhf3-standby</property> + <value>0</value> + </equals> + </not> + </and> + </condition> + <command>property-adjust</command> + <property>instrumentation/comm[0]/frequencies/standby-channel</property> + <step>-1</step> + </binding> + <binding> + <condition> + <and> + <greater-than-equals> + <property>systems/electrical/bus/dc-ess</property> + <value>25</value> + </greater-than-equals> + <property>controls/radio/rmp[0]/on</property> + <equals> + <property>systems/radio/rmp[0]/sel_chan</property> + <value type="string">vhf3</value> + </equals> + <not> + <equals> + <property>systems/radio/rmp[0]/vhf3-standby</property> + <value>0</value> + </equals> + </not> + </and> + </condition> + <command>property-assign</command> + <property>systems/radio/rmp[0]/vhf3-standby</property> + <property>instrumentation/comm[0]/frequencies/standby-mhz</property> + </binding> + + <binding> + <condition> + <and> + <greater-than-equals> + <property>systems/electrical/bus/dc-ess</property> + <value>25</value> + </greater-than-equals> + <property>controls/radio/rmp[0]/on</property> + <equals> + <property>systems/radio/rmp[0]/sel_chan</property> + <value type="string">hf1</value> + </equals> + </and> + </condition> + <command>property-adjust</command> + <property>systems/radio/rmp[0]/hf1-standby</property> + <step>-1</step> + <min>2000</min> + <max>29999</max> + <wrap>true</wrap> + </binding> + + <binding> + <condition> + <and> + <greater-than-equals> + <property>systems/electrical/bus/dc-ess</property> + <value>25</value> + </greater-than-equals> + <property>controls/radio/rmp[0]/on</property> + <equals> + <property>systems/radio/rmp[0]/sel_chan</property> + <value type="string">hf2</value> + </equals> + </and> + </condition> + <command>property-adjust</command> + <property>systems/radio/rmp[0]/hf2-standby</property> + <step>-1</step> + <min>2000</min> + <max>29999</max> + <wrap>true</wrap> + </binding> + + <binding> + <condition> + <and> + <greater-than-equals> + <property>systems/electrical/bus/dc-ess</property> + <value>25</value> + </greater-than-equals> + <property>controls/radio/rmp[0]/on</property> + <equals> + <property>systems/radio/rmp[0]/sel_chan</property> + <value type="string">ls</value> + </equals> + <equals> + <property>systems/radio/rmp[0]/select-crs</property> + <value>0</value> + </equals> + </and> + </condition> + <command>property-adjust</command> + <property>instrumentation/nav[0]/frequencies/standby-mhz</property> + <step>-0.05</step> + <min>108.00</min> + <max>112.00</max> + <wrap>true</wrap> + </binding> + <binding> + <condition> + <and> + <greater-than-equals> + <property>systems/electrical/bus/dc-ess</property> + <value>25</value> + </greater-than-equals> + <property>controls/radio/rmp[0]/on</property> + <equals> + <property>systems/radio/rmp[0]/sel_chan</property> + <value type="string">ls</value> + </equals> + <equals> + <property>systems/radio/rmp[0]/select-crs</property> + <value>1</value> + </equals> + </and> + </condition> + <command>property-adjust</command> + <property>instrumentation/nav[0]/radials/selected-deg</property> + <step>-1</step> + <min>1</min> + <max>361</max> + <wrap>true</wrap> + </binding> + + <binding> + <condition> + <and> + <greater-than-equals> + <property>systems/electrical/bus/dc-ess</property> + <value>25</value> + </greater-than-equals> + <property>controls/radio/rmp[0]/on</property> + <equals> + <property>systems/radio/rmp[0]/sel_chan</property> + <value type="string">vor</value> + </equals> + <equals> + <property>systems/radio/rmp[0]/select-crs</property> + <value>0</value> + </equals> + </and> + </condition> + <command>property-adjust</command> + <property>instrumentation/nav[2]/frequencies/standby-mhz</property> + <step>-0.05</step> + <min>108.00</min> + <max>118.00</max> + <wrap>true</wrap> + </binding> + <binding> + <condition> + <and> + <greater-than-equals> + <property>systems/electrical/bus/dc-ess</property> + <value>25</value> + </greater-than-equals> + <property>controls/radio/rmp[0]/on</property> + <equals> + <property>systems/radio/rmp[0]/sel_chan</property> + <value type="string">vor</value> + </equals> + <equals> + <property>systems/radio/rmp[0]/select-crs</property> + <value>1</value> + </equals> + </and> + </condition> + <command>property-adjust</command> + <property>instrumentation/nav[2]/radials/selected-deg</property> + <step>-1</step> + <min>1</min> + <max>361</max> + <wrap>true</wrap> + </binding> + + <binding> + <condition> + <and> + <greater-than-equals> + <property>systems/electrical/bus/dc-ess</property> + <value>25</value> + </greater-than-equals> + <property>controls/radio/rmp[0]/on</property> + <equals> + <property>systems/radio/rmp[0]/sel_chan</property> + <value type="string">adf</value> + </equals> + </and> + </condition> + <command>property-adjust</command> + <property>instrumentation/adf[0]/frequencies/standby-khz</property> + <step>-1</step> + <min>190</min> + <max>1751</max> + <wrap>true</wrap> + </binding> + </action> + <hovered> + <binding> + <command>set-tooltip</command> + <tooltip-id>rmp1freqkhz-lbl</tooltip-id> + <label>Adjust frequency (8.33 KHz channel)</label> + </binding> + </hovered> + </animation> + + <animation> + <type>pick</type> + <object-name>radio_rot0.cpt</object-name> + <action> + <button>0</button> + <button>3</button> + <repeatable>true</repeatable> + + <binding> + <command>property-adjust</command> + <property>/controls/cockpit/rmp1knob0-rotate</property> + <step>1</step> + <min>0</min> + <max>200000</max> + <wrap>true</wrap> + </binding> + + <binding> + <condition> + <and> + <greater-than-equals> + <property>systems/electrical/bus/dc-ess</property> + <value>25</value> + </greater-than-equals> + <property>controls/radio/rmp[0]/on</property> + <equals> + <property>systems/radio/rmp[0]/sel_chan</property> + <value type="string">vhf1</value> + </equals> + </and> + </condition> + <command>property-adjust</command> + <property>systems/radio/rmp[0]/vhf1-standby</property> + <step>1</step> + <min>118.0</min> + <max>137.0</max> + <wrap>true</wrap> + <mask>integer</mask> + </binding> + + <binding> + <condition> + <and> + <greater-than-equals> + <property>systems/electrical/bus/dc-ess</property> + <value>25</value> + </greater-than-equals> + <property>controls/radio/rmp[0]/on</property> + <equals> + <property>systems/radio/rmp[0]/sel_chan</property> + <value type="string">vhf2</value> + </equals> + </and> + </condition> + <command>property-adjust</command> + <property>systems/radio/rmp[0]/vhf2-standby</property> + <step>1</step> + <min>118.0</min> + <max>137.0</max> + <wrap>true</wrap> + <mask>integer</mask> + </binding> + + <binding> + <condition> + <and> + <greater-than-equals> + <property>systems/electrical/bus/dc-ess</property> + <value>25</value> + </greater-than-equals> + <property>controls/radio/rmp[0]/on</property> + <equals> + <property>systems/radio/rmp[0]/sel_chan</property> + <value type="string">vhf3</value> + </equals> + <not> + <equals> + <property>systems/radio/rmp[0]/vhf3-standby</property> + <value>0</value> + </equals> + </not> + </and> + </condition> + <command>property-adjust</command> + <property>systems/radio/rmp[0]/vhf3-standby</property> + <step>1</step> + <min>118.0</min> + <max>137.0</max> + <wrap>true</wrap> + <mask>integer</mask> + </binding> + + <binding> + <condition> + <and> + <greater-than-equals> + <property>systems/electrical/bus/dc-ess</property> + <value>25</value> + </greater-than-equals> + <property>controls/radio/rmp[0]/on</property> + <equals> + <property>systems/radio/rmp[0]/sel_chan</property> + <value type="string">hf1</value> + </equals> + </and> + </condition> + <command>property-adjust</command> + <property>systems/radio/rmp[0]/hf1-standby</property> + <step>100</step> + <min>2000</min> + <max>29999</max> + <wrap>true</wrap> + <mask>integer</mask> + </binding> + + <binding> + <condition> + <and> + <greater-than-equals> + <property>systems/electrical/bus/dc-ess</property> + <value>25</value> + </greater-than-equals> + <property>controls/radio/rmp[0]/on</property> + <equals> + <property>systems/radio/rmp[0]/sel_chan</property> + <value type="string">hf2</value> + </equals> + </and> + </condition> + <command>property-adjust</command> + <property>systems/radio/rmp[0]/hf2-standby</property> + <step>100</step> + <min>2000</min> + <max>29999</max> + <wrap>true</wrap> + <mask>integer</mask> + </binding> + + <binding> + <condition> + <and> + <greater-than-equals> + <property>systems/electrical/bus/dc-ess</property> + <value>25</value> + </greater-than-equals> + <property>controls/radio/rmp[0]/on</property> + <equals> + <property>systems/radio/rmp[0]/sel_chan</property> + <value type="string">ls</value> + </equals> + <equals> + <property>systems/radio/rmp[0]/select-crs</property> + <value>0</value> + </equals> + </and> + </condition> + <command>property-adjust</command> + <property>instrumentation/nav[0]/frequencies/standby-mhz</property> + <step>1.00</step> + <min>108.00</min> + <max>112.00</max> + <wrap>true</wrap> + </binding> + + <binding> + <condition> + <and> + <greater-than-equals> + <property>systems/electrical/bus/dc-ess</property> + <value>25</value> + </greater-than-equals> + <property>controls/radio/rmp[0]/on</property> + <equals> + <property>systems/radio/rmp[0]/sel_chan</property> + <value type="string">vor</value> + </equals> + <equals> + <property>systems/radio/rmp[0]/select-crs</property> + <value>0</value> + </equals> + </and> + </condition> + <command>property-adjust</command> + <property>instrumentation/nav[2]/frequencies/standby-mhz</property> + <step>1.00</step> + <min>108.00</min> + <max>118.00</max> + <wrap>true</wrap> + </binding> + </action> + <action> + <button>1</button> + <button>4</button> + <repeatable>true</repeatable> + + <binding> + <command>property-adjust</command> + <property>/controls/cockpit/rmp1knob0-rotate</property> + <step>-1</step> + <min>0</min> + <max>200000</max> + <wrap>true</wrap> + </binding> + + <binding> + <condition> + <and> + <greater-than-equals> + <property>systems/electrical/bus/dc-ess</property> + <value>25</value> + </greater-than-equals> + <property>controls/radio/rmp[0]/on</property> + <equals> + <property>systems/radio/rmp[0]/sel_chan</property> + <value type="string">vhf1</value> + </equals> + </and> + </condition> + <command>property-adjust</command> + <property>systems/radio/rmp[0]/vhf1-standby</property> + <step>-1</step> + <min>118.0</min> + <max>137.0</max> + <wrap>true</wrap> + <mask>integer</mask> + </binding> + + <binding> + <condition> + <and> + <greater-than-equals> + <property>systems/electrical/bus/dc-ess</property> + <value>25</value> + </greater-than-equals> + <property>controls/radio/rmp[0]/on</property> + <equals> + <property>systems/radio/rmp[0]/sel_chan</property> + <value type="string">vhf2</value> + </equals> + </and> + </condition> + <command>property-adjust</command> + <property>systems/radio/rmp[0]/vhf2-standby</property> + <step>-1</step> + <min>118.0</min> + <max>137.0</max> + <wrap>true</wrap> + <mask>integer</mask> + </binding> + + <binding> + <condition> + <and> + <greater-than-equals> + <property>systems/electrical/bus/dc-ess</property> + <value>25</value> + </greater-than-equals> + <property>controls/radio/rmp[0]/on</property> + <equals> + <property>systems/radio/rmp[0]/sel_chan</property> + <value type="string">vhf3</value> + </equals> + <not> + <equals> + <property>systems/radio/rmp[0]/vhf3-standby</property> + <value>0</value> + </equals> + </not> + </and> + </condition> + <command>property-adjust</command> + <property>systems/radio/rmp[0]/vhf3-standby</property> + <step>-1</step> + <min>118.0</min> + <max>137.0</max> + <wrap>true</wrap> + <mask>integer</mask> + </binding> + + <binding> + <condition> + <and> + <greater-than-equals> + <property>systems/electrical/bus/dc-ess</property> + <value>25</value> + </greater-than-equals> + <property>controls/radio/rmp[0]/on</property> + <equals> + <property>systems/radio/rmp[0]/sel_chan</property> + <value type="string">hf1</value> + </equals> + </and> + </condition> + <command>property-adjust</command> + <property>systems/radio/rmp[0]/hf1-standby</property> + <step>-100</step> + <min>2000</min> + <max>29999</max> + <wrap>true</wrap> + <mask>integer</mask> + </binding> + + <binding> + <condition> + <and> + <greater-than-equals> + <property>systems/electrical/bus/dc-ess</property> + <value>25</value> + </greater-than-equals> + <property>controls/radio/rmp[0]/on</property> + <equals> + <property>systems/radio/rmp[0]/sel_chan</property> + <value type="string">hf2</value> + </equals> + </and> + </condition> + <command>property-adjust</command> + <property>systems/radio/rmp[0]/hf2-standby</property> + <step>-100</step> + <min>2000</min> + <max>29999</max> + <wrap>true</wrap> + <mask>integer</mask> + </binding> + + <binding> + <condition> + <and> + <greater-than-equals> + <property>systems/electrical/bus/dc-ess</property> + <value>25</value> + </greater-than-equals> + <property>controls/radio/rmp[0]/on</property> + <equals> + <property>systems/radio/rmp[0]/sel_chan</property> + <value type="string">ls</value> + </equals> + <equals> + <property>systems/radio/rmp[0]/select-crs</property> + <value>0</value> + </equals> + </and> + </condition> + <command>property-adjust</command> + <property>instrumentation/nav[0]/frequencies/standby-mhz</property> + <step>-1.00</step> + <min>108.00</min> + <max>112.00</max> + <wrap>true</wrap> + </binding> + + <binding> + <condition> + <and> + <greater-than-equals> + <property>systems/electrical/bus/dc-ess</property> + <value>25</value> + </greater-than-equals> + <property>controls/radio/rmp[0]/on</property> + <equals> + <property>systems/radio/rmp[0]/sel_chan</property> + <value type="string">vor</value> + </equals> + <equals> + <property>systems/radio/rmp[0]/select-crs</property> + <value>0</value> + </equals> + </and> + </condition> + <command>property-adjust</command> + <property>instrumentation/nav[2]/frequencies/standby-mhz</property> + <step>-1</step> + <min>108.00</min> + <max>118.00</max> + <wrap>true</wrap> + </binding> + </action> + <hovered> + <binding> + <command>set-tooltip</command> + <tooltip-id>rmp1freqmhz-lbl</tooltip-id> + <label>Adjust frequency (1 MHz)</label> + </binding> + </hovered> + </animation> + + <!-- On Switch --> + <animation> + <type>knob</type> + <object-name>radio_on.cpt</object-name> + <property>controls/cockpit/rmp-l-on-pos</property> + <factor>-40</factor> + <offset-deg>20</offset-deg> + <axis> + <object-name>radio_on.axis.cpt</object-name> + </axis> + <action> + <binding> + <command>property-cycle</command> + <property>controls/radio/rmp[0]/on</property> + <value>0</value> + <value>1</value> + <wrap>false</wrap> + </binding> + <binding> + <command>nasal</command> + <script>setprop("sim/sounde/switch1", 1);</script> + </binding> + </action> + <hovered> + <binding> + <command>set-tooltip</command> + <tooltip-id>rmp1on-lbl</tooltip-id> + <label>Toggle left RMP</label> + </binding> + </hovered> + </animation> + + <!-- VHF1 --> + <animation> + <type>pick</type> + <object-name>radio_vhf1.cpt</object-name> + <action> + <button>0</button> + <repeatable>true</repeatable> + <binding> + <command>property-assign</command> + <property>systems/radio/rmp[0]/sel_chan</property> + <value>vhf1</value> + <condition> + <and> + <greater-than-equals> + <property>systems/electrical/bus/dc-ess</property> + <value>25</value> + </greater-than-equals> + <property>controls/radio/rmp[0]/on</property> + </and> + </condition> + </binding> + <binding> + <command>nasal</command> + <script>libraries.pushbutton();</script> + </binding> + <binding> + <command>property-assign</command> + <property>/controls/cockpit/rmp1vhf1-translate</property> + <value>0.0005</value> + </binding> + <mod-up> + <binding> + <command>property-assign</command> + <property>/controls/cockpit/rmp1vhf1-translate</property> + <value>0.0</value> + </binding> + </mod-up> + </action> + <hovered> + <binding> + <command>set-tooltip</command> + <tooltip-id>rmp1vhf1-lbl</tooltip-id> + <label>Select VHF1 radio</label> + </binding> + </hovered> + </animation> + + <animation> + <type>translate</type> + <object-name>radio_vhf1.cpt</object-name> + <property>/controls/cockpit/rmp1vhf1-translate</property> + <axis> + <x1-m>-0.20717</x1-m> + <y1-m>-0.23244</y1-m> + <z1-m>-0.094255</z1-m> + <x2-m>-0.20758</x2-m> + <y2-m>-0.23244</y2-m> + <z2-m>-0.096745</z2-m> + </axis> + </animation> + + <animation> + <type>pick</type> + <object-name>radio_vhf2.cpt</object-name> + <action> + <button>0</button> + <repeatable>true</repeatable> + <binding> + <command>property-assign</command> + <property>systems/radio/rmp[0]/sel_chan</property> + <value>vhf2</value> + <condition> + <and> + <greater-than-equals> + <property>systems/electrical/bus/dc-ess</property> + <value>25</value> + </greater-than-equals> + <property>controls/radio/rmp[0]/on</property> + <property>controls/radio/rmp[0]/on</property> + </and> + </condition> + </binding> + <binding> + <command>nasal</command> + <script>libraries.pushbutton();</script> + </binding> + <binding> + <command>property-assign</command> + <property>/controls/cockpit/rmp1vhf2-translate</property> + <value>0.0005</value> + </binding> + <mod-up> + <binding> + <command>property-assign</command> + <property>/controls/cockpit/rmp1vhf2-translate</property> + <value>0.0</value> + </binding> + </mod-up> + </action> + <hovered> + <binding> + <command>set-tooltip</command> + <tooltip-id>rmp1vhf2-lbl</tooltip-id> + <label>Select VHF2 radio</label> + </binding> + </hovered> + </animation> + + <animation> + <type>translate</type> + <object-name>radio_vhf2.cpt</object-name> + <property>/controls/cockpit/rmp1vhf2-translate</property> + <axis> + <x1-m>-0.20717</x1-m> + <y1-m>-0.23244</y1-m> + <z1-m>-0.094255</z1-m> + <x2-m>-0.20758</x2-m> + <y2-m>-0.23244</y2-m> + <z2-m>-0.096745</z2-m> + </axis> + </animation> + + <animation> + <type>pick</type> + <object-name>radio_vhf3.cpt</object-name> + <action> + <button>0</button> + <repeatable>true</repeatable> + <binding> + <command>property-assign</command> + <property>systems/radio/rmp[0]/sel_chan</property> + <value>vhf3</value> + <condition> + <and> + <greater-than-equals> + <property>systems/electrical/bus/dc-ess</property> + <value>25</value> + </greater-than-equals> + <property>controls/radio/rmp[0]/on</property> + </and> + </condition> + </binding> + <binding> + <command>nasal</command> + <script>libraries.pushbutton();</script> + </binding> + <binding> + <command>property-assign</command> + <property>/controls/cockpit/rmp1vhf3-translate</property> + <value>0.0005</value> + </binding> + <mod-up> + <binding> + <command>property-assign</command> + <property>/controls/cockpit/rmp1vhf3-translate</property> + <value>0.0</value> + </binding> + </mod-up> + </action> + <hovered> + <binding> + <command>set-tooltip</command> + <tooltip-id>rmp1vhf3-lbl</tooltip-id> + <label>Select VHF3 radio</label> + </binding> + </hovered> + </animation> + + <animation> + <type>translate</type> + <object-name>radio_vhf3.cpt</object-name> + <property>/controls/cockpit/rmp1vhf3-translate</property> + <axis> + <x1-m>-0.20717</x1-m> + <y1-m>-0.23244</y1-m> + <z1-m>-0.094255</z1-m> + <x2-m>-0.20758</x2-m> + <y2-m>-0.23244</y2-m> + <z2-m>-0.096745</z2-m> + </axis> + </animation> + + <!-- HF1 --> + <animation> + <type>pick</type> + <object-name>radio_hf1.cpt</object-name> + <action> + <button>0</button> + <repeatable>true</repeatable> + <binding> + <command>property-assign</command> + <property>systems/radio/rmp[0]/sel_chan</property> + <value>hf1</value> + <condition> + <and> + <greater-than-equals> + <property>systems/electrical/bus/dc-ess</property> + <value>25</value> + </greater-than-equals> + <property>controls/radio/rmp[0]/on</property> + </and> + </condition> + </binding> + <binding> + <command>nasal</command> + <script>libraries.pushbutton();</script> + </binding> + <binding> + <command>property-assign</command> + <property>/controls/cockpit/rmp1hf1-translate</property> + <value>0.0005</value> + </binding> + <mod-up> + <binding> + <command>property-assign</command> + <property>/controls/cockpit/rmp1hf1-translate</property> + <value>0.0</value> + </binding> + </mod-up> + </action> + <hovered> + <binding> + <command>set-tooltip</command> + <tooltip-id>rmp1hf1-lbl</tooltip-id> + <label>Select HF1 radio</label> + </binding> + </hovered> + </animation> + + <animation> + <type>translate</type> + <object-name>radio_hf1.cpt</object-name> + <property>/controls/cockpit/rmp1hf1-translate</property> + <axis> + <x1-m>-0.20717</x1-m> + <y1-m>-0.23244</y1-m> + <z1-m>-0.094255</z1-m> + <x2-m>-0.20758</x2-m> + <y2-m>-0.23244</y2-m> + <z2-m>-0.096745</z2-m> + </axis> + </animation> + + <animation> + <type>pick</type> + <object-name>radio_hf2.cpt</object-name> + <action> + <button>0</button> + <repeatable>true</repeatable> + <binding> + <command>property-assign</command> + <property>systems/radio/rmp[0]/sel_chan</property> + <value>hf2</value> + <condition> + <and> + <greater-than-equals> + <property>systems/electrical/bus/dc-ess</property> + <value>25</value> + </greater-than-equals> + <property>controls/radio/rmp[0]/on</property> + </and> + </condition> + </binding> + <binding> + <command>nasal</command> + <script>libraries.pushbutton();</script> + </binding> + <binding> + <command>property-assign</command> + <property>/controls/cockpit/rmp1hf2-translate</property> + <value>0.0005</value> + </binding> + <mod-up> + <binding> + <command>property-assign</command> + <property>/controls/cockpit/rmp1hf2-translate</property> + <value>0.0</value> + </binding> + </mod-up> + </action> + <hovered> + <binding> + <command>set-tooltip</command> + <tooltip-id>rmp1hf2-lbl</tooltip-id> + <label>Select HF2 radio</label> + </binding> + </hovered> + </animation> + + <animation> + <type>translate</type> + <object-name>radio_hf2.cpt</object-name> + <property>/controls/cockpit/rmp1hf2-translate</property> + <axis> + <x1-m>-0.20717</x1-m> + <y1-m>-0.23244</y1-m> + <z1-m>-0.094255</z1-m> + <x2-m>-0.20758</x2-m> + <y2-m>-0.23244</y2-m> + <z2-m>-0.096745</z2-m> + </axis> + </animation> + + <!-- AM Mode --> + <animation> + <type>pick</type> + <object-name>radio_am.cpt</object-name> + <action> + <button>0</button> + <repeatable>true</repeatable> + <binding> + <command>property-toggle</command> + <property>systems/radio/rmp[0]/am-active</property> + <condition> + <and> + <greater-than-equals> + <property>systems/electrical/bus/dc-ess</property> + <value>25</value> + </greater-than-equals> + <property>controls/radio/rmp[0]/on</property> + <or> + <equals> + <property>systems/radio/rmp[0]/sel_chan</property> + <value>hf1</value> + </equals> + <equals> + <property>systems/radio/rmp[0]/sel_chan</property> + <value>hf2</value> + </equals> + </or> + </and> + </condition> + </binding> + <binding> + <command>nasal</command> + <script>libraries.pushbutton();</script> + </binding> + <binding> + <command>property-assign</command> + <property>/controls/cockpit/rmp1am-translate</property> + <value>0.0005</value> + </binding> + <mod-up> + <binding> + <command>property-assign</command> + <property>/controls/cockpit/rmp1am-translate</property> + <value>0.0</value> + </binding> + </mod-up> + </action> + <hovered> + <binding> + <command>set-tooltip</command> + <tooltip-id>rmp1am-lbl</tooltip-id> + <label>Select AM modulation</label> + </binding> + </hovered> + </animation> + + <animation> + <type>translate</type> + <object-name>radio_am.cpt</object-name> + <property>/controls/cockpit/rmp1am-translate</property> + <axis> + <x1-m>-0.20717</x1-m> + <y1-m>-0.23244</y1-m> + <z1-m>-0.094255</z1-m> + <x2-m>-0.20758</x2-m> + <y2-m>-0.23244</y2-m> + <z2-m>-0.096745</z2-m> + </axis> + </animation> + + <!-- Transfer --> + <animation> + <type>pick</type> + <object-name>radio_exchange.cpt</object-name> + <action> + <button>0</button> + <repeatable>false</repeatable> + <binding> + <command>nasal</command> + <script>rmp.transfer(1);</script> + <condition> + <and> + <greater-than-equals> + <property>systems/electrical/bus/dc-ess</property> + <value>25</value> + </greater-than-equals> + <property>controls/radio/rmp[0]/on</property> + </and> + </condition> + </binding> + <binding> + <command>nasal</command> + <script>libraries.pushbutton();</script> + </binding> + <binding> + <command>property-assign</command> + <property>/controls/cockpit/rmpxfrcpt-translate</property> + <value>0.0005</value> + </binding> + <mod-up> + <binding> + <command>property-assign</command> + <property>/controls/cockpit/rmpxfrcpt-translate</property> + <value>0.0</value> + </binding> + </mod-up> + </action> + <hovered> + <binding> + <command>set-tooltip</command> + <tooltip-id>rmpxfrfo-lbl</tooltip-id> + <label>Swap standby / active frequencies</label> + </binding> + </hovered> + </animation> + + <animation> + <type>translate</type> + <object-name>radio_exchange.cpt</object-name> + <property>/controls/cockpit/rmpxfrcpt-translate</property> + <axis> + <x1-m>-0.20717</x1-m> + <y1-m>-0.23244</y1-m> + <z1-m>-0.094255</z1-m> + <x2-m>-0.20758</x2-m> + <y2-m>-0.23244</y2-m> + <z2-m>-0.096745</z2-m> + </axis> + </animation> + + <!-- SEL Light --> + <animation> + <type>select</type> + <object-name>radio_sel_led.cpt</object-name> + <condition> + <or> + <property>controls/switches/annun-test</property> + <and> + <greater-than-equals> + <property>systems/electrical/bus/dc-ess</property> + <value>25</value> + </greater-than-equals> + <property>controls/radio/rmp[0]/on</property> + <property>systems/radio/rmp[0]/sel-light</property> + </and> + </or> + </condition> + </animation> + + <!-- Status Lights --> + <animation> + <type>select</type> + <object-name>radio_vhf1_led.cpt</object-name> + <condition> + <or> + <property>controls/switches/annun-test</property> + <and> + <greater-than-equals> + <property>systems/electrical/bus/dc-ess</property> + <value>25</value> + </greater-than-equals> + <equals> + <property>systems/radio/rmp[0]/sel_chan</property> + <value type="string">vhf1</value> + </equals> + <property>controls/radio/rmp[0]/on</property> + </and> + </or> + </condition> + </animation> + + <animation> + <type>select</type> + <object-name>radio_vhf2_led.cpt</object-name> + <condition> + <or> + <property>controls/switches/annun-test</property> + <and> + <greater-than-equals> + <property>systems/electrical/bus/dc-ess</property> + <value>25</value> + </greater-than-equals> + <equals> + <property>systems/radio/rmp[0]/sel_chan</property> + <value type="string">vhf2</value> + </equals> + <property>controls/radio/rmp[0]/on</property> + </and> + </or> + </condition> + </animation> + + <animation> + <type>select</type> + <object-name>radio_vhf3_led.cpt</object-name> + <condition> + <or> + <property>controls/switches/annun-test</property> + <and> + <greater-than-equals> + <property>systems/electrical/bus/dc-ess</property> + <value>25</value> + </greater-than-equals> + <equals> + <property>systems/radio/rmp[0]/sel_chan</property> + <value type="string">vhf3</value> + </equals> + <property>controls/radio/rmp[0]/on</property> + </and> + </or> + </condition> + </animation> + + <animation> + <type>select</type> + <object-name>radio_hf1_led.cpt</object-name> + <condition> + <or> + <property>controls/switches/annun-test</property> + <and> + <greater-than-equals> + <property>systems/electrical/bus/dc-ess</property> + <value>25</value> + </greater-than-equals> + <equals> + <property>systems/radio/rmp[0]/sel_chan</property> + <value type="string">hf1</value> + </equals> + <property>controls/radio/rmp[0]/on</property> + </and> + </or> + </condition> + </animation> + + <animation> + <type>select</type> + <object-name>radio_hf2_led.cpt</object-name> + <condition> + <or> + <property>controls/switches/annun-test</property> + <and> + <greater-than-equals> + <property>systems/electrical/bus/dc-ess</property> + <value>25</value> + </greater-than-equals> + <equals> + <property>systems/radio/rmp[0]/sel_chan</property> + <value type="string">hf2</value> + </equals> + <property>controls/radio/rmp[0]/on</property> + </and> + </or> + </condition> + </animation> + + <animation> + <type>select</type> + <object-name>radio_nav_led.cpt</object-name> + <condition> + <or> + <property>controls/switches/annun-test</property> + <and> + <greater-than-equals> + <property>systems/electrical/bus/dc-ess</property> + <value>25</value> + </greater-than-equals> + <property>systems/radio/rmp[0]/nav</property> + <property>controls/radio/rmp[0]/on</property> + </and> + </or> + </condition> + </animation> + + <animation> + <type>select</type> + <object-name>radio_vor_led.cpt</object-name> + <condition> + <or> + <property>controls/switches/annun-test</property> + <and> + <greater-than-equals> + <property>systems/electrical/bus/dc-ess</property> + <value>25</value> + </greater-than-equals> + <equals> + <property>systems/radio/rmp[0]/sel_chan</property> + <value type="string">vor</value> + </equals> + <property>controls/radio/rmp[0]/on</property> + </and> + </or> + </condition> + </animation> + + <animation> + <type>select</type> + <object-name>radio_ls_led.cpt</object-name> + <condition> + <or> + <property>controls/switches/annun-test</property> + <and> + <greater-than-equals> + <property>systems/electrical/bus/dc-ess</property> + <value>25</value> + </greater-than-equals> + <equals> + <property>systems/radio/rmp[0]/sel_chan</property> + <value type="string">ls</value> + </equals> + <property>controls/radio/rmp[0]/on</property> + </and> + </or> + </condition> + </animation> + + <animation> + <type>select</type> + <object-name>radio_adf_led.cpt</object-name> + <condition> + <or> + <property>controls/switches/annun-test</property> + <and> + <greater-than-equals> + <property>systems/electrical/bus/dc-ess</property> + <value>25</value> + </greater-than-equals> + <equals> + <property>systems/radio/rmp[0]/sel_chan</property> + <value type="string">adf</value> + </equals> + <property>controls/radio/rmp[0]/on</property> + </and> + </or> + </condition> + </animation> + + <animation> + <type>select</type> + <object-name>radio_bfo_led.cpt</object-name> + <condition> + <or> + <property>controls/switches/annun-test</property> + <and> + <greater-than-equals> + <property>systems/electrical/bus/dc-ess</property> + <value>25</value> + </greater-than-equals> + <property>systems/radio/rmp[0]/bfo-active</property> + <property>controls/radio/rmp[0]/on</property> + </and> + </or> + </condition> + </animation> + + <animation> + <type>select</type> + <object-name>radio_am_led.cpt</object-name> + <condition> + <or> + <property>controls/switches/annun-test</property> + <and> + <greater-than-equals> + <property>systems/electrical/bus/dc-ess</property> + <value>25</value> + </greater-than-equals> + <equals> + <property>systems/radio/rmp[0]/am-active</property> + <value>1</value> + </equals> + <property>controls/radio/rmp[0]/on</property> + </and> + </or> + </condition> + </animation> + + <!-- RMP 2 --> + + <!-- Knob --> + <!-- We use a little hack to get 8.33MHz spacing working: + First we assign our current STBY freq we want to adjust to the default instrument. + Then we change the channel there. + Finally we assign the value back to out own prop. + --> + <animation> + <type>rotate</type> + <object-name>radio_rot1.fo</object-name> + <property>/controls/cockpit/rmp2knob1-rotate</property> + <factor>-11.25</factor> + <axis> + <object-name>radio_rot.axis.fo</object-name> + </axis> + </animation> + + <animation> + <type>rotate</type> + <object-name>radio_rot0.fo</object-name> + <property>/controls/cockpit/rmp2knob0-rotate</property> + <factor>-11.25</factor> + <axis> + <object-name>radio_rot.axis.fo</object-name> + </axis> + </animation> + + <animation> + <type>pick</type> + <object-name>radio_rot1.fo</object-name> + <action> + <button>0</button> + <button>3</button> + <repeatable>true</repeatable> + + <binding> + <command>property-adjust</command> + <property>/controls/cockpit/rmp2knob1-rotate</property> + <step>1</step> + <min>0</min> + <max>200000</max> + <wrap>true</wrap> + </binding> + + <binding> + <condition> + <and> + <greater-than-equals> + <property>systems/electrical/bus/dc-ess</property> + <value>25</value> + </greater-than-equals> + <property>controls/radio/rmp[1]/on</property> + <equals> + <property>systems/radio/rmp[1]/sel_chan</property> + <value type="string">vhf1</value> + </equals> + </and> + </condition> + <command>property-assign</command> + <property>instrumentation/comm[0]/frequencies/standby-mhz</property> + <property>systems/radio/rmp[1]/vhf1-standby</property> + </binding> + + <binding> + <condition> + <and> + <greater-than-equals> + <property>systems/electrical/bus/dc-ess</property> + <value>25</value> + </greater-than-equals> + <property>controls/radio/rmp[1]/on</property> + <equals> + <property>systems/radio/rmp[1]/sel_chan</property> + <value type="string">vhf1</value> + </equals> + </and> + </condition> + <command>property-adjust</command> + <property>instrumentation/comm[0]/frequencies/standby-channel</property> + <step>1</step> + </binding> + <binding> + <condition> + <and> + <greater-than-equals> + <property>systems/electrical/bus/dc-ess</property> + <value>25</value> + </greater-than-equals> + <property>controls/radio/rmp[1]/on</property> + <equals> + <property>systems/radio/rmp[1]/sel_chan</property> + <value type="string">vhf1</value> + </equals> + </and> + </condition> + <command>property-assign</command> + <property>systems/radio/rmp[1]/vhf1-standby</property> + <property>instrumentation/comm[0]/frequencies/standby-mhz</property> + </binding> + + <binding> + <condition> + <and> + <greater-than-equals> + <property>systems/electrical/bus/dc-ess</property> + <value>25</value> + </greater-than-equals> + <property>controls/radio/rmp[1]/on</property> + <equals> + <property>systems/radio/rmp[1]/sel_chan</property> + <value type="string">vhf2</value> + </equals> + </and> + </condition> + <command>property-assign</command> + <property>instrumentation/comm[0]/frequencies/standby-mhz</property> + <property>systems/radio/rmp[1]/vhf2-standby</property> + </binding> + <binding> + <condition> + <and> + <greater-than-equals> + <property>systems/electrical/bus/dc-ess</property> + <value>25</value> + </greater-than-equals> + <property>controls/radio/rmp[1]/on</property> + <equals> + <property>systems/radio/rmp[1]/sel_chan</property> + <value type="string">vhf2</value> + </equals> + </and> + </condition> + <command>property-adjust</command> + <property>instrumentation/comm[0]/frequencies/standby-channel</property> + <step>1</step> + </binding> + <binding> + <condition> + <and> + <greater-than-equals> + <property>systems/electrical/bus/dc-ess</property> + <value>25</value> + </greater-than-equals> + <property>controls/radio/rmp[1]/on</property> + <equals> + <property>systems/radio/rmp[1]/sel_chan</property> + <value type="string">vhf2</value> + </equals> + </and> + </condition> + <command>property-assign</command> + <property>systems/radio/rmp[1]/vhf2-standby</property> + <property>instrumentation/comm[0]/frequencies/standby-mhz</property> + </binding> + + <binding> + <condition> + <and> + <greater-than-equals> + <property>systems/electrical/bus/dc-ess</property> + <value>25</value> + </greater-than-equals> + <property>controls/radio/rmp[1]/on</property> + <equals> + <property>systems/radio/rmp[1]/sel_chan</property> + <value type="string">vhf3</value> + </equals> + <not> + <equals> + <property>systems/radio/rmp[1]/vhf3-standby</property> + <value>0</value> + </equals> + </not> + </and> + </condition> + <command>property-assign</command> + <property>instrumentation/comm[0]/frequencies/standby-mhz</property> + <property>systems/radio/rmp[1]/vhf3-standby</property> + </binding> + <binding> + <condition> + <and> + <greater-than-equals> + <property>systems/electrical/bus/dc-ess</property> + <value>25</value> + </greater-than-equals> + <property>controls/radio/rmp[1]/on</property> + <equals> + <property>systems/radio/rmp[1]/sel_chan</property> + <value type="string">vhf3</value> + </equals> + <not> + <equals> + <property>systems/radio/rmp[1]/vhf3-standby</property> + <value>0</value> + </equals> + </not> + </and> + </condition> + <command>property-adjust</command> + <property>instrumentation/comm[0]/frequencies/standby-channel</property> + <step>1</step> + </binding> + <binding> + <condition> + <and> + <greater-than-equals> + <property>systems/electrical/bus/dc-ess</property> + <value>25</value> + </greater-than-equals> + <property>controls/radio/rmp[1]/on</property> + <equals> + <property>systems/radio/rmp[1]/sel_chan</property> + <value type="string">vhf3</value> + </equals> + <not> + <equals> + <property>systems/radio/rmp[1]/vhf3-standby</property> + <value>0</value> + </equals> + </not> + </and> + </condition> + <command>property-assign</command> + <property>systems/radio/rmp[1]/vhf3-standby</property> + <property>instrumentation/comm[0]/frequencies/standby-mhz</property> + </binding> + + <binding> + <condition> + <and> + <greater-than-equals> + <property>systems/electrical/bus/dc-ess</property> + <value>25</value> + </greater-than-equals> + <property>controls/radio/rmp[1]/on</property> + <equals> + <property>systems/radio/rmp[1]/sel_chan</property> + <value type="string">hf1</value> + </equals> + </and> + </condition> + <command>property-adjust</command> + <property>systems/radio/rmp[1]/hf1-standby</property> + <step>1</step> + <min>2000</min> + <max>29999</max> + <wrap>true</wrap> + </binding> + + <binding> + <condition> + <and> + <greater-than-equals> + <property>systems/electrical/bus/dc-ess</property> + <value>25</value> + </greater-than-equals> + <property>controls/radio/rmp[1]/on</property> + <equals> + <property>systems/radio/rmp[1]/sel_chan</property> + <value type="string">hf2</value> + </equals> + </and> + </condition> + <command>property-adjust</command> + <property>systems/radio/rmp[1]/hf2-standby</property> + <step>1</step> + <min>2000</min> + <max>29999</max> + <wrap>true</wrap> + </binding> + + <binding> + <condition> + <and> + <greater-than-equals> + <property>systems/electrical/bus/dc-ess</property> + <value>25</value> + </greater-than-equals> + <property>controls/radio/rmp[1]/on</property> + <equals> + <property>systems/radio/rmp[1]/sel_chan</property> + <value type="string">ls</value> + </equals> + <equals> + <property>systems/radio/rmp[1]/select-crs</property> + <value>0</value> + </equals> + </and> + </condition> + <command>property-adjust</command> + <property>instrumentation/nav[0]/frequencies/standby-mhz</property> + <step>0.05</step> + <min>108.00</min> + <max>112.00</max> + <wrap>true</wrap> + </binding> + <binding> + <condition> + <and> + <greater-than-equals> + <property>systems/electrical/bus/dc-ess</property> + <value>25</value> + </greater-than-equals> + <property>controls/radio/rmp[1]/on</property> + <equals> + <property>systems/radio/rmp[1]/sel_chan</property> + <value type="string">ls</value> + </equals> + <equals> + <property>systems/radio/rmp[1]/select-crs</property> + <value>1</value> + </equals> + </and> + </condition> + <command>property-adjust</command> + <property>instrumentation/nav[0]/radials/selected-deg</property> + <step>1</step> + <min>1</min> + <max>361</max> + <wrap>true</wrap> + </binding> + + <binding> + <condition> + <and> + <greater-than-equals> + <property>systems/electrical/bus/dc-ess</property> + <value>25</value> + </greater-than-equals> + <property>controls/radio/rmp[1]/on</property> + <equals> + <property>systems/radio/rmp[1]/sel_chan</property> + <value type="string">vor</value> + </equals> + <equals> + <property>systems/radio/rmp[1]/select-crs</property> + <value>0</value> + </equals> + </and> + </condition> + <command>property-adjust</command> + <property>instrumentation/nav[3]/frequencies/standby-mhz</property> + <step>0.05</step> + <min>108.00</min> + <max>118.00</max> + <wrap>true</wrap> + </binding> + <binding> + <condition> + <and> + <greater-than-equals> + <property>systems/electrical/bus/dc-ess</property> + <value>25</value> + </greater-than-equals> + <property>controls/radio/rmp[1]/on</property> + <equals> + <property>systems/radio/rmp[1]/sel_chan</property> + <value type="string">vor</value> + </equals> + <equals> + <property>systems/radio/rmp[1]/select-crs</property> + <value>1</value> + </equals> + </and> + </condition> + <command>property-adjust</command> + <property>instrumentation/nav[3]/radials/selected-deg</property> + <step>1</step> + <min>1</min> + <max>361</max> + <wrap>true</wrap> + </binding> + + <binding> + <condition> + <and> + <greater-than-equals> + <property>systems/electrical/bus/dc-ess</property> + <value>25</value> + </greater-than-equals> + <property>controls/radio/rmp[1]/on</property> + <equals> + <property>systems/radio/rmp[1]/sel_chan</property> + <value type="string">adf</value> + </equals> + </and> + </condition> + <command>property-adjust</command> + <property>instrumentation/adf[1]/frequencies/standby-khz</property> + <step>1</step> + <min>190</min> + <max>1751</max> + <wrap>true</wrap> + </binding> + + </action> + <action> + <button>1</button> + <button>4</button> + <repeatable>true</repeatable> + + <binding> + <command>property-adjust</command> + <property>/controls/cockpit/rmp2knob1-rotate</property> + <step>-1</step> + <min>0</min> + <max>200000</max> + <wrap>true</wrap> + </binding> + + <binding> + <condition> + <and> + <greater-than-equals> + <property>systems/electrical/bus/dc-ess</property> + <value>25</value> + </greater-than-equals> + <property>controls/radio/rmp[1]/on</property> + <equals> + <property>systems/radio/rmp[1]/sel_chan</property> + <value type="string">vhf1</value> + </equals> + </and> + </condition> + <command>property-assign</command> + <property>instrumentation/comm[0]/frequencies/standby-mhz</property> + <property>systems/radio/rmp[1]/vhf1-standby</property> + </binding> + <binding> + <condition> + <and> + <greater-than-equals> + <property>systems/electrical/bus/dc-ess</property> + <value>25</value> + </greater-than-equals> + <property>controls/radio/rmp[1]/on</property> + <equals> + <property>systems/radio/rmp[1]/sel_chan</property> + <value type="string">vhf1</value> + </equals> + </and> + </condition> + <command>property-adjust</command> + <property>instrumentation/comm[0]/frequencies/standby-channel</property> + <step>-1</step> + </binding> + <binding> + <condition> + <and> + <greater-than-equals> + <property>systems/electrical/bus/dc-ess</property> + <value>25</value> + </greater-than-equals> + <property>controls/radio/rmp[1]/on</property> + <equals> + <property>systems/radio/rmp[1]/sel_chan</property> + <value type="string">vhf1</value> + </equals> + </and> + </condition> + <command>property-assign</command> + <property>systems/radio/rmp[1]/vhf1-standby</property> + <property>instrumentation/comm[0]/frequencies/standby-mhz</property> + </binding> + + <binding> + <condition> + <and> + <greater-than-equals> + <property>systems/electrical/bus/dc-ess</property> + <value>25</value> + </greater-than-equals> + <property>controls/radio/rmp[1]/on</property> + <equals> + <property>systems/radio/rmp[1]/sel_chan</property> + <value type="string">vhf2</value> + </equals> + </and> + </condition> + <command>property-assign</command> + <property>instrumentation/comm[0]/frequencies/standby-mhz</property> + <property>systems/radio/rmp[1]/vhf2-standby</property> + </binding> + <binding> + <condition> + <and> + <greater-than-equals> + <property>systems/electrical/bus/dc-ess</property> + <value>25</value> + </greater-than-equals> + <property>controls/radio/rmp[1]/on</property> + <equals> + <property>systems/radio/rmp[1]/sel_chan</property> + <value type="string">vhf2</value> + </equals> + </and> + </condition> + <command>property-adjust</command> + <property>instrumentation/comm[0]/frequencies/standby-channel</property> + <step>-1</step> + </binding> + <binding> + <condition> + <and> + <greater-than-equals> + <property>systems/electrical/bus/dc-ess</property> + <value>25</value> + </greater-than-equals> + <property>controls/radio/rmp[1]/on</property> + <equals> + <property>systems/radio/rmp[1]/sel_chan</property> + <value type="string">vhf2</value> + </equals> + </and> + </condition> + <command>property-assign</command> + <property>systems/radio/rmp[1]/vhf2-standby</property> + <property>instrumentation/comm[0]/frequencies/standby-mhz</property> + </binding> + + <binding> + <condition> + <and> + <greater-than-equals> + <property>systems/electrical/bus/dc-ess</property> + <value>25</value> + </greater-than-equals> + <property>controls/radio/rmp[1]/on</property> + <equals> + <property>systems/radio/rmp[1]/sel_chan</property> + <value type="string">vhf3</value> + </equals> + <not> + <equals> + <property>systems/radio/rmp[1]/vhf3-standby</property> + <value>0</value> + </equals> + </not> + </and> + </condition> + <command>property-assign</command> + <property>instrumentation/comm[0]/frequencies/standby-mhz</property> + <property>systems/radio/rmp[1]/vhf3-standby</property> + </binding> + <binding> + <condition> + <and> + <greater-than-equals> + <property>systems/electrical/bus/dc-ess</property> + <value>25</value> + </greater-than-equals> + <property>controls/radio/rmp[1]/on</property> + <equals> + <property>systems/radio/rmp[1]/sel_chan</property> + <value type="string">vhf3</value> + </equals> + <not> + <equals> + <property>systems/radio/rmp[1]/vhf3-standby</property> + <value>0</value> + </equals> + </not> + </and> + </condition> + <command>property-adjust</command> + <property>instrumentation/comm[0]/frequencies/standby-channel</property> + <step>-1</step> + </binding> + <binding> + <condition> + <and> + <greater-than-equals> + <property>systems/electrical/bus/dc-ess</property> + <value>25</value> + </greater-than-equals> + <property>controls/radio/rmp[1]/on</property> + <equals> + <property>systems/radio/rmp[1]/sel_chan</property> + <value type="string">vhf3</value> + </equals> + <not> + <equals> + <property>systems/radio/rmp[1]/vhf3-standby</property> + <value>0</value> + </equals> + </not> + </and> + </condition> + <command>property-assign</command> + <property>systems/radio/rmp[1]/vhf3-standby</property> + <property>instrumentation/comm[0]/frequencies/standby-mhz</property> + </binding> + + <binding> + <condition> + <and> + <greater-than-equals> + <property>systems/electrical/bus/dc-ess</property> + <value>25</value> + </greater-than-equals> + <property>controls/radio/rmp[1]/on</property> + <equals> + <property>systems/radio/rmp[1]/sel_chan</property> + <value type="string">hf1</value> + </equals> + </and> + </condition> + <command>property-adjust</command> + <property>systems/radio/rmp[1]/hf1-standby</property> + <step>-1</step> + <min>2000</min> + <max>29999</max> + <wrap>true</wrap> + </binding> + + <binding> + <condition> + <and> + <greater-than-equals> + <property>systems/electrical/bus/dc-ess</property> + <value>25</value> + </greater-than-equals> + <property>controls/radio/rmp[1]/on</property> + <equals> + <property>systems/radio/rmp[1]/sel_chan</property> + <value type="string">hf2</value> + </equals> + </and> + </condition> + <command>property-adjust</command> + <property>systems/radio/rmp[1]/hf2-standby</property> + <step>-1</step> + <min>2000</min> + <max>29999</max> + <wrap>true</wrap> + </binding> + + <binding> + <condition> + <and> + <greater-than-equals> + <property>systems/electrical/bus/dc-ess</property> + <value>25</value> + </greater-than-equals> + <property>controls/radio/rmp[1]/on</property> + <equals> + <property>systems/radio/rmp[1]/sel_chan</property> + <value type="string">ls</value> + </equals> + <equals> + <property>systems/radio/rmp[1]/select-crs</property> + <value>0</value> + </equals> + </and> + </condition> + <command>property-adjust</command> + <property>instrumentation/nav[0]/frequencies/standby-mhz</property> + <step>-0.05</step> + <min>108.00</min> + <max>112.00</max> + <wrap>true</wrap> + </binding> + <binding> + <condition> + <and> + <greater-than-equals> + <property>systems/electrical/bus/dc-ess</property> + <value>25</value> + </greater-than-equals> + <property>controls/radio/rmp[1]/on</property> + <equals> + <property>systems/radio/rmp[1]/sel_chan</property> + <value type="string">ls</value> + </equals> + <equals> + <property>systems/radio/rmp[1]/select-crs</property> + <value>1</value> + </equals> + </and> + </condition> + <command>property-adjust</command> + <property>instrumentation/nav[0]/radials/selected-deg</property> + <step>-1</step> + <min>1</min> + <max>361</max> + <wrap>true</wrap> + </binding> + + <binding> + <condition> + <and> + <greater-than-equals> + <property>systems/electrical/bus/dc-ess</property> + <value>25</value> + </greater-than-equals> + <property>controls/radio/rmp[1]/on</property> + <equals> + <property>systems/radio/rmp[1]/sel_chan</property> + <value type="string">vor</value> + </equals> + <equals> + <property>systems/radio/rmp[1]/select-crs</property> + <value>0</value> + </equals> + </and> + </condition> + <command>property-adjust</command> + <property>instrumentation/nav[3]/frequencies/standby-mhz</property> + <step>-0.05</step> + <min>108.00</min> + <max>118.00</max> + <wrap>true</wrap> + </binding> + <binding> + <condition> + <and> + <greater-than-equals> + <property>systems/electrical/bus/dc-ess</property> + <value>25</value> + </greater-than-equals> + <property>controls/radio/rmp[1]/on</property> + <equals> + <property>systems/radio/rmp[1]/sel_chan</property> + <value type="string">vor</value> + </equals> + <equals> + <property>systems/radio/rmp[1]/select-crs</property> + <value>1</value> + </equals> + </and> + </condition> + <command>property-adjust</command> + <property>instrumentation/nav[3]/radials/selected-deg</property> + <step>-1</step> + <min>1</min> + <max>361</max> + <wrap>true</wrap> + </binding> + + <binding> + <condition> + <and> + <greater-than-equals> + <property>systems/electrical/bus/dc-ess</property> + <value>25</value> + </greater-than-equals> + <property>controls/radio/rmp[1]/on</property> + <equals> + <property>systems/radio/rmp[1]/sel_chan</property> + <value type="string">adf</value> + </equals> + </and> + </condition> + <command>property-adjust</command> + <property>instrumentation/adf[1]/frequencies/standby-khz</property> + <step>-1</step> + <min>190</min> + <max>1751</max> + <wrap>true</wrap> + </binding> + </action> + <hovered> + <binding> + <command>set-tooltip</command> + <tooltip-id>rmp2freqkhz-lbl</tooltip-id> + <label>Adjust frequency (8.33 KHz channel)</label> + </binding> + </hovered> + </animation> + + <animation> + <type>pick</type> + <object-name>radio_rot0.fo</object-name> + <action> + <button>0</button> + <button>3</button> + <repeatable>true</repeatable> + + <binding> + <command>property-adjust</command> + <property>/controls/cockpit/rmp2knob0-rotate</property> + <step>1</step> + <min>0</min> + <max>200000</max> + <wrap>true</wrap> + </binding> + + <binding> + <condition> + <and> + <greater-than-equals> + <property>systems/electrical/bus/dc-ess</property> + <value>25</value> + </greater-than-equals> + <property>controls/radio/rmp[1]/on</property> + <equals> + <property>systems/radio/rmp[1]/sel_chan</property> + <value type="string">vhf1</value> + </equals> + </and> + </condition> + <command>property-adjust</command> + <property>systems/radio/rmp[1]/vhf1-standby</property> + <step>1</step> + <min>118.0</min> + <max>137.0</max> + <wrap>true</wrap> + <mask>integer</mask> + </binding> + + <binding> + <condition> + <and> + <greater-than-equals> + <property>systems/electrical/bus/dc-ess</property> + <value>25</value> + </greater-than-equals> + <property>controls/radio/rmp[1]/on</property> + <equals> + <property>systems/radio/rmp[1]/sel_chan</property> + <value type="string">vhf2</value> + </equals> + </and> + </condition> + <command>property-adjust</command> + <property>systems/radio/rmp[1]/vhf2-standby</property> + <step>1</step> + <min>118.0</min> + <max>137.0</max> + <wrap>true</wrap> + <mask>integer</mask> + </binding> + + <binding> + <condition> + <and> + <greater-than-equals> + <property>systems/electrical/bus/dc-ess</property> + <value>25</value> + </greater-than-equals> + <property>controls/radio/rmp[1]/on</property> + <equals> + <property>systems/radio/rmp[1]/sel_chan</property> + <value type="string">vhf3</value> + </equals> + <not> + <equals> + <property>systems/radio/rmp[1]/vhf3-standby</property> + <value>0</value> + </equals> + </not> + </and> + </condition> + <command>property-adjust</command> + <property>systems/radio/rmp[1]/vhf3-standby</property> + <step>1</step> + <min>118.0</min> + <max>137.0</max> + <wrap>true</wrap> + <mask>integer</mask> + </binding> + + <binding> + <condition> + <and> + <greater-than-equals> + <property>systems/electrical/bus/dc-ess</property> + <value>25</value> + </greater-than-equals> + <property>controls/radio/rmp[1]/on</property> + <equals> + <property>systems/radio/rmp[1]/sel_chan</property> + <value type="string">hf1</value> + </equals> + </and> + </condition> + <command>property-adjust</command> + <property>systems/radio/rmp[1]/hf1-standby</property> + <step>100</step> + <min>2000</min> + <max>29999</max> + <wrap>true</wrap> + <mask>integer</mask> + </binding> + + <binding> + <condition> + <and> + <greater-than-equals> + <property>systems/electrical/bus/dc-ess</property> + <value>25</value> + </greater-than-equals> + <property>controls/radio/rmp[1]/on</property> + <equals> + <property>systems/radio/rmp[1]/sel_chan</property> + <value type="string">hf2</value> + </equals> + </and> + </condition> + <command>property-adjust</command> + <property>systems/radio/rmp[1]/hf2-standby</property> + <step>100</step> + <min>2000</min> + <max>29999</max> + <wrap>true</wrap> + <mask>integer</mask> + </binding> + + <binding> + <condition> + <and> + <greater-than-equals> + <property>systems/electrical/bus/dc-ess</property> + <value>25</value> + </greater-than-equals> + <property>controls/radio/rmp[1]/on</property> + <equals> + <property>systems/radio/rmp[1]/sel_chan</property> + <value type="string">ls</value> + </equals> + <equals> + <property>systems/radio/rmp[1]/select-crs</property> + <value>0</value> + </equals> + </and> + </condition> + <command>property-adjust</command> + <property>instrumentation/nav[0]/frequencies/standby-mhz</property> + <step>1.00</step> + <min>108.00</min> + <max>112.00</max> + <wrap>true</wrap> + </binding> + + <binding> + <condition> + <and> + <greater-than-equals> + <property>systems/electrical/bus/dc-ess</property> + <value>25</value> + </greater-than-equals> + <property>controls/radio/rmp[1]/on</property> + <equals> + <property>systems/radio/rmp[1]/sel_chan</property> + <value type="string">vor</value> + </equals> + <equals> + <property>systems/radio/rmp[1]/select-crs</property> + <value>0</value> + </equals> + </and> + </condition> + <command>property-adjust</command> + <property>instrumentation/nav[3]/frequencies/standby-mhz</property> + <step>1.00</step> + <min>108.00</min> + <max>118.00</max> + <wrap>true</wrap> + </binding> + </action> + <action> + <button>1</button> + <button>4</button> + <repeatable>true</repeatable> + + <binding> + <command>property-adjust</command> + <property>/controls/cockpit/rmp2knob0-rotate</property> + <step>-1</step> + <min>0</min> + <max>200000</max> + <wrap>true</wrap> + </binding> + + + <binding> + <condition> + <and> + <greater-than-equals> + <property>systems/electrical/bus/dc-ess</property> + <value>25</value> + </greater-than-equals> + <property>controls/radio/rmp[1]/on</property> + <equals> + <property>systems/radio/rmp[1]/sel_chan</property> + <value type="string">vhf1</value> + </equals> + </and> + </condition> + <command>property-adjust</command> + <property>systems/radio/rmp[1]/vhf1-standby</property> + <step>-1</step> + <min>118.0</min> + <max>137.0</max> + <wrap>true</wrap> + <mask>integer</mask> + </binding> + + <binding> + <condition> + <and> + <greater-than-equals> + <property>systems/electrical/bus/dc-ess</property> + <value>25</value> + </greater-than-equals> + <property>controls/radio/rmp[1]/on</property> + <equals> + <property>systems/radio/rmp[1]/sel_chan</property> + <value type="string">vhf2</value> + </equals> + </and> + </condition> + <command>property-adjust</command> + <property>systems/radio/rmp[1]/vhf2-standby</property> + <step>-1</step> + <min>118.0</min> + <max>137.0</max> + <wrap>true</wrap> + <mask>integer</mask> + </binding> + + <binding> + <condition> + <and> + <greater-than-equals> + <property>systems/electrical/bus/dc-ess</property> + <value>25</value> + </greater-than-equals> + <property>controls/radio/rmp[1]/on</property> + <equals> + <property>systems/radio/rmp[1]/sel_chan</property> + <value type="string">vhf3</value> + </equals> + <not> + <equals> + <property>systems/radio/rmp[1]/vhf3-standby</property> + <value>0</value> + </equals> + </not> + </and> + </condition> + <command>property-adjust</command> + <property>systems/radio/rmp[1]/vhf3-standby</property> + <step>-1</step> + <min>118.0</min> + <max>137.0</max> + <wrap>true</wrap> + <mask>integer</mask> + </binding> + + <binding> + <condition> + <and> + <greater-than-equals> + <property>systems/electrical/bus/dc-ess</property> + <value>25</value> + </greater-than-equals> + <property>controls/radio/rmp[1]/on</property> + <equals> + <property>systems/radio/rmp[1]/sel_chan</property> + <value type="string">hf1</value> + </equals> + </and> + </condition> + <command>property-adjust</command> + <property>systems/radio/rmp[1]/hf1-standby</property> + <step>-100</step> + <min>2000</min> + <max>29999</max> + <wrap>true</wrap> + <mask>integer</mask> + </binding> + + <binding> + <condition> + <and> + <greater-than-equals> + <property>systems/electrical/bus/dc-ess</property> + <value>25</value> + </greater-than-equals> + <property>controls/radio/rmp[1]/on</property> + <equals> + <property>systems/radio/rmp[1]/sel_chan</property> + <value type="string">hf2</value> + </equals> + </and> + </condition> + <command>property-adjust</command> + <property>systems/radio/rmp[1]/hf2-standby</property> + <step>-100</step> + <min>2000</min> + <max>29999</max> + <wrap>true</wrap> + <mask>integer</mask> + </binding> + + <binding> + <condition> + <and> + <greater-than-equals> + <property>systems/electrical/bus/dc-ess</property> + <value>25</value> + </greater-than-equals> + <property>controls/radio/rmp[1]/on</property> + <equals> + <property>systems/radio/rmp[1]/sel_chan</property> + <value type="string">ls</value> + </equals> + <equals> + <property>systems/radio/rmp[1]/select-crs</property> + <value>0</value> + </equals> + </and> + </condition> + <command>property-adjust</command> + <property>instrumentation/nav[0]/frequencies/standby-mhz</property> + <step>-1.00</step> + <min>108.00</min> + <max>112.00</max> + <wrap>true</wrap> + </binding> + + <binding> + <condition> + <and> + <greater-than-equals> + <property>systems/electrical/bus/dc-ess</property> + <value>25</value> + </greater-than-equals> + <property>controls/radio/rmp[1]/on</property> + <equals> + <property>systems/radio/rmp[1]/sel_chan</property> + <value type="string">vor</value> + </equals> + <equals> + <property>systems/radio/rmp[1]/select-crs</property> + <value>0</value> + </equals> + </and> + </condition> + <command>property-adjust</command> + <property>instrumentation/nav[3]/frequencies/standby-mhz</property> + <step>-1</step> + <min>108.00</min> + <max>118.00</max> + <wrap>true</wrap> + </binding> + </action> + <hovered> + <binding> + <command>set-tooltip</command> + <tooltip-id>rmp2freqmhz-lbl</tooltip-id> + <label>Adjust frequency (1 MHz)</label> + </binding> + </hovered> + </animation> + + <!-- On Switch --> + <animation> + <type>knob</type> + <object-name>radio_on.fo</object-name> + <property>controls/cockpit/rmp-r-on-pos</property> + <factor>-40</factor> + <offset-deg>20</offset-deg> + <axis> + <object-name>radio_on.axis.fo</object-name> + </axis> + <action> + <binding> + <command>property-cycle</command> + <property>controls/radio/rmp[1]/on</property> + <value>0</value> + <value>1</value> + <wrap>false</wrap> + </binding> + <binding> + <command>nasal</command> + <script>setprop("sim/sounde/switch1", 1);</script> + </binding> + </action> + <hovered> + <binding> + <command>set-tooltip</command> + <tooltip-id>rmp2on-lbl</tooltip-id> + <label>Toggle right RMP</label> + </binding> + </hovered> + </animation> + + <!-- VHF1 --> + <animation> + <type>pick</type> + <object-name>radio_vhf1.fo</object-name> + <action> + <button>0</button> + <repeatable>true</repeatable> + <binding> + <command>property-assign</command> + <property>systems/radio/rmp[1]/sel_chan</property> + <value>vhf1</value> + <condition> + <and> + <greater-than-equals> + <property>systems/electrical/bus/dc-ess</property> + <value>25</value> + </greater-than-equals> + <property>controls/radio/rmp[1]/on</property> + </and> + </condition> + </binding> + <binding> + <command>nasal</command> + <script>libraries.pushbutton();</script> + </binding> + <binding> + <command>property-assign</command> + <property>/controls/cockpit/rmp2vhf1-translate</property> + <value>0.0005</value> + </binding> + <mod-up> + <binding> + <command>property-assign</command> + <property>/controls/cockpit/rmp2vhf1-translate</property> + <value>0.0</value> + </binding> + </mod-up> + </action> + <hovered> + <binding> + <command>set-tooltip</command> + <tooltip-id>rmp2vhf1-lbl</tooltip-id> + <label>Select VHF1 radio</label> + </binding> + </hovered> + </animation> + + <animation> + <type>translate</type> + <object-name>radio_vhf1.fo</object-name> + <property>/controls/cockpit/rmp2vhf1-translate</property> + <axis> + <x1-m>-0.20717</x1-m> + <y1-m>-0.23244</y1-m> + <z1-m>-0.094255</z1-m> + <x2-m>-0.20758</x2-m> + <y2-m>-0.23244</y2-m> + <z2-m>-0.096745</z2-m> + </axis> + </animation> + + <animation> + <type>pick</type> + <object-name>radio_vhf2.fo</object-name> + <action> + <button>0</button> + <repeatable>true</repeatable> + <binding> + <command>property-assign</command> + <property>systems/radio/rmp[1]/sel_chan</property> + <value>vhf2</value> + <condition> + <and> + <greater-than-equals> + <property>systems/electrical/bus/dc-ess</property> + <value>25</value> + </greater-than-equals> + <property>controls/radio/rmp[1]/on</property> + </and> + </condition> + </binding> + <binding> + <command>nasal</command> + <script>libraries.pushbutton();</script> + </binding> + <binding> + <command>property-assign</command> + <property>/controls/cockpit/rmp2vhf2-translate</property> + <value>0.0005</value> + </binding> + <mod-up> + <binding> + <command>property-assign</command> + <property>/controls/cockpit/rmp2vhf2-translate</property> + <value>0.0</value> + </binding> + </mod-up> + </action> + <hovered> + <binding> + <command>set-tooltip</command> + <tooltip-id>rmp2vhf2-lbl</tooltip-id> + <label>Select VHF2 radio</label> + </binding> + </hovered> + </animation> + + <animation> + <type>translate</type> + <object-name>radio_vhf2.fo</object-name> + <property>/controls/cockpit/rmp2vhf2-translate</property> + <axis> + <x1-m>-0.20717</x1-m> + <y1-m>-0.23244</y1-m> + <z1-m>-0.094255</z1-m> + <x2-m>-0.20758</x2-m> + <y2-m>-0.23244</y2-m> + <z2-m>-0.096745</z2-m> + </axis> + </animation> + + <animation> + <type>pick</type> + <object-name>radio_vhf3.fo</object-name> + <action> + <button>0</button> + <repeatable>true</repeatable> + <binding> + <command>property-assign</command> + <property>systems/radio/rmp[1]/sel_chan</property> + <value>vhf3</value> + <condition> + <and> + <greater-than-equals> + <property>systems/electrical/bus/dc-ess</property> + <value>25</value> + </greater-than-equals> + <property>controls/radio/rmp[1]/on</property> + </and> + </condition> + </binding> + <binding> + <command>nasal</command> + <script>libraries.pushbutton();</script> + </binding> + <binding> + <command>property-assign</command> + <property>/controls/cockpit/rmp2vhf3-translate</property> + <value>0.0005</value> + </binding> + <mod-up> + <binding> + <command>property-assign</command> + <property>/controls/cockpit/rmp2vhf3-translate</property> + <value>0.0</value> + </binding> + </mod-up> + </action> + <hovered> + <binding> + <command>set-tooltip</command> + <tooltip-id>rmp2vhf3-lbl</tooltip-id> + <label>Select VHF3 radio</label> + </binding> + </hovered> + </animation> + + <animation> + <type>translate</type> + <object-name>radio_vhf3.fo</object-name> + <property>/controls/cockpit/rmp2vhf3-translate</property> + <axis> + <x1-m>-0.20717</x1-m> + <y1-m>-0.23244</y1-m> + <z1-m>-0.094255</z1-m> + <x2-m>-0.20758</x2-m> + <y2-m>-0.23244</y2-m> + <z2-m>-0.096745</z2-m> + </axis> + </animation> + + <!-- HF1 --> + <animation> + <type>pick</type> + <object-name>radio_hf1.fo</object-name> + <action> + <button>0</button> + <repeatable>true</repeatable> + <binding> + <command>property-assign</command> + <property>systems/radio/rmp[1]/sel_chan</property> + <value>hf1</value> + <condition> + <and> + <greater-than-equals> + <property>systems/electrical/bus/dc-ess</property> + <value>25</value> + </greater-than-equals> + <property>controls/radio/rmp[1]/on</property> + </and> + </condition> + </binding> + <binding> + <command>nasal</command> + <script>libraries.pushbutton();</script> + </binding> + <binding> + <command>property-assign</command> + <property>/controls/cockpit/rmp2hf1-translate</property> + <value>0.0005</value> + </binding> + <mod-up> + <binding> + <command>property-assign</command> + <property>/controls/cockpit/rmp2hf1-translate</property> + <value>0.0</value> + </binding> + </mod-up> + </action> + <hovered> + <binding> + <command>set-tooltip</command> + <tooltip-id>rmp2hf1-lbl</tooltip-id> + <label>Select HF1 radio</label> + </binding> + </hovered> + </animation> + + <animation> + <type>translate</type> + <object-name>radio_hf1.fo</object-name> + <property>/controls/cockpit/rmp2hf1-translate</property> + <axis> + <x1-m>-0.20717</x1-m> + <y1-m>-0.23244</y1-m> + <z1-m>-0.094255</z1-m> + <x2-m>-0.20758</x2-m> + <y2-m>-0.23244</y2-m> + <z2-m>-0.096745</z2-m> + </axis> + </animation> + + <animation> + <type>pick</type> + <object-name>radio_hf2.fo</object-name> + <action> + <button>0</button> + <repeatable>true</repeatable> + <binding> + <command>property-assign</command> + <property>systems/radio/rmp[1]/sel_chan</property> + <value>hf2</value> + <condition> + <and> + <greater-than-equals> + <property>systems/electrical/bus/dc-ess</property> + <value>25</value> + </greater-than-equals> + <property>controls/radio/rmp[1]/on</property> + </and> + </condition> + </binding> + <binding> + <command>nasal</command> + <script>libraries.pushbutton();</script> + </binding> + <binding> + <command>property-assign</command> + <property>/controls/cockpit/rmp2hf2-translate</property> + <value>0.0005</value> + </binding> + <mod-up> + <binding> + <command>property-assign</command> + <property>/controls/cockpit/rmp2hf2-translate</property> + <value>0.0</value> + </binding> + </mod-up> + </action> + <hovered> + <binding> + <command>set-tooltip</command> + <tooltip-id>rmp2hf2-lbl</tooltip-id> + <label>Select HF2 radio</label> + </binding> + </hovered> + </animation> + + <animation> + <type>translate</type> + <object-name>radio_hf2.fo</object-name> + <property>/controls/cockpit/rmp2hf2-translate</property> + <axis> + <x1-m>-0.20717</x1-m> + <y1-m>-0.23244</y1-m> + <z1-m>-0.094255</z1-m> + <x2-m>-0.20758</x2-m> + <y2-m>-0.23244</y2-m> + <z2-m>-0.096745</z2-m> + </axis> + </animation> + + <!-- AM Mode --> + <animation> + <type>pick</type> + <object-name>radio_am.fo</object-name> + <action> + <button>0</button> + <repeatable>true</repeatable> + <binding> + <command>property-toggle</command> + <property>systems/radio/rmp[1]/am-active</property> + <condition> + <and> + <greater-than-equals> + <property>systems/electrical/bus/dc-ess</property> + <value>25</value> + </greater-than-equals> + <property>controls/radio/rmp[1]/on</property> + <or> + <equals> + <property>systems/radio/rmp[1]/sel_chan</property> + <value>hf1</value> + </equals> + <equals> + <property>systems/radio/rmp[1]/sel_chan</property> + <value>hf2</value> + </equals> + </or> + </and> + </condition> + </binding> + <binding> + <command>nasal</command> + <script>libraries.pushbutton();</script> + </binding> + <binding> + <command>property-assign</command> + <property>/controls/cockpit/rmp2am-translate</property> + <value>0.0005</value> + </binding> + <mod-up> + <binding> + <command>property-assign</command> + <property>/controls/cockpit/rmp2am-translate</property> + <value>0.0</value> + </binding> + </mod-up> + </action> + <hovered> + <binding> + <command>set-tooltip</command> + <tooltip-id>rmp2am-lbl</tooltip-id> + <label>Select AM modulation</label> + </binding> + </hovered> + </animation> + + <animation> + <type>translate</type> + <object-name>radio_am.fo</object-name> + <property>/controls/cockpit/rmp2am-translate</property> + <axis> + <x1-m>-0.20717</x1-m> + <y1-m>-0.23244</y1-m> + <z1-m>-0.094255</z1-m> + <x2-m>-0.20758</x2-m> + <y2-m>-0.23244</y2-m> + <z2-m>-0.096745</z2-m> + </axis> + </animation> + + <!-- Transfer --> + <animation> + <type>pick</type> + <object-name>radio_exchange.fo</object-name> + <action> + <button>0</button> + <repeatable>false</repeatable> + <binding> + <command>nasal</command> + <script>rmp.transfer(2);</script> + <condition> + <and> + <greater-than-equals> + <property>systems/electrical/bus/dc-ess</property> + <value>25</value> + </greater-than-equals> + <property>controls/radio/rmp[1]/on</property> + </and> + </condition> + </binding> + <binding> + <command>nasal</command> + <script>libraries.pushbutton();</script> + </binding> + <binding> + <command>property-assign</command> + <property>/controls/cockpit/rmpxfrfo-translate</property> + <value>0.0005</value> + </binding> + <mod-up> + <binding> + <command>property-assign</command> + <property>/controls/cockpit/rmpxfrfo-translate</property> + <value>0.0</value> + </binding> + </mod-up> + </action> + <hovered> + <binding> + <command>set-tooltip</command> + <tooltip-id>rmpxfrfo-lbl</tooltip-id> + <label>Swap standby / active frequencies</label> + </binding> + </hovered> + </animation> + + <animation> + <type>translate</type> + <object-name>radio_exchange.fo</object-name> + <property>/controls/cockpit/rmpxfrfo-translate</property> + <axis> + <x1-m>-0.20717</x1-m> + <y1-m>-0.23244</y1-m> + <z1-m>-0.094255</z1-m> + <x2-m>-0.20758</x2-m> + <y2-m>-0.23244</y2-m> + <z2-m>-0.096745</z2-m> + </axis> + </animation> + + <!-- SEL Light --> + <animation> + <type>select</type> + <object-name>radio_sel_led.fo</object-name> + <condition> + <or> + <property>controls/switches/annun-test</property> + <and> + <greater-than-equals> + <property>systems/electrical/bus/dc-ess</property> + <value>25</value> + </greater-than-equals> + <property>controls/radio/rmp[1]/on</property> + <property>systems/radio/rmp[1]/sel-light</property> + </and> + </or> + </condition> + </animation> + + <!-- Status Lights --> + <animation> + <type>select</type> + <object-name>radio_vhf1_led.fo</object-name> + <condition> + <or> + <property>controls/switches/annun-test</property> + <and> + <greater-than-equals> + <property>systems/electrical/bus/dc-ess</property> + <value>25</value> + </greater-than-equals> + <equals> + <property>systems/radio/rmp[1]/sel_chan</property> + <value type="string">vhf1</value> + </equals> + <property>controls/radio/rmp[1]/on</property> + </and> + </or> + </condition> + </animation> + + <animation> + <type>select</type> + <object-name>radio_vhf2_led.fo</object-name> + <condition> + <or> + <property>controls/switches/annun-test</property> + <and> + <greater-than-equals> + <property>systems/electrical/bus/dc-ess</property> + <value>25</value> + </greater-than-equals> + <equals> + <property>systems/radio/rmp[1]/sel_chan</property> + <value type="string">vhf2</value> + </equals> + <property>controls/radio/rmp[1]/on</property> + </and> + </or> + </condition> + </animation> + + <animation> + <type>select</type> + <object-name>radio_vhf3_led.fo</object-name> + <condition> + <or> + <property>controls/switches/annun-test</property> + <and> + <greater-than-equals> + <property>systems/electrical/bus/dc-ess</property> + <value>25</value> + </greater-than-equals> + <equals> + <property>systems/radio/rmp[1]/sel_chan</property> + <value type="string">vhf3</value> + </equals> + <property>controls/radio/rmp[1]/on</property> + </and> + </or> + </condition> + </animation> + + <animation> + <type>select</type> + <object-name>radio_hf1_led.fo</object-name> + <condition> + <or> + <property>controls/switches/annun-test</property> + <and> + <greater-than-equals> + <property>systems/electrical/bus/dc-ess</property> + <value>25</value> + </greater-than-equals> + <equals> + <property>systems/radio/rmp[1]/sel_chan</property> + <value type="string">hf1</value> + </equals> + <property>controls/radio/rmp[1]/on</property> + </and> + </or> + </condition> + </animation> + + <animation> + <type>select</type> + <object-name>radio_hf2_led.fo</object-name> + <condition> + <or> + <property>controls/switches/annun-test</property> + <and> + <greater-than-equals> + <property>systems/electrical/bus/dc-ess</property> + <value>25</value> + </greater-than-equals> + <equals> + <property>systems/radio/rmp[1]/sel_chan</property> + <value type="string">hf2</value> + </equals> + <property>controls/radio/rmp[1]/on</property> + </and> + </or> + </condition> + </animation> + + <animation> + <type>select</type> + <object-name>radio_nav_led.fo</object-name> + <condition> + <or> + <property>controls/switches/annun-test</property> + <and> + <greater-than-equals> + <property>systems/electrical/bus/dc-ess</property> + <value>25</value> + </greater-than-equals> + <property>systems/radio/rmp[1]/nav</property> + <property>controls/radio/rmp[1]/on</property> + </and> + </or> + </condition> + </animation> + + <animation> + <type>select</type> + <object-name>radio_vor_led.fo</object-name> + <condition> + <or> + <property>controls/switches/annun-test</property> + <and> + <greater-than-equals> + <property>systems/electrical/bus/dc-ess</property> + <value>25</value> + </greater-than-equals> + <equals> + <property>systems/radio/rmp[1]/sel_chan</property> + <value type="string">vor</value> + </equals> + <property>controls/radio/rmp[1]/on</property> + </and> + </or> + </condition> + </animation> + + <animation> + <type>select</type> + <object-name>radio_ls_led.fo</object-name> + <condition> + <or> + <property>controls/switches/annun-test</property> + <and> + <greater-than-equals> + <property>systems/electrical/bus/dc-ess</property> + <value>25</value> + </greater-than-equals> + <equals> + <property>systems/radio/rmp[1]/sel_chan</property> + <value type="string">ls</value> + </equals> + <property>controls/radio/rmp[1]/on</property> + </and> + </or> + </condition> + </animation> + + <animation> + <type>select</type> + <object-name>radio_adf_led.fo</object-name> + <condition> + <or> + <property>controls/switches/annun-test</property> + <and> + <greater-than-equals> + <property>systems/electrical/bus/dc-ess</property> + <value>25</value> + </greater-than-equals> + <equals> + <property>systems/radio/rmp[1]/sel_chan</property> + <value type="string">adf</value> + </equals> + <property>controls/radio/rmp[1]/on</property> + </and> + </or> + </condition> + </animation> + + <animation> + <type>select</type> + <object-name>radio_bfo_led.fo</object-name> + <condition> + <or> + <property>controls/switches/annun-test</property> + <and> + <greater-than-equals> + <property>systems/electrical/bus/dc-ess</property> + <value>25</value> + </greater-than-equals> + <property>systems/radio/rmp[1]/bfo-active</property> + <property>controls/radio/rmp[1]/on</property> + </and> + </or> + </condition> + </animation> + + <animation> + <type>select</type> + <object-name>radio_am_led.fo</object-name> + <condition> + <or> + <property>controls/switches/annun-test</property> + <and> + <greater-than-equals> + <property>systems/electrical/bus/dc-ess</property> + <value>25</value> + </greater-than-equals> + <equals> + <property>systems/radio/rmp[1]/am-active</property> + <value>1</value> + </equals> + <property>controls/radio/rmp[1]/on</property> + </and> + </or> + </condition> + </animation> + <!-- ATC --> <!-- Keypad --> @@ -27330,7 +31078,6 @@ <object-name>radar_tilt</object-name> <object-name>radar_mode</object-name> <object-name>radar_gain</object-name> - <object-name>radio_rot1</object-name> <object-name>vu112_aids</object-name> <object-name>vu112_dfdr</object-name> <object-name>dcduBodyL</object-name> @@ -27414,8 +31161,10 @@ <object-name>LandingLtSwtch</object-name> <object-name>LandingLtRSwtch</object-name> <object-name>radio_body</object-name> - <object-name>radio_rot0</object-name> - <object-name>radio_rot1</object-name> + <object-name>radio_rot0.cpt</object-name> + <object-name>radio_rot1.cpt</object-name> + <object-name>radio_rot0.fo</object-name> + <object-name>radio_rot1.fo</object-name> <object-name>radio_on</object-name> <object-name>audio_body</object-name> <object-name>audio_int_rad</object-name> @@ -27764,8 +31513,10 @@ <object-name>Eng2ManStartProt</object-name> <object-name>EmerCallProt</object-name> <object-name>radio_body</object-name> - <object-name>radio_rot0</object-name> - <object-name>radio_rot1</object-name> + <object-name>radio_rot0.cpt</object-name> + <object-name>radio_rot1.cpt</object-name> + <object-name>radio_rot0.fo</object-name> + <object-name>radio_rot1.fo</object-name> <object-name>radio_on</object-name> <object-name>audio_body</object-name> <object-name>audio_int_rad</object-name> diff --git a/Models/Instruments/Radio/Radio1.xml b/Models/Instruments/Radio/Radio1.xml index fc30d398..d6ea3827 100644 --- a/Models/Instruments/Radio/Radio1.xml +++ b/Models/Instruments/Radio/Radio1.xml @@ -12,8 +12,14 @@ <!-- On Switch --> <animation> - <type>pick</type> - <object-name>radio_on</object-name> + <type>knob</type> + <object-name>radio_on.cpt</object-name> + <property>controls/cockpit/rmp-l-on-pos</property> + <factor>-40</factor> + <offset-deg>20</offset-deg> + <axis> + <object-name>radio_on.axis</object-name> + </axis> <action> <button>0</button> <repeatable>false</repeatable> @@ -22,24 +28,13 @@ <property>controls/radio/rmp[0]/on</property> </binding> </action> - </animation> - <animation> - <type>rotate</type> - <object-name>radio_on</object-name> - <property>controls/radio/rmp[0]/on</property> - <interpolation> - <entry> - <ind>0</ind> - <dep>20</dep> - </entry> - <entry> - <ind>1</ind> - <dep>-20</dep> - </entry> - </interpolation> - <axis> - <object-name>radio_on.axis</object-name> - </axis> + <hovered> + <binding> + <command>set-tooltip</command> + <tooltip-id>rmp1on-lbl</tooltip-id> + <label>Toggle left RMP</label> + </binding> + </hovered> </animation> <!-- VHF1 --> @@ -59,10 +54,7 @@ <property>systems/electrical/bus/dc-ess</property> <value>25</value> </greater-than-equals> - <equals> - <property>controls/radio/rmp[0]/on</property> - <value>1</value> - </equals> + <property>controls/radio/rmp[0]/on</property> </and> </condition> </binding> @@ -86,10 +78,7 @@ <property>systems/electrical/bus/dc-ess</property> <value>25</value> </greater-than-equals> - <equals> - <property>controls/radio/rmp[0]/on</property> - <value>1</value> - </equals> + <property>controls/radio/rmp[0]/on</property> </and> </condition> </binding> @@ -113,10 +102,7 @@ <property>systems/electrical/bus/dc-ess</property> <value>25</value> </greater-than-equals> - <equals> - <property>controls/radio/rmp[0]/on</property> - <value>1</value> - </equals> + <property>controls/radio/rmp[0]/on</property> </and> </condition> </binding> @@ -140,10 +126,7 @@ <property>systems/electrical/bus/dc-ess</property> <value>25</value> </greater-than-equals> - <equals> - <property>controls/radio/rmp[0]/on</property> - <value>1</value> - </equals> + <property>controls/radio/rmp[0]/on</property> </and> </condition> </binding> @@ -167,10 +150,7 @@ <property>systems/electrical/bus/dc-ess</property> <value>25</value> </greater-than-equals> - <equals> - <property>controls/radio/rmp[0]/on</property> - <value>1</value> - </equals> + <property>controls/radio/rmp[0]/on</property> </and> </condition> </binding> @@ -193,10 +173,7 @@ <property>systems/electrical/bus/dc-ess</property> <value>25</value> </greater-than-equals> - <equals> - <property>controls/radio/rmp[0]/on</property> - <value>1</value> - </equals> + <property>controls/radio/rmp[0]/on</property> <or> <equals> <property>systems/radio/rmp[0]/sel_chan</property> @@ -229,1238 +206,13 @@ <property>systems/electrical/bus/dc-ess</property> <value>25</value> </greater-than-equals> - <equals> - <property>controls/radio/rmp[0]/on</property> - <value>1</value> - </equals> + <property>controls/radio/rmp[0]/on</property> </and> </condition> </binding> </action> </animation> - <!-- Knob --> - <!-- We use a little hack to get 8.33MHz spacing working: - First we assign our current STBY freq we want to adjust to the default instrument. - Then we change the channel there. - Finally we assign the value back to out own prop. - --> - <animation> - <type>pick</type> - <object-name>radio_rot1</object-name> - <action> - <button>0</button> - <button>3</button> - <repeatable>true</repeatable> - - <binding> - <condition> - <and> - <greater-than-equals> - <property>systems/electrical/bus/dc-ess</property> - <value>25</value> - </greater-than-equals> - <equals> - <property>controls/radio/rmp[0]/on</property> - <value>1</value> - </equals> - <equals> - <property>systems/radio/rmp[0]/sel_chan</property> - <value type="string">vhf1</value> - </equals> - </and> - </condition> - <command>property-assign</command> - <property>instrumentation/comm[0]/frequencies/standby-mhz</property> - <property>systems/radio/rmp[0]/vhf1-standby</property> - </binding> - <binding> - <condition> - <and> - <greater-than-equals> - <property>systems/electrical/bus/dc-ess</property> - <value>25</value> - </greater-than-equals> - <equals> - <property>controls/radio/rmp[0]/on</property> - <value>1</value> - </equals> - <equals> - <property>systems/radio/rmp[0]/sel_chan</property> - <value type="string">vhf1</value> - </equals> - </and> - </condition> - <command>property-adjust</command> - <property>instrumentation/comm[0]/frequencies/standby-channel</property> - <step>1</step> - </binding> - <binding> - <condition> - <and> - <greater-than-equals> - <property>systems/electrical/bus/dc-ess</property> - <value>25</value> - </greater-than-equals> - <equals> - <property>controls/radio/rmp[0]/on</property> - <value>1</value> - </equals> - <equals> - <property>systems/radio/rmp[0]/sel_chan</property> - <value type="string">vhf1</value> - </equals> - </and> - </condition> - <command>property-assign</command> - <property>systems/radio/rmp[0]/vhf1-standby</property> - <property>instrumentation/comm[0]/frequencies/standby-mhz</property> - </binding> - - <binding> - <condition> - <and> - <greater-than-equals> - <property>systems/electrical/bus/dc-ess</property> - <value>25</value> - </greater-than-equals> - <equals> - <property>controls/radio/rmp[0]/on</property> - <value>1</value> - </equals> - <equals> - <property>systems/radio/rmp[0]/sel_chan</property> - <value type="string">vhf2</value> - </equals> - </and> - </condition> - <command>property-assign</command> - <property>instrumentation/comm[0]/frequencies/standby-mhz</property> - <property>systems/radio/rmp[0]/vhf2-standby</property> - </binding> - <binding> - <condition> - <and> - <greater-than-equals> - <property>systems/electrical/bus/dc-ess</property> - <value>25</value> - </greater-than-equals> - <equals> - <property>controls/radio/rmp[0]/on</property> - <value>1</value> - </equals> - <equals> - <property>systems/radio/rmp[0]/sel_chan</property> - <value type="string">vhf2</value> - </equals> - </and> - </condition> - <command>property-adjust</command> - <property>instrumentation/comm[0]/frequencies/standby-channel</property> - <step>1</step> - </binding> - <binding> - <condition> - <and> - <greater-than-equals> - <property>systems/electrical/bus/dc-ess</property> - <value>25</value> - </greater-than-equals> - <equals> - <property>controls/radio/rmp[0]/on</property> - <value>1</value> - </equals> - <equals> - <property>systems/radio/rmp[0]/sel_chan</property> - <value type="string">vhf2</value> - </equals> - </and> - </condition> - <command>property-assign</command> - <property>systems/radio/rmp[0]/vhf2-standby</property> - <property>instrumentation/comm[0]/frequencies/standby-mhz</property> - </binding> - - <binding> - <condition> - <and> - <greater-than-equals> - <property>systems/electrical/bus/dc-ess</property> - <value>25</value> - </greater-than-equals> - <equals> - <property>controls/radio/rmp[0]/on</property> - <value>1</value> - </equals> - <equals> - <property>systems/radio/rmp[0]/sel_chan</property> - <value type="string">vhf3</value> - </equals> - <not> - <equals> - <property>systems/radio/rmp[0]/vhf3-standby</property> - <value>0</value> - </equals> - </not> - </and> - </condition> - <command>property-assign</command> - <property>instrumentation/comm[0]/frequencies/standby-mhz</property> - <property>systems/radio/rmp[0]/vhf3-standby</property> - </binding> - <binding> - <condition> - <and> - <greater-than-equals> - <property>systems/electrical/bus/dc-ess</property> - <value>25</value> - </greater-than-equals> - <equals> - <property>controls/radio/rmp[0]/on</property> - <value>1</value> - </equals> - <equals> - <property>systems/radio/rmp[0]/sel_chan</property> - <value type="string">vhf3</value> - </equals> - <not> - <equals> - <property>systems/radio/rmp[0]/vhf3-standby</property> - <value>0</value> - </equals> - </not> - </and> - </condition> - <command>property-adjust</command> - <property>instrumentation/comm[0]/frequencies/standby-channel</property> - <step>1</step> - </binding> - <binding> - <condition> - <and> - <greater-than-equals> - <property>systems/electrical/bus/dc-ess</property> - <value>25</value> - </greater-than-equals> - <equals> - <property>controls/radio/rmp[0]/on</property> - <value>1</value> - </equals> - <equals> - <property>systems/radio/rmp[0]/sel_chan</property> - <value type="string">vhf3</value> - </equals> - <not> - <equals> - <property>systems/radio/rmp[0]/vhf3-standby</property> - <value>0</value> - </equals> - </not> - </and> - </condition> - <command>property-assign</command> - <property>systems/radio/rmp[0]/vhf3-standby</property> - <property>instrumentation/comm[0]/frequencies/standby-mhz</property> - </binding> - - <binding> - <condition> - <and> - <greater-than-equals> - <property>systems/electrical/bus/dc-ess</property> - <value>25</value> - </greater-than-equals> - <equals> - <property>controls/radio/rmp[0]/on</property> - <value>1</value> - </equals> - <equals> - <property>systems/radio/rmp[0]/sel_chan</property> - <value type="string">hf1</value> - </equals> - </and> - </condition> - <command>property-adjust</command> - <property>systems/radio/rmp[0]/hf1-standby</property> - <step>1</step> - <min>2000</min> - <max>29999</max> - <wrap>true</wrap> - </binding> - - <binding> - <condition> - <and> - <greater-than-equals> - <property>systems/electrical/bus/dc-ess</property> - <value>25</value> - </greater-than-equals> - <equals> - <property>controls/radio/rmp[0]/on</property> - <value>1</value> - </equals> - <equals> - <property>systems/radio/rmp[0]/sel_chan</property> - <value type="string">hf2</value> - </equals> - </and> - </condition> - <command>property-adjust</command> - <property>systems/radio/rmp[0]/hf2-standby</property> - <step>1</step> - <min>2000</min> - <max>29999</max> - <wrap>true</wrap> - </binding> - - <binding> - <condition> - <and> - <greater-than-equals> - <property>systems/electrical/bus/dc-ess</property> - <value>25</value> - </greater-than-equals> - <equals> - <property>controls/radio/rmp[0]/on</property> - <value>1</value> - </equals> - <equals> - <property>systems/radio/rmp[0]/sel_chan</property> - <value type="string">ls</value> - </equals> - <equals> - <property>systems/radio/rmp[0]/select-crs</property> - <value>0</value> - </equals> - </and> - </condition> - <command>property-adjust</command> - <property>instrumentation/nav[0]/frequencies/standby-mhz</property> - <step>0.05</step> - <min>108.00</min> - <max>112.00</max> - <wrap>true</wrap> - </binding> - <binding> - <condition> - <and> - <greater-than-equals> - <property>systems/electrical/bus/dc-ess</property> - <value>25</value> - </greater-than-equals> - <equals> - <property>controls/radio/rmp[0]/on</property> - <value>1</value> - </equals> - <equals> - <property>systems/radio/rmp[0]/sel_chan</property> - <value type="string">ls</value> - </equals> - <equals> - <property>systems/radio/rmp[0]/select-crs</property> - <value>1</value> - </equals> - </and> - </condition> - <command>property-adjust</command> - <property>instrumentation/nav[0]/radials/selected-deg</property> - <step>1</step> - <min>1</min> - <max>361</max> - <wrap>true</wrap> - </binding> - - <binding> - <condition> - <and> - <greater-than-equals> - <property>systems/electrical/bus/dc-ess</property> - <value>25</value> - </greater-than-equals> - <equals> - <property>controls/radio/rmp[0]/on</property> - <value>1</value> - </equals> - <equals> - <property>systems/radio/rmp[0]/sel_chan</property> - <value type="string">vor</value> - </equals> - <equals> - <property>systems/radio/rmp[0]/select-crs</property> - <value>0</value> - </equals> - </and> - </condition> - <command>property-adjust</command> - <property>instrumentation/nav[2]/frequencies/standby-mhz</property> - <step>0.05</step> - <min>108.00</min> - <max>118.00</max> - <wrap>true</wrap> - </binding> - <binding> - <condition> - <and> - <greater-than-equals> - <property>systems/electrical/bus/dc-ess</property> - <value>25</value> - </greater-than-equals> - <equals> - <property>controls/radio/rmp[0]/on</property> - <value>1</value> - </equals> - <equals> - <property>systems/radio/rmp[0]/sel_chan</property> - <value type="string">vor</value> - </equals> - <equals> - <property>systems/radio/rmp[0]/select-crs</property> - <value>1</value> - </equals> - </and> - </condition> - <command>property-adjust</command> - <property>instrumentation/nav[2]/radials/selected-deg</property> - <step>1</step> - <min>1</min> - <max>361</max> - <wrap>true</wrap> - </binding> - - <binding> - <condition> - <and> - <greater-than-equals> - <property>systems/electrical/bus/dc-ess</property> - <value>25</value> - </greater-than-equals> - <equals> - <property>controls/radio/rmp[0]/on</property> - <value>1</value> - </equals> - <equals> - <property>systems/radio/rmp[0]/sel_chan</property> - <value type="string">adf</value> - </equals> - </and> - </condition> - <command>property-adjust</command> - <property>instrumentation/adf[0]/frequencies/standby-khz</property> - <step>1</step> - <min>190</min> - <max>1751</max> - <wrap>true</wrap> - </binding> - </action> - <action> - <button>1</button> - <button>4</button> - <repeatable>true</repeatable> - - <binding> - <condition> - <and> - <greater-than-equals> - <property>systems/electrical/bus/dc-ess</property> - <value>25</value> - </greater-than-equals> - <equals> - <property>controls/radio/rmp[0]/on</property> - <value>1</value> - </equals> - <equals> - <property>systems/radio/rmp[0]/sel_chan</property> - <value type="string">vhf1</value> - </equals> - </and> - </condition> - <command>property-assign</command> - <property>instrumentation/comm[0]/frequencies/standby-mhz</property> - <property>systems/radio/rmp[0]/vhf1-standby</property> - </binding> - <binding> - <condition> - <and> - <greater-than-equals> - <property>systems/electrical/bus/dc-ess</property> - <value>25</value> - </greater-than-equals> - <equals> - <property>controls/radio/rmp[0]/on</property> - <value>1</value> - </equals> - <equals> - <property>systems/radio/rmp[0]/sel_chan</property> - <value type="string">vhf1</value> - </equals> - </and> - </condition> - <command>property-adjust</command> - <property>instrumentation/comm[0]/frequencies/standby-channel</property> - <step>-1</step> - </binding> - <binding> - <condition> - <and> - <greater-than-equals> - <property>systems/electrical/bus/dc-ess</property> - <value>25</value> - </greater-than-equals> - <equals> - <property>controls/radio/rmp[0]/on</property> - <value>1</value> - </equals> - <equals> - <property>systems/radio/rmp[0]/sel_chan</property> - <value type="string">vhf1</value> - </equals> - </and> - </condition> - <command>property-assign</command> - <property>systems/radio/rmp[0]/vhf1-standby</property> - <property>instrumentation/comm[0]/frequencies/standby-mhz</property> - </binding> - - <binding> - <condition> - <and> - <greater-than-equals> - <property>systems/electrical/bus/dc-ess</property> - <value>25</value> - </greater-than-equals> - <equals> - <property>controls/radio/rmp[0]/on</property> - <value>1</value> - </equals> - <equals> - <property>systems/radio/rmp[0]/sel_chan</property> - <value type="string">vhf2</value> - </equals> - </and> - </condition> - <command>property-assign</command> - <property>instrumentation/comm[0]/frequencies/standby-mhz</property> - <property>systems/radio/rmp[0]/vhf2-standby</property> - </binding> - <binding> - <condition> - <and> - <greater-than-equals> - <property>systems/electrical/bus/dc-ess</property> - <value>25</value> - </greater-than-equals> - <equals> - <property>controls/radio/rmp[0]/on</property> - <value>1</value> - </equals> - <equals> - <property>systems/radio/rmp[0]/sel_chan</property> - <value type="string">vhf2</value> - </equals> - </and> - </condition> - <command>property-adjust</command> - <property>instrumentation/comm[0]/frequencies/standby-channel</property> - <step>-1</step> - </binding> - <binding> - <condition> - <and> - <greater-than-equals> - <property>systems/electrical/bus/dc-ess</property> - <value>25</value> - </greater-than-equals> - <equals> - <property>controls/radio/rmp[0]/on</property> - <value>1</value> - </equals> - <equals> - <property>systems/radio/rmp[0]/sel_chan</property> - <value type="string">vhf2</value> - </equals> - </and> - </condition> - <command>property-assign</command> - <property>systems/radio/rmp[0]/vhf2-standby</property> - <property>instrumentation/comm[0]/frequencies/standby-mhz</property> - </binding> - - <binding> - <condition> - <and> - <greater-than-equals> - <property>systems/electrical/bus/dc-ess</property> - <value>25</value> - </greater-than-equals> - <equals> - <property>controls/radio/rmp[0]/on</property> - <value>1</value> - </equals> - <equals> - <property>systems/radio/rmp[0]/sel_chan</property> - <value type="string">vhf3</value> - </equals> - <not> - <equals> - <property>systems/radio/rmp[0]/vhf3-standby</property> - <value>0</value> - </equals> - </not> - </and> - </condition> - <command>property-assign</command> - <property>instrumentation/comm[0]/frequencies/standby-mhz</property> - <property>systems/radio/rmp[0]/vhf3-standby</property> - </binding> - <binding> - <condition> - <and> - <greater-than-equals> - <property>systems/electrical/bus/dc-ess</property> - <value>25</value> - </greater-than-equals> - <equals> - <property>controls/radio/rmp[0]/on</property> - <value>1</value> - </equals> - <equals> - <property>systems/radio/rmp[0]/sel_chan</property> - <value type="string">vhf3</value> - </equals> - <not> - <equals> - <property>systems/radio/rmp[0]/vhf3-standby</property> - <value>0</value> - </equals> - </not> - </and> - </condition> - <command>property-adjust</command> - <property>instrumentation/comm[0]/frequencies/standby-channel</property> - <step>-1</step> - </binding> - <binding> - <condition> - <and> - <greater-than-equals> - <property>systems/electrical/bus/dc-ess</property> - <value>25</value> - </greater-than-equals> - <equals> - <property>controls/radio/rmp[0]/on</property> - <value>1</value> - </equals> - <equals> - <property>systems/radio/rmp[0]/sel_chan</property> - <value type="string">vhf3</value> - </equals> - <not> - <equals> - <property>systems/radio/rmp[0]/vhf3-standby</property> - <value>0</value> - </equals> - </not> - </and> - </condition> - <command>property-assign</command> - <property>systems/radio/rmp[0]/vhf3-standby</property> - <property>instrumentation/comm[0]/frequencies/standby-mhz</property> - </binding> - - <binding> - <condition> - <and> - <greater-than-equals> - <property>systems/electrical/bus/dc-ess</property> - <value>25</value> - </greater-than-equals> - <equals> - <property>controls/radio/rmp[0]/on</property> - <value>1</value> - </equals> - <equals> - <property>systems/radio/rmp[0]/sel_chan</property> - <value type="string">hf1</value> - </equals> - </and> - </condition> - <command>property-adjust</command> - <property>systems/radio/rmp[0]/hf1-standby</property> - <step>-1</step> - <min>2000</min> - <max>29999</max> - <wrap>true</wrap> - </binding> - - <binding> - <condition> - <and> - <greater-than-equals> - <property>systems/electrical/bus/dc-ess</property> - <value>25</value> - </greater-than-equals> - <equals> - <property>controls/radio/rmp[0]/on</property> - <value>1</value> - </equals> - <equals> - <property>systems/radio/rmp[0]/sel_chan</property> - <value type="string">hf2</value> - </equals> - </and> - </condition> - <command>property-adjust</command> - <property>systems/radio/rmp[0]/hf2-standby</property> - <step>-1</step> - <min>2000</min> - <max>29999</max> - <wrap>true</wrap> - </binding> - - <binding> - <condition> - <and> - <greater-than-equals> - <property>systems/electrical/bus/dc-ess</property> - <value>25</value> - </greater-than-equals> - <equals> - <property>controls/radio/rmp[0]/on</property> - <value>1</value> - </equals> - <equals> - <property>systems/radio/rmp[0]/sel_chan</property> - <value type="string">ls</value> - </equals> - <equals> - <property>systems/radio/rmp[0]/select-crs</property> - <value>0</value> - </equals> - </and> - </condition> - <command>property-adjust</command> - <property>instrumentation/nav[0]/frequencies/standby-mhz</property> - <step>-0.05</step> - <min>108.00</min> - <max>112.00</max> - <wrap>true</wrap> - </binding> - <binding> - <condition> - <and> - <greater-than-equals> - <property>systems/electrical/bus/dc-ess</property> - <value>25</value> - </greater-than-equals> - <equals> - <property>controls/radio/rmp[0]/on</property> - <value>1</value> - </equals> - <equals> - <property>systems/radio/rmp[0]/sel_chan</property> - <value type="string">ls</value> - </equals> - <equals> - <property>systems/radio/rmp[0]/select-crs</property> - <value>1</value> - </equals> - </and> - </condition> - <command>property-adjust</command> - <property>instrumentation/nav[0]/radials/selected-deg</property> - <step>-1</step> - <min>1</min> - <max>361</max> - <wrap>true</wrap> - </binding> - - <binding> - <condition> - <and> - <greater-than-equals> - <property>systems/electrical/bus/dc-ess</property> - <value>25</value> - </greater-than-equals> - <equals> - <property>controls/radio/rmp[0]/on</property> - <value>1</value> - </equals> - <equals> - <property>systems/radio/rmp[0]/sel_chan</property> - <value type="string">vor</value> - </equals> - <equals> - <property>systems/radio/rmp[0]/select-crs</property> - <value>0</value> - </equals> - </and> - </condition> - <command>property-adjust</command> - <property>instrumentation/nav[2]/frequencies/standby-mhz</property> - <step>-0.05</step> - <min>108.00</min> - <max>118.00</max> - <wrap>true</wrap> - </binding> - <binding> - <condition> - <and> - <greater-than-equals> - <property>systems/electrical/bus/dc-ess</property> - <value>25</value> - </greater-than-equals> - <equals> - <property>controls/radio/rmp[0]/on</property> - <value>1</value> - </equals> - <equals> - <property>systems/radio/rmp[0]/sel_chan</property> - <value type="string">vor</value> - </equals> - <equals> - <property>systems/radio/rmp[0]/select-crs</property> - <value>1</value> - </equals> - </and> - </condition> - <command>property-adjust</command> - <property>instrumentation/nav[2]/radials/selected-deg</property> - <step>-1</step> - <min>1</min> - <max>361</max> - <wrap>true</wrap> - </binding> - - <binding> - <condition> - <and> - <greater-than-equals> - <property>systems/electrical/bus/dc-ess</property> - <value>25</value> - </greater-than-equals> - <equals> - <property>controls/radio/rmp[0]/on</property> - <value>1</value> - </equals> - <equals> - <property>systems/radio/rmp[0]/sel_chan</property> - <value type="string">adf</value> - </equals> - </and> - </condition> - <command>property-adjust</command> - <property>instrumentation/adf[0]/frequencies/standby-khz</property> - <step>-1</step> - <min>190</min> - <max>1751</max> - <wrap>true</wrap> - </binding> - </action> - </animation> - - <animation> - <type>pick</type> - <object-name>radio_rot0</object-name> - <action> - <button>0</button> - <button>3</button> - <repeatable>true</repeatable> - - <binding> - <condition> - <and> - <greater-than-equals> - <property>systems/electrical/bus/dc-ess</property> - <value>25</value> - </greater-than-equals> - <equals> - <property>controls/radio/rmp[0]/on</property> - <value>1</value> - </equals> - <equals> - <property>systems/radio/rmp[0]/sel_chan</property> - <value type="string">vhf1</value> - </equals> - </and> - </condition> - <command>property-adjust</command> - <property>systems/radio/rmp[0]/vhf1-standby</property> - <step>1</step> - <min>118.0</min> - <max>137.0</max> - <wrap>true</wrap> - <mask>integer</mask> - </binding> - - <binding> - <condition> - <and> - <greater-than-equals> - <property>systems/electrical/bus/dc-ess</property> - <value>25</value> - </greater-than-equals> - <equals> - <property>controls/radio/rmp[0]/on</property> - <value>1</value> - </equals> - <equals> - <property>systems/radio/rmp[0]/sel_chan</property> - <value type="string">vhf2</value> - </equals> - </and> - </condition> - <command>property-adjust</command> - <property>systems/radio/rmp[0]/vhf2-standby</property> - <step>1</step> - <min>118.0</min> - <max>137.0</max> - <wrap>true</wrap> - <mask>integer</mask> - </binding> - - <binding> - <condition> - <and> - <greater-than-equals> - <property>systems/electrical/bus/dc-ess</property> - <value>25</value> - </greater-than-equals> - <equals> - <property>controls/radio/rmp[0]/on</property> - <value>1</value> - </equals> - <equals> - <property>systems/radio/rmp[0]/sel_chan</property> - <value type="string">vhf3</value> - </equals> - <not> - <equals> - <property>systems/radio/rmp[0]/vhf3-standby</property> - <value>0</value> - </equals> - </not> - </and> - </condition> - <command>property-adjust</command> - <property>systems/radio/rmp[0]/vhf3-standby</property> - <step>1</step> - <min>118.0</min> - <max>137.0</max> - <wrap>true</wrap> - <mask>integer</mask> - </binding> - - <binding> - <condition> - <and> - <greater-than-equals> - <property>systems/electrical/bus/dc-ess</property> - <value>25</value> - </greater-than-equals> - <equals> - <property>controls/radio/rmp[0]/on</property> - <value>1</value> - </equals> - <equals> - <property>systems/radio/rmp[0]/sel_chan</property> - <value type="string">hf1</value> - </equals> - </and> - </condition> - <command>property-adjust</command> - <property>systems/radio/rmp[0]/hf1-standby</property> - <step>100</step> - <min>2000</min> - <max>29999</max> - <wrap>true</wrap> - <mask>integer</mask> - </binding> - - <binding> - <condition> - <and> - <greater-than-equals> - <property>systems/electrical/bus/dc-ess</property> - <value>25</value> - </greater-than-equals> - <equals> - <property>controls/radio/rmp[0]/on</property> - <value>1</value> - </equals> - <equals> - <property>systems/radio/rmp[0]/sel_chan</property> - <value type="string">hf2</value> - </equals> - </and> - </condition> - <command>property-adjust</command> - <property>systems/radio/rmp[0]/hf2-standby</property> - <step>100</step> - <min>2000</min> - <max>29999</max> - <wrap>true</wrap> - <mask>integer</mask> - </binding> - - <binding> - <condition> - <and> - <greater-than-equals> - <property>systems/electrical/bus/dc-ess</property> - <value>25</value> - </greater-than-equals> - <equals> - <property>controls/radio/rmp[0]/on</property> - <value>1</value> - </equals> - <equals> - <property>systems/radio/rmp[0]/sel_chan</property> - <value type="string">ls</value> - </equals> - <equals> - <property>systems/radio/rmp[0]/select-crs</property> - <value>0</value> - </equals> - </and> - </condition> - <command>property-adjust</command> - <property>instrumentation/nav[0]/frequencies/standby-mhz</property> - <step>1.00</step> - <min>108.00</min> - <max>112.00</max> - <wrap>true</wrap> - </binding> - - <binding> - <condition> - <and> - <greater-than-equals> - <property>systems/electrical/bus/dc-ess</property> - <value>25</value> - </greater-than-equals> - <equals> - <property>controls/radio/rmp[0]/on</property> - <value>1</value> - </equals> - <equals> - <property>systems/radio/rmp[0]/sel_chan</property> - <value type="string">vor</value> - </equals> - <equals> - <property>systems/radio/rmp[0]/select-crs</property> - <value>0</value> - </equals> - </and> - </condition> - <command>property-adjust</command> - <property>instrumentation/nav[2]/frequencies/standby-mhz</property> - <step>1.00</step> - <min>108.00</min> - <max>118.00</max> - <wrap>true</wrap> - </binding> - </action> - <action> - <button>1</button> - <button>4</button> - <repeatable>true</repeatable> - - <binding> - <condition> - <and> - <greater-than-equals> - <property>systems/electrical/bus/dc-ess</property> - <value>25</value> - </greater-than-equals> - <equals> - <property>controls/radio/rmp[0]/on</property> - <value>1</value> - </equals> - <equals> - <property>systems/radio/rmp[0]/sel_chan</property> - <value type="string">vhf1</value> - </equals> - </and> - </condition> - <command>property-adjust</command> - <property>systems/radio/rmp[0]/vhf1-standby</property> - <step>-1</step> - <min>118.0</min> - <max>137.0</max> - <wrap>true</wrap> - <mask>integer</mask> - </binding> - - <binding> - <condition> - <and> - <greater-than-equals> - <property>systems/electrical/bus/dc-ess</property> - <value>25</value> - </greater-than-equals> - <equals> - <property>controls/radio/rmp[0]/on</property> - <value>1</value> - </equals> - <equals> - <property>systems/radio/rmp[0]/sel_chan</property> - <value type="string">vhf2</value> - </equals> - </and> - </condition> - <command>property-adjust</command> - <property>systems/radio/rmp[0]/vhf2-standby</property> - <step>-1</step> - <min>118.0</min> - <max>137.0</max> - <wrap>true</wrap> - <mask>integer</mask> - </binding> - - <binding> - <condition> - <and> - <greater-than-equals> - <property>systems/electrical/bus/dc-ess</property> - <value>25</value> - </greater-than-equals> - <equals> - <property>controls/radio/rmp[0]/on</property> - <value>1</value> - </equals> - <equals> - <property>systems/radio/rmp[0]/sel_chan</property> - <value type="string">vhf3</value> - </equals> - <not> - <equals> - <property>systems/radio/rmp[0]/vhf3-standby</property> - <value>0</value> - </equals> - </not> - </and> - </condition> - <command>property-adjust</command> - <property>systems/radio/rmp[0]/vhf3-standby</property> - <step>-1</step> - <min>118.0</min> - <max>137.0</max> - <wrap>true</wrap> - <mask>integer</mask> - </binding> - - <binding> - <condition> - <and> - <greater-than-equals> - <property>systems/electrical/bus/dc-ess</property> - <value>25</value> - </greater-than-equals> - <equals> - <property>controls/radio/rmp[0]/on</property> - <value>1</value> - </equals> - <equals> - <property>systems/radio/rmp[0]/sel_chan</property> - <value type="string">hf1</value> - </equals> - </and> - </condition> - <command>property-adjust</command> - <property>systems/radio/rmp[0]/hf1-standby</property> - <step>-100</step> - <min>2000</min> - <max>29999</max> - <wrap>true</wrap> - <mask>integer</mask> - </binding> - - <binding> - <condition> - <and> - <greater-than-equals> - <property>systems/electrical/bus/dc-ess</property> - <value>25</value> - </greater-than-equals> - <equals> - <property>controls/radio/rmp[0]/on</property> - <value>1</value> - </equals> - <equals> - <property>systems/radio/rmp[0]/sel_chan</property> - <value type="string">hf2</value> - </equals> - </and> - </condition> - <command>property-adjust</command> - <property>systems/radio/rmp[0]/hf2-standby</property> - <step>-100</step> - <min>2000</min> - <max>29999</max> - <wrap>true</wrap> - <mask>integer</mask> - </binding> - - <binding> - <condition> - <and> - <greater-than-equals> - <property>systems/electrical/bus/dc-ess</property> - <value>25</value> - </greater-than-equals> - <equals> - <property>controls/radio/rmp[0]/on</property> - <value>1</value> - </equals> - <equals> - <property>systems/radio/rmp[0]/sel_chan</property> - <value type="string">ls</value> - </equals> - <equals> - <property>systems/radio/rmp[0]/select-crs</property> - <value>0</value> - </equals> - </and> - </condition> - <command>property-adjust</command> - <property>instrumentation/nav[0]/frequencies/standby-mhz</property> - <step>-1.00</step> - <min>108.00</min> - <max>112.00</max> - <wrap>true</wrap> - </binding> - - <binding> - <condition> - <and> - <greater-than-equals> - <property>systems/electrical/bus/dc-ess</property> - <value>25</value> - </greater-than-equals> - <equals> - <property>controls/radio/rmp[0]/on</property> - <value>1</value> - </equals> - <equals> - <property>systems/radio/rmp[0]/sel_chan</property> - <value type="string">vor</value> - </equals> - <equals> - <property>systems/radio/rmp[0]/select-crs</property> - <value>0</value> - </equals> - </and> - </condition> - <command>property-adjust</command> - <property>instrumentation/nav[2]/frequencies/standby-mhz</property> - <step>-1</step> - <min>108.00</min> - <max>118.00</max> - <wrap>true</wrap> - </binding> - </action> - </animation> - <!-- NAV Protector --> <animation> <type>pick</type> @@ -1503,10 +255,7 @@ <property>systems/electrical/bus/dc-ess</property> <value>25</value> </greater-than-equals> - <equals> - <property>controls/radio/rmp[0]/on</property> - <value>1</value> - </equals> + <property>controls/radio/rmp[0]/on</property> <equals> <property>controls/radio/rmp[0]/nav-protect</property> <value>1</value> @@ -1543,10 +292,7 @@ <property>systems/electrical/bus/dc-ess</property> <value>25</value> </greater-than-equals> - <equals> - <property>controls/radio/rmp[0]/on</property> - <value>1</value> - </equals> + <property>controls/radio/rmp[0]/on</property> <equals> <property>systems/radio/rmp[0]/nav</property> <value>1</value> @@ -1573,10 +319,7 @@ <property>systems/electrical/bus/dc-ess</property> <value>25</value> </greater-than-equals> - <equals> - <property>controls/radio/rmp[0]/on</property> - <value>1</value> - </equals> + <property>controls/radio/rmp[0]/on</property> <equals> <property>systems/radio/rmp[0]/nav</property> <value>1</value> @@ -1603,10 +346,7 @@ <property>systems/electrical/bus/dc-ess</property> <value>25</value> </greater-than-equals> - <equals> - <property>controls/radio/rmp[0]/on</property> - <value>1</value> - </equals> + <property>controls/radio/rmp[0]/on</property> <equals> <property>systems/radio/rmp[0]/nav</property> <value>1</value> @@ -1632,10 +372,7 @@ <property>systems/electrical/bus/dc-ess</property> <value>25</value> </greater-than-equals> - <equals> - <property>controls/radio/rmp[0]/on</property> - <value>1</value> - </equals> + <property>controls/radio/rmp[0]/on</property> <equals> <property>systems/radio/rmp[0]/nav</property> <value>1</value> diff --git a/Models/Instruments/Radio/Radio2.xml b/Models/Instruments/Radio/Radio2.xml index 9a614d26..d6d07052 100644 --- a/Models/Instruments/Radio/Radio2.xml +++ b/Models/Instruments/Radio/Radio2.xml @@ -8,1458 +8,7 @@ <PropertyList> - <!--<path>res/Radio.ac</path>--> - <!-- On Switch --> - <animation> - <type>pick</type> - <object-name>radio_on</object-name> - <action> - <button>0</button> - <repeatable>false</repeatable> - <binding> - <command>property-toggle</command> - <property>controls/radio/rmp[1]/on</property> - </binding> - </action> - </animation> - <animation> - <type>rotate</type> - <object-name>radio_on</object-name> - <property>controls/radio/rmp[1]/on</property> - <interpolation> - <entry> - <ind>0</ind> - <dep>20</dep> - </entry> - <entry> - <ind>1</ind> - <dep>-20</dep> - </entry> - </interpolation> - <axis> - <object-name>radio_on.axis</object-name> - </axis> - </animation> - - <!-- VHF1 --> - <animation> - <type>pick</type> - <object-name>radio_vhf1</object-name> - <action> - <button>0</button> - <repeatable>true</repeatable> - <binding> - <command>property-assign</command> - <property>systems/radio/rmp[1]/sel_chan</property> - <value>vhf1</value> - <condition> - <and> - <greater-than-equals> - <property>systems/electrical/bus/dc-ess</property> - <value>25</value> - </greater-than-equals> - <equals> - <property>controls/radio/rmp[1]/on</property> - <value>1</value> - </equals> - </and> - </condition> - </binding> - </action> - </animation> - - <!-- VHF2 --> - <animation> - <type>pick</type> - <object-name>radio_vhf2</object-name> - <action> - <button>0</button> - <repeatable>true</repeatable> - <binding> - <command>property-assign</command> - <property>systems/radio/rmp[1]/sel_chan</property> - <value>vhf2</value> - <condition> - <and> - <greater-than-equals> - <property>systems/electrical/bus/dc-ess</property> - <value>25</value> - </greater-than-equals> - <equals> - <property>controls/radio/rmp[1]/on</property> - <value>1</value> - </equals> - </and> - </condition> - </binding> - </action> - </animation> - - <!-- VHF3 --> - <animation> - <type>pick</type> - <object-name>radio_vhf3</object-name> - <action> - <button>0</button> - <repeatable>true</repeatable> - <binding> - <command>property-assign</command> - <property>systems/radio/rmp[1]/sel_chan</property> - <value>vhf3</value> - <condition> - <and> - <greater-than-equals> - <property>systems/electrical/bus/dc-ess</property> - <value>25</value> - </greater-than-equals> - <equals> - <property>controls/radio/rmp[1]/on</property> - <value>1</value> - </equals> - </and> - </condition> - </binding> - </action> - </animation> - - <!-- HF1 --> - <animation> - <type>pick</type> - <object-name>radio_hf1</object-name> - <action> - <button>0</button> - <repeatable>true</repeatable> - <binding> - <command>property-assign</command> - <property>systems/radio/rmp[1]/sel_chan</property> - <value>hf1</value> - <condition> - <and> - <greater-than-equals> - <property>systems/electrical/bus/dc-ess</property> - <value>25</value> - </greater-than-equals> - <equals> - <property>controls/radio/rmp[1]/on</property> - <value>1</value> - </equals> - </and> - </condition> - </binding> - </action> - </animation> - - <!-- HF2 --> - <animation> - <type>pick</type> - <object-name>radio_hf2</object-name> - <action> - <button>0</button> - <repeatable>true</repeatable> - <binding> - <command>property-assign</command> - <property>systems/radio/rmp[1]/sel_chan</property> - <value>hf2</value> - <condition> - <and> - <greater-than-equals> - <property>systems/electrical/bus/dc-ess</property> - <value>25</value> - </greater-than-equals> - <equals> - <property>controls/radio/rmp[1]/on</property> - <value>1</value> - </equals> - </and> - </condition> - </binding> - </action> - </animation> - - <!-- AM Mode --> - <animation> - <type>pick</type> - <object-name>radio_am</object-name> - <action> - <button>0</button> - <repeatable>true</repeatable> - <binding> - <command>property-toggle</command> - <property>systems/radio/rmp[1]/am-active</property> - <condition> - <and> - <greater-than-equals> - <property>systems/electrical/bus/dc-ess</property> - <value>25</value> - </greater-than-equals> - <equals> - <property>controls/radio/rmp[1]/on</property> - <value>1</value> - </equals> - <or> - <equals> - <property>systems/radio/rmp[1]/sel_chan</property> - <value>hf1</value> - </equals> - <equals> - <property>systems/radio/rmp[1]/sel_chan</property> - <value>hf2</value> - </equals> - </or> - </and> - </condition> - </binding> - </action> - </animation> - - <!-- Transfer --> - <animation> - <type>pick</type> - <object-name>radio_exchange</object-name> - <action> - <button>0</button> - <repeatable>false</repeatable> - <binding> - <command>nasal</command> - <script>rmp.transfer(2);</script> - <condition> - <and> - <greater-than-equals> - <property>systems/electrical/bus/dc-ess</property> - <value>25</value> - </greater-than-equals> - <equals> - <property>controls/radio/rmp[1]/on</property> - <value>1</value> - </equals> - </and> - </condition> - </binding> - </action> - </animation> - - <!-- Knob --> - <!-- We use a little hack to get 8.33MHz spacing working: - First we assign our current STBY freq we want to adjust to the default instrument. - Then we change the channel there. - Finally we assign the value back to out own prop. - --> - <animation> - <type>pick</type> - <object-name>radio_rot1</object-name> - <action> - <button>0</button> - <button>3</button> - <repeatable>true</repeatable> - - <binding> - <condition> - <and> - <greater-than-equals> - <property>systems/electrical/bus/dc-ess</property> - <value>25</value> - </greater-than-equals> - <equals> - <property>controls/radio/rmp[1]/on</property> - <value>1</value> - </equals> - <equals> - <property>systems/radio/rmp[1]/sel_chan</property> - <value type="string">vhf1</value> - </equals> - </and> - </condition> - <command>property-assign</command> - <property>instrumentation/comm[0]/frequencies/standby-mhz</property> - <property>systems/radio/rmp[1]/vhf1-standby</property> - </binding> - <binding> - <condition> - <and> - <greater-than-equals> - <property>systems/electrical/bus/dc-ess</property> - <value>25</value> - </greater-than-equals> - <equals> - <property>controls/radio/rmp[1]/on</property> - <value>1</value> - </equals> - <equals> - <property>systems/radio/rmp[1]/sel_chan</property> - <value type="string">vhf1</value> - </equals> - </and> - </condition> - <command>property-adjust</command> - <property>instrumentation/comm[0]/frequencies/standby-channel</property> - <step>1</step> - </binding> - <binding> - <condition> - <and> - <greater-than-equals> - <property>systems/electrical/bus/dc-ess</property> - <value>25</value> - </greater-than-equals> - <equals> - <property>controls/radio/rmp[1]/on</property> - <value>1</value> - </equals> - <equals> - <property>systems/radio/rmp[1]/sel_chan</property> - <value type="string">vhf1</value> - </equals> - </and> - </condition> - <command>property-assign</command> - <property>systems/radio/rmp[1]/vhf1-standby</property> - <property>instrumentation/comm[0]/frequencies/standby-mhz</property> - </binding> - - <binding> - <condition> - <and> - <greater-than-equals> - <property>systems/electrical/bus/dc-ess</property> - <value>25</value> - </greater-than-equals> - <equals> - <property>controls/radio/rmp[1]/on</property> - <value>1</value> - </equals> - <equals> - <property>systems/radio/rmp[1]/sel_chan</property> - <value type="string">vhf2</value> - </equals> - </and> - </condition> - <command>property-assign</command> - <property>instrumentation/comm[0]/frequencies/standby-mhz</property> - <property>systems/radio/rmp[1]/vhf2-standby</property> - </binding> - <binding> - <condition> - <and> - <greater-than-equals> - <property>systems/electrical/bus/dc-ess</property> - <value>25</value> - </greater-than-equals> - <equals> - <property>controls/radio/rmp[1]/on</property> - <value>1</value> - </equals> - <equals> - <property>systems/radio/rmp[1]/sel_chan</property> - <value type="string">vhf2</value> - </equals> - </and> - </condition> - <command>property-adjust</command> - <property>instrumentation/comm[0]/frequencies/standby-channel</property> - <step>1</step> - </binding> - <binding> - <condition> - <and> - <greater-than-equals> - <property>systems/electrical/bus/dc-ess</property> - <value>25</value> - </greater-than-equals> - <equals> - <property>controls/radio/rmp[1]/on</property> - <value>1</value> - </equals> - <equals> - <property>systems/radio/rmp[1]/sel_chan</property> - <value type="string">vhf2</value> - </equals> - </and> - </condition> - <command>property-assign</command> - <property>systems/radio/rmp[1]/vhf2-standby</property> - <property>instrumentation/comm[0]/frequencies/standby-mhz</property> - </binding> - - <binding> - <condition> - <and> - <greater-than-equals> - <property>systems/electrical/bus/dc-ess</property> - <value>25</value> - </greater-than-equals> - <equals> - <property>controls/radio/rmp[1]/on</property> - <value>1</value> - </equals> - <equals> - <property>systems/radio/rmp[1]/sel_chan</property> - <value type="string">vhf3</value> - </equals> - <not> - <equals> - <property>systems/radio/rmp[1]/vhf3-standby</property> - <value>0</value> - </equals> - </not> - </and> - </condition> - <command>property-assign</command> - <property>instrumentation/comm[0]/frequencies/standby-mhz</property> - <property>systems/radio/rmp[1]/vhf3-standby</property> - </binding> - <binding> - <condition> - <and> - <greater-than-equals> - <property>systems/electrical/bus/dc-ess</property> - <value>25</value> - </greater-than-equals> - <equals> - <property>controls/radio/rmp[1]/on</property> - <value>1</value> - </equals> - <equals> - <property>systems/radio/rmp[1]/sel_chan</property> - <value type="string">vhf3</value> - </equals> - <not> - <equals> - <property>systems/radio/rmp[1]/vhf3-standby</property> - <value>0</value> - </equals> - </not> - </and> - </condition> - <command>property-adjust</command> - <property>instrumentation/comm[0]/frequencies/standby-channel</property> - <step>1</step> - </binding> - <binding> - <condition> - <and> - <greater-than-equals> - <property>systems/electrical/bus/dc-ess</property> - <value>25</value> - </greater-than-equals> - <equals> - <property>controls/radio/rmp[1]/on</property> - <value>1</value> - </equals> - <equals> - <property>systems/radio/rmp[1]/sel_chan</property> - <value type="string">vhf3</value> - </equals> - <not> - <equals> - <property>systems/radio/rmp[1]/vhf3-standby</property> - <value>0</value> - </equals> - </not> - </and> - </condition> - <command>property-assign</command> - <property>systems/radio/rmp[1]/vhf3-standby</property> - <property>instrumentation/comm[0]/frequencies/standby-mhz</property> - </binding> - - <binding> - <condition> - <and> - <greater-than-equals> - <property>systems/electrical/bus/dc-ess</property> - <value>25</value> - </greater-than-equals> - <equals> - <property>controls/radio/rmp[1]/on</property> - <value>1</value> - </equals> - <equals> - <property>systems/radio/rmp[1]/sel_chan</property> - <value type="string">hf1</value> - </equals> - </and> - </condition> - <command>property-adjust</command> - <property>systems/radio/rmp[1]/hf1-standby</property> - <step>1</step> - <min>2000</min> - <max>29999</max> - <wrap>true</wrap> - </binding> - - <binding> - <condition> - <and> - <greater-than-equals> - <property>systems/electrical/bus/dc-ess</property> - <value>25</value> - </greater-than-equals> - <equals> - <property>controls/radio/rmp[1]/on</property> - <value>1</value> - </equals> - <equals> - <property>systems/radio/rmp[1]/sel_chan</property> - <value type="string">hf2</value> - </equals> - </and> - </condition> - <command>property-adjust</command> - <property>systems/radio/rmp[1]/hf2-standby</property> - <step>1</step> - <min>2000</min> - <max>29999</max> - <wrap>true</wrap> - </binding> - - <binding> - <condition> - <and> - <greater-than-equals> - <property>systems/electrical/bus/dc-ess</property> - <value>25</value> - </greater-than-equals> - <equals> - <property>controls/radio/rmp[1]/on</property> - <value>1</value> - </equals> - <equals> - <property>systems/radio/rmp[1]/sel_chan</property> - <value type="string">ls</value> - </equals> - <equals> - <property>systems/radio/rmp[1]/select-crs</property> - <value>0</value> - </equals> - </and> - </condition> - <command>property-adjust</command> - <property>instrumentation/nav[0]/frequencies/standby-mhz</property> - <step>0.05</step> - <min>108.00</min> - <max>112.00</max> - <wrap>true</wrap> - </binding> - <binding> - <condition> - <and> - <greater-than-equals> - <property>systems/electrical/bus/dc-ess</property> - <value>25</value> - </greater-than-equals> - <equals> - <property>controls/radio/rmp[1]/on</property> - <value>1</value> - </equals> - <equals> - <property>systems/radio/rmp[1]/sel_chan</property> - <value type="string">ls</value> - </equals> - <equals> - <property>systems/radio/rmp[1]/select-crs</property> - <value>1</value> - </equals> - </and> - </condition> - <command>property-adjust</command> - <property>instrumentation/nav[0]/radials/selected-deg</property> - <step>1</step> - <min>1</min> - <max>361</max> - <wrap>true</wrap> - </binding> - - <binding> - <condition> - <and> - <greater-than-equals> - <property>systems/electrical/bus/dc-ess</property> - <value>25</value> - </greater-than-equals> - <equals> - <property>controls/radio/rmp[1]/on</property> - <value>1</value> - </equals> - <equals> - <property>systems/radio/rmp[1]/sel_chan</property> - <value type="string">vor</value> - </equals> - <equals> - <property>systems/radio/rmp[1]/select-crs</property> - <value>0</value> - </equals> - </and> - </condition> - <command>property-adjust</command> - <property>instrumentation/nav[3]/frequencies/standby-mhz</property> - <step>0.05</step> - <min>108.00</min> - <max>118.00</max> - <wrap>true</wrap> - </binding> - <binding> - <condition> - <and> - <greater-than-equals> - <property>systems/electrical/bus/dc-ess</property> - <value>25</value> - </greater-than-equals> - <equals> - <property>controls/radio/rmp[1]/on</property> - <value>1</value> - </equals> - <equals> - <property>systems/radio/rmp[1]/sel_chan</property> - <value type="string">vor</value> - </equals> - <equals> - <property>systems/radio/rmp[1]/select-crs</property> - <value>1</value> - </equals> - </and> - </condition> - <command>property-adjust</command> - <property>instrumentation/nav[3]/radials/selected-deg</property> - <step>1</step> - <min>1</min> - <max>361</max> - <wrap>true</wrap> - </binding> - - <binding> - <condition> - <and> - <greater-than-equals> - <property>systems/electrical/bus/dc-ess</property> - <value>25</value> - </greater-than-equals> - <equals> - <property>controls/radio/rmp[1]/on</property> - <value>1</value> - </equals> - <equals> - <property>systems/radio/rmp[1]/sel_chan</property> - <value type="string">adf</value> - </equals> - </and> - </condition> - <command>property-adjust</command> - <property>instrumentation/adf[1]/frequencies/standby-khz</property> - <step>1</step> - <min>190</min> - <max>1751</max> - <wrap>true</wrap> - </binding> - - </action> - <action> - <button>1</button> - <button>4</button> - <repeatable>true</repeatable> - - <binding> - <condition> - <and> - <greater-than-equals> - <property>systems/electrical/bus/dc-ess</property> - <value>25</value> - </greater-than-equals> - <equals> - <property>controls/radio/rmp[1]/on</property> - <value>1</value> - </equals> - <equals> - <property>systems/radio/rmp[1]/sel_chan</property> - <value type="string">vhf1</value> - </equals> - </and> - </condition> - <command>property-assign</command> - <property>instrumentation/comm[0]/frequencies/standby-mhz</property> - <property>systems/radio/rmp[1]/vhf1-standby</property> - </binding> - <binding> - <condition> - <and> - <greater-than-equals> - <property>systems/electrical/bus/dc-ess</property> - <value>25</value> - </greater-than-equals> - <equals> - <property>controls/radio/rmp[1]/on</property> - <value>1</value> - </equals> - <equals> - <property>systems/radio/rmp[1]/sel_chan</property> - <value type="string">vhf1</value> - </equals> - </and> - </condition> - <command>property-adjust</command> - <property>instrumentation/comm[0]/frequencies/standby-channel</property> - <step>-1</step> - </binding> - <binding> - <condition> - <and> - <greater-than-equals> - <property>systems/electrical/bus/dc-ess</property> - <value>25</value> - </greater-than-equals> - <equals> - <property>controls/radio/rmp[1]/on</property> - <value>1</value> - </equals> - <equals> - <property>systems/radio/rmp[1]/sel_chan</property> - <value type="string">vhf1</value> - </equals> - </and> - </condition> - <command>property-assign</command> - <property>systems/radio/rmp[1]/vhf1-standby</property> - <property>instrumentation/comm[0]/frequencies/standby-mhz</property> - </binding> - - <binding> - <condition> - <and> - <greater-than-equals> - <property>systems/electrical/bus/dc-ess</property> - <value>25</value> - </greater-than-equals> - <equals> - <property>controls/radio/rmp[1]/on</property> - <value>1</value> - </equals> - <equals> - <property>systems/radio/rmp[1]/sel_chan</property> - <value type="string">vhf2</value> - </equals> - </and> - </condition> - <command>property-assign</command> - <property>instrumentation/comm[0]/frequencies/standby-mhz</property> - <property>systems/radio/rmp[1]/vhf2-standby</property> - </binding> - <binding> - <condition> - <and> - <greater-than-equals> - <property>systems/electrical/bus/dc-ess</property> - <value>25</value> - </greater-than-equals> - <equals> - <property>controls/radio/rmp[1]/on</property> - <value>1</value> - </equals> - <equals> - <property>systems/radio/rmp[1]/sel_chan</property> - <value type="string">vhf2</value> - </equals> - </and> - </condition> - <command>property-adjust</command> - <property>instrumentation/comm[0]/frequencies/standby-channel</property> - <step>-1</step> - </binding> - <binding> - <condition> - <and> - <greater-than-equals> - <property>systems/electrical/bus/dc-ess</property> - <value>25</value> - </greater-than-equals> - <equals> - <property>controls/radio/rmp[1]/on</property> - <value>1</value> - </equals> - <equals> - <property>systems/radio/rmp[1]/sel_chan</property> - <value type="string">vhf2</value> - </equals> - </and> - </condition> - <command>property-assign</command> - <property>systems/radio/rmp[1]/vhf2-standby</property> - <property>instrumentation/comm[0]/frequencies/standby-mhz</property> - </binding> - - <binding> - <condition> - <and> - <greater-than-equals> - <property>systems/electrical/bus/dc-ess</property> - <value>25</value> - </greater-than-equals> - <equals> - <property>controls/radio/rmp[1]/on</property> - <value>1</value> - </equals> - <equals> - <property>systems/radio/rmp[1]/sel_chan</property> - <value type="string">vhf3</value> - </equals> - <not> - <equals> - <property>systems/radio/rmp[1]/vhf3-standby</property> - <value>0</value> - </equals> - </not> - </and> - </condition> - <command>property-assign</command> - <property>instrumentation/comm[0]/frequencies/standby-mhz</property> - <property>systems/radio/rmp[1]/vhf3-standby</property> - </binding> - <binding> - <condition> - <and> - <greater-than-equals> - <property>systems/electrical/bus/dc-ess</property> - <value>25</value> - </greater-than-equals> - <equals> - <property>controls/radio/rmp[1]/on</property> - <value>1</value> - </equals> - <equals> - <property>systems/radio/rmp[1]/sel_chan</property> - <value type="string">vhf3</value> - </equals> - <not> - <equals> - <property>systems/radio/rmp[1]/vhf3-standby</property> - <value>0</value> - </equals> - </not> - </and> - </condition> - <command>property-adjust</command> - <property>instrumentation/comm[0]/frequencies/standby-channel</property> - <step>-1</step> - </binding> - <binding> - <condition> - <and> - <greater-than-equals> - <property>systems/electrical/bus/dc-ess</property> - <value>25</value> - </greater-than-equals> - <equals> - <property>controls/radio/rmp[1]/on</property> - <value>1</value> - </equals> - <equals> - <property>systems/radio/rmp[1]/sel_chan</property> - <value type="string">vhf3</value> - </equals> - <not> - <equals> - <property>systems/radio/rmp[1]/vhf3-standby</property> - <value>0</value> - </equals> - </not> - </and> - </condition> - <command>property-assign</command> - <property>systems/radio/rmp[1]/vhf3-standby</property> - <property>instrumentation/comm[0]/frequencies/standby-mhz</property> - </binding> - - <binding> - <condition> - <and> - <greater-than-equals> - <property>systems/electrical/bus/dc-ess</property> - <value>25</value> - </greater-than-equals> - <equals> - <property>controls/radio/rmp[1]/on</property> - <value>1</value> - </equals> - <equals> - <property>systems/radio/rmp[1]/sel_chan</property> - <value type="string">hf1</value> - </equals> - </and> - </condition> - <command>property-adjust</command> - <property>systems/radio/rmp[1]/hf1-standby</property> - <step>-1</step> - <min>2000</min> - <max>29999</max> - <wrap>true</wrap> - </binding> - - <binding> - <condition> - <and> - <greater-than-equals> - <property>systems/electrical/bus/dc-ess</property> - <value>25</value> - </greater-than-equals> - <equals> - <property>controls/radio/rmp[1]/on</property> - <value>1</value> - </equals> - <equals> - <property>systems/radio/rmp[1]/sel_chan</property> - <value type="string">hf2</value> - </equals> - </and> - </condition> - <command>property-adjust</command> - <property>systems/radio/rmp[1]/hf2-standby</property> - <step>-1</step> - <min>2000</min> - <max>29999</max> - <wrap>true</wrap> - </binding> - - <binding> - <condition> - <and> - <greater-than-equals> - <property>systems/electrical/bus/dc-ess</property> - <value>25</value> - </greater-than-equals> - <equals> - <property>controls/radio/rmp[1]/on</property> - <value>1</value> - </equals> - <equals> - <property>systems/radio/rmp[1]/sel_chan</property> - <value type="string">ls</value> - </equals> - <equals> - <property>systems/radio/rmp[1]/select-crs</property> - <value>0</value> - </equals> - </and> - </condition> - <command>property-adjust</command> - <property>instrumentation/nav[0]/frequencies/standby-mhz</property> - <step>-0.05</step> - <min>108.00</min> - <max>112.00</max> - <wrap>true</wrap> - </binding> - <binding> - <condition> - <and> - <greater-than-equals> - <property>systems/electrical/bus/dc-ess</property> - <value>25</value> - </greater-than-equals> - <equals> - <property>controls/radio/rmp[1]/on</property> - <value>1</value> - </equals> - <equals> - <property>systems/radio/rmp[1]/sel_chan</property> - <value type="string">ls</value> - </equals> - <equals> - <property>systems/radio/rmp[1]/select-crs</property> - <value>1</value> - </equals> - </and> - </condition> - <command>property-adjust</command> - <property>instrumentation/nav[0]/radials/selected-deg</property> - <step>-1</step> - <min>1</min> - <max>361</max> - <wrap>true</wrap> - </binding> - - <binding> - <condition> - <and> - <greater-than-equals> - <property>systems/electrical/bus/dc-ess</property> - <value>25</value> - </greater-than-equals> - <equals> - <property>controls/radio/rmp[1]/on</property> - <value>1</value> - </equals> - <equals> - <property>systems/radio/rmp[1]/sel_chan</property> - <value type="string">vor</value> - </equals> - <equals> - <property>systems/radio/rmp[1]/select-crs</property> - <value>0</value> - </equals> - </and> - </condition> - <command>property-adjust</command> - <property>instrumentation/nav[3]/frequencies/standby-mhz</property> - <step>-0.05</step> - <min>108.00</min> - <max>118.00</max> - <wrap>true</wrap> - </binding> - <binding> - <condition> - <and> - <greater-than-equals> - <property>systems/electrical/bus/dc-ess</property> - <value>25</value> - </greater-than-equals> - <equals> - <property>controls/radio/rmp[1]/on</property> - <value>1</value> - </equals> - <equals> - <property>systems/radio/rmp[1]/sel_chan</property> - <value type="string">vor</value> - </equals> - <equals> - <property>systems/radio/rmp[1]/select-crs</property> - <value>1</value> - </equals> - </and> - </condition> - <command>property-adjust</command> - <property>instrumentation/nav[3]/radials/selected-deg</property> - <step>-1</step> - <min>1</min> - <max>361</max> - <wrap>true</wrap> - </binding> - - <binding> - <condition> - <and> - <greater-than-equals> - <property>systems/electrical/bus/dc-ess</property> - <value>25</value> - </greater-than-equals> - <equals> - <property>controls/radio/rmp[1]/on</property> - <value>1</value> - </equals> - <equals> - <property>systems/radio/rmp[1]/sel_chan</property> - <value type="string">adf</value> - </equals> - </and> - </condition> - <command>property-adjust</command> - <property>instrumentation/adf[1]/frequencies/standby-khz</property> - <step>-1</step> - <min>190</min> - <max>1751</max> - <wrap>true</wrap> - </binding> - </action> - </animation> - <animation> - <type>pick</type> - <object-name>radio_rot0</object-name> - <action> - <button>0</button> - <button>3</button> - <repeatable>true</repeatable> - - <binding> - <condition> - <and> - <greater-than-equals> - <property>systems/electrical/bus/dc-ess</property> - <value>25</value> - </greater-than-equals> - <equals> - <property>controls/radio/rmp[1]/on</property> - <value>1</value> - </equals> - <equals> - <property>systems/radio/rmp[1]/sel_chan</property> - <value type="string">vhf1</value> - </equals> - </and> - </condition> - <command>property-adjust</command> - <property>systems/radio/rmp[1]/vhf1-standby</property> - <step>1</step> - <min>118.0</min> - <max>137.0</max> - <wrap>true</wrap> - <mask>integer</mask> - </binding> - - <binding> - <condition> - <and> - <greater-than-equals> - <property>systems/electrical/bus/dc-ess</property> - <value>25</value> - </greater-than-equals> - <equals> - <property>controls/radio/rmp[1]/on</property> - <value>1</value> - </equals> - <equals> - <property>systems/radio/rmp[1]/sel_chan</property> - <value type="string">vhf2</value> - </equals> - </and> - </condition> - <command>property-adjust</command> - <property>systems/radio/rmp[1]/vhf2-standby</property> - <step>1</step> - <min>118.0</min> - <max>137.0</max> - <wrap>true</wrap> - <mask>integer</mask> - </binding> - - <binding> - <condition> - <and> - <greater-than-equals> - <property>systems/electrical/bus/dc-ess</property> - <value>25</value> - </greater-than-equals> - <equals> - <property>controls/radio/rmp[1]/on</property> - <value>1</value> - </equals> - <equals> - <property>systems/radio/rmp[1]/sel_chan</property> - <value type="string">vhf3</value> - </equals> - <not> - <equals> - <property>systems/radio/rmp[1]/vhf3-standby</property> - <value>0</value> - </equals> - </not> - </and> - </condition> - <command>property-adjust</command> - <property>systems/radio/rmp[1]/vhf3-standby</property> - <step>1</step> - <min>118.0</min> - <max>137.0</max> - <wrap>true</wrap> - <mask>integer</mask> - </binding> - - <binding> - <condition> - <and> - <greater-than-equals> - <property>systems/electrical/bus/dc-ess</property> - <value>25</value> - </greater-than-equals> - <equals> - <property>controls/radio/rmp[1]/on</property> - <value>1</value> - </equals> - <equals> - <property>systems/radio/rmp[1]/sel_chan</property> - <value type="string">hf1</value> - </equals> - </and> - </condition> - <command>property-adjust</command> - <property>systems/radio/rmp[1]/hf1-standby</property> - <step>100</step> - <min>2000</min> - <max>29999</max> - <wrap>true</wrap> - <mask>integer</mask> - </binding> - - <binding> - <condition> - <and> - <greater-than-equals> - <property>systems/electrical/bus/dc-ess</property> - <value>25</value> - </greater-than-equals> - <equals> - <property>controls/radio/rmp[1]/on</property> - <value>1</value> - </equals> - <equals> - <property>systems/radio/rmp[1]/sel_chan</property> - <value type="string">hf2</value> - </equals> - </and> - </condition> - <command>property-adjust</command> - <property>systems/radio/rmp[1]/hf2-standby</property> - <step>100</step> - <min>2000</min> - <max>29999</max> - <wrap>true</wrap> - <mask>integer</mask> - </binding> - - <binding> - <condition> - <and> - <greater-than-equals> - <property>systems/electrical/bus/dc-ess</property> - <value>25</value> - </greater-than-equals> - <equals> - <property>controls/radio/rmp[1]/on</property> - <value>1</value> - </equals> - <equals> - <property>systems/radio/rmp[1]/sel_chan</property> - <value type="string">ls</value> - </equals> - <equals> - <property>systems/radio/rmp[1]/select-crs</property> - <value>0</value> - </equals> - </and> - </condition> - <command>property-adjust</command> - <property>instrumentation/nav[0]/frequencies/standby-mhz</property> - <step>1.00</step> - <min>108.00</min> - <max>112.00</max> - <wrap>true</wrap> - </binding> - - <binding> - <condition> - <and> - <greater-than-equals> - <property>systems/electrical/bus/dc-ess</property> - <value>25</value> - </greater-than-equals> - <equals> - <property>controls/radio/rmp[1]/on</property> - <value>1</value> - </equals> - <equals> - <property>systems/radio/rmp[1]/sel_chan</property> - <value type="string">vor</value> - </equals> - <equals> - <property>systems/radio/rmp[1]/select-crs</property> - <value>0</value> - </equals> - </and> - </condition> - <command>property-adjust</command> - <property>instrumentation/nav[3]/frequencies/standby-mhz</property> - <step>1.00</step> - <min>108.00</min> - <max>118.00</max> - <wrap>true</wrap> - </binding> - </action> - <action> - <button>1</button> - <button>4</button> - <repeatable>true</repeatable> - - <binding> - <condition> - <and> - <greater-than-equals> - <property>systems/electrical/bus/dc-ess</property> - <value>25</value> - </greater-than-equals> - <equals> - <property>controls/radio/rmp[1]/on</property> - <value>1</value> - </equals> - <equals> - <property>systems/radio/rmp[1]/sel_chan</property> - <value type="string">vhf1</value> - </equals> - </and> - </condition> - <command>property-adjust</command> - <property>systems/radio/rmp[1]/vhf1-standby</property> - <step>-1</step> - <min>118.0</min> - <max>137.0</max> - <wrap>true</wrap> - <mask>integer</mask> - </binding> - - <binding> - <condition> - <and> - <greater-than-equals> - <property>systems/electrical/bus/dc-ess</property> - <value>25</value> - </greater-than-equals> - <equals> - <property>controls/radio/rmp[1]/on</property> - <value>1</value> - </equals> - <equals> - <property>systems/radio/rmp[1]/sel_chan</property> - <value type="string">vhf2</value> - </equals> - </and> - </condition> - <command>property-adjust</command> - <property>systems/radio/rmp[1]/vhf2-standby</property> - <step>-1</step> - <min>118.0</min> - <max>137.0</max> - <wrap>true</wrap> - <mask>integer</mask> - </binding> - - <binding> - <condition> - <and> - <greater-than-equals> - <property>systems/electrical/bus/dc-ess</property> - <value>25</value> - </greater-than-equals> - <equals> - <property>controls/radio/rmp[1]/on</property> - <value>1</value> - </equals> - <equals> - <property>systems/radio/rmp[1]/sel_chan</property> - <value type="string">vhf3</value> - </equals> - <not> - <equals> - <property>systems/radio/rmp[1]/vhf3-standby</property> - <value>0</value> - </equals> - </not> - </and> - </condition> - <command>property-adjust</command> - <property>systems/radio/rmp[1]/vhf3-standby</property> - <step>-1</step> - <min>118.0</min> - <max>137.0</max> - <wrap>true</wrap> - <mask>integer</mask> - </binding> - - <binding> - <condition> - <and> - <greater-than-equals> - <property>systems/electrical/bus/dc-ess</property> - <value>25</value> - </greater-than-equals> - <equals> - <property>controls/radio/rmp[1]/on</property> - <value>1</value> - </equals> - <equals> - <property>systems/radio/rmp[1]/sel_chan</property> - <value type="string">hf1</value> - </equals> - </and> - </condition> - <command>property-adjust</command> - <property>systems/radio/rmp[1]/hf1-standby</property> - <step>-100</step> - <min>2000</min> - <max>29999</max> - <wrap>true</wrap> - <mask>integer</mask> - </binding> - - <binding> - <condition> - <and> - <greater-than-equals> - <property>systems/electrical/bus/dc-ess</property> - <value>25</value> - </greater-than-equals> - <equals> - <property>controls/radio/rmp[1]/on</property> - <value>1</value> - </equals> - <equals> - <property>systems/radio/rmp[1]/sel_chan</property> - <value type="string">hf2</value> - </equals> - </and> - </condition> - <command>property-adjust</command> - <property>systems/radio/rmp[1]/hf2-standby</property> - <step>-100</step> - <min>2000</min> - <max>29999</max> - <wrap>true</wrap> - <mask>integer</mask> - </binding> - - <binding> - <condition> - <and> - <greater-than-equals> - <property>systems/electrical/bus/dc-ess</property> - <value>25</value> - </greater-than-equals> - <equals> - <property>controls/radio/rmp[1]/on</property> - <value>1</value> - </equals> - <equals> - <property>systems/radio/rmp[1]/sel_chan</property> - <value type="string">ls</value> - </equals> - <equals> - <property>systems/radio/rmp[1]/select-crs</property> - <value>0</value> - </equals> - </and> - </condition> - <command>property-adjust</command> - <property>instrumentation/nav[0]/frequencies/standby-mhz</property> - <step>-1.00</step> - <min>108.00</min> - <max>112.00</max> - <wrap>true</wrap> - </binding> - - <binding> - <condition> - <and> - <greater-than-equals> - <property>systems/electrical/bus/dc-ess</property> - <value>25</value> - </greater-than-equals> - <equals> - <property>controls/radio/rmp[1]/on</property> - <value>1</value> - </equals> - <equals> - <property>systems/radio/rmp[1]/sel_chan</property> - <value type="string">vor</value> - </equals> - <equals> - <property>systems/radio/rmp[1]/select-crs</property> - <value>0</value> - </equals> - </and> - </condition> - <command>property-adjust</command> - <property>instrumentation/nav[3]/frequencies/standby-mhz</property> - <step>-1</step> - <min>108.00</min> - <max>118.00</max> - <wrap>true</wrap> - </binding> - </action> - </animation> <!-- NAV Protector --> <animation> @@ -1503,10 +52,7 @@ <property>systems/electrical/bus/dc-ess</property> <value>25</value> </greater-than-equals> - <equals> - <property>controls/radio/rmp[1]/on</property> - <value>1</value> - </equals> + <property>controls/radio/rmp[1]/on</property> <equals> <property>controls/radio/rmp[1]/nav-protect</property> <value>1</value> @@ -1543,10 +89,7 @@ <property>systems/electrical/bus/dc-ess</property> <value>25</value> </greater-than-equals> - <equals> - <property>controls/radio/rmp[1]/on</property> - <value>1</value> - </equals> + <property>controls/radio/rmp[1]/on</property> <equals> <property>systems/radio/rmp[1]/nav</property> <value>1</value> @@ -1573,10 +116,7 @@ <property>systems/electrical/bus/dc-ess</property> <value>25</value> </greater-than-equals> - <equals> - <property>controls/radio/rmp[1]/on</property> - <value>1</value> - </equals> + <property>controls/radio/rmp[1]/on</property> <equals> <property>systems/radio/rmp[1]/nav</property> <value>1</value> @@ -1603,10 +143,7 @@ <property>systems/electrical/bus/dc-ess</property> <value>25</value> </greater-than-equals> - <equals> - <property>controls/radio/rmp[1]/on</property> - <value>1</value> - </equals> + <property>controls/radio/rmp[1]/on</property> <equals> <property>systems/radio/rmp[1]/nav</property> <value>1</value> @@ -1632,10 +169,7 @@ <property>systems/electrical/bus/dc-ess</property> <value>25</value> </greater-than-equals> - <equals> - <property>controls/radio/rmp[1]/on</property> - <value>1</value> - </equals> + <property>controls/radio/rmp[1]/on</property> <equals> <property>systems/radio/rmp[1]/nav</property> <value>1</value> @@ -1650,332 +184,6 @@ </action> </animation> - <!-- SEL Light --> - <animation> - <type>select</type> - <object-name>radio_sel_led</object-name> - <condition> - <or> - <equals> - <property>controls/switches/annun-test</property> - <value>1</value> - </equals> - <and> - <greater-than-equals> - <property>systems/electrical/bus/dc-ess</property> - <value>25</value> - </greater-than-equals> - <equals> - <property>controls/radio/rmp[1]/on</property> - <value>1</value> - </equals> - <equals> - <property>systems/radio/rmp[1]/sel-light</property> - <value>1</value> - </equals> - </and> - </or> - </condition> - </animation> - - <!-- Status Lights --> - <animation> - <type>select</type> - <object-name>radio_vhf1_led</object-name> - <condition> - <or> - <equals> - <property>controls/switches/annun-test</property> - <value>1</value> - </equals> - <and> - <greater-than-equals> - <property>systems/electrical/bus/dc-ess</property> - <value>25</value> - </greater-than-equals> - <equals> - <property>systems/radio/rmp[1]/sel_chan</property> - <value type="string">vhf1</value> - </equals> - <equals> - <property>controls/radio/rmp[1]/on</property> - <value>1</value> - </equals> - </and> - </or> - </condition> - </animation> - - <animation> - <type>select</type> - <object-name>radio_vhf2_led</object-name> - <condition> - <or> - <equals> - <property>controls/switches/annun-test</property> - <value>1</value> - </equals> - <and> - <greater-than-equals> - <property>systems/electrical/bus/dc-ess</property> - <value>25</value> - </greater-than-equals> - <equals> - <property>systems/radio/rmp[1]/sel_chan</property> - <value type="string">vhf2</value> - </equals> - <equals> - <property>controls/radio/rmp[1]/on</property> - <value>1</value> - </equals> - </and> - </or> - </condition> - </animation> - - <animation> - <type>select</type> - <object-name>radio_vhf3_led</object-name> - <condition> - <or> - <equals> - <property>controls/switches/annun-test</property> - <value>1</value> - </equals> - <and> - <greater-than-equals> - <property>systems/electrical/bus/dc-ess</property> - <value>25</value> - </greater-than-equals> - <equals> - <property>systems/radio/rmp[1]/sel_chan</property> - <value type="string">vhf3</value> - </equals> - <equals> - <property>controls/radio/rmp[1]/on</property> - <value>1</value> - </equals> - </and> - </or> - </condition> - </animation> - - <animation> - <type>select</type> - <object-name>radio_hf1_led</object-name> - <condition> - <or> - <equals> - <property>controls/switches/annun-test</property> - <value>1</value> - </equals> - <and> - <greater-than-equals> - <property>systems/electrical/bus/dc-ess</property> - <value>25</value> - </greater-than-equals> - <equals> - <property>systems/radio/rmp[1]/sel_chan</property> - <value type="string">hf1</value> - </equals> - <equals> - <property>controls/radio/rmp[1]/on</property> - <value>1</value> - </equals> - </and> - </or> - </condition> - </animation> - - <animation> - <type>select</type> - <object-name>radio_hf2_led</object-name> - <condition> - <or> - <equals> - <property>controls/switches/annun-test</property> - <value>1</value> - </equals> - <and> - <greater-than-equals> - <property>systems/electrical/bus/dc-ess</property> - <value>25</value> - </greater-than-equals> - <equals> - <property>systems/radio/rmp[1]/sel_chan</property> - <value type="string">hf2</value> - </equals> - <equals> - <property>controls/radio/rmp[1]/on</property> - <value>1</value> - </equals> - </and> - </or> - </condition> - </animation> - - <animation> - <type>select</type> - <object-name>radio_nav_led</object-name> - <condition> - <or> - <equals> - <property>controls/switches/annun-test</property> - <value>1</value> - </equals> - <and> - <greater-than-equals> - <property>systems/electrical/bus/dc-ess</property> - <value>25</value> - </greater-than-equals> - <equals> - <property>systems/radio/rmp[1]/nav</property> - <value>1</value> - </equals> - <equals> - <property>controls/radio/rmp[1]/on</property> - <value>1</value> - </equals> - </and> - </or> - </condition> - </animation> - - <animation> - <type>select</type> - <object-name>radio_vor_led</object-name> - <condition> - <or> - <equals> - <property>controls/switches/annun-test</property> - <value>1</value> - </equals> - <and> - <greater-than-equals> - <property>systems/electrical/bus/dc-ess</property> - <value>25</value> - </greater-than-equals> - <equals> - <property>systems/radio/rmp[1]/sel_chan</property> - <value type="string">vor</value> - </equals> - <equals> - <property>controls/radio/rmp[1]/on</property> - <value>1</value> - </equals> - </and> - </or> - </condition> - </animation> - - <animation> - <type>select</type> - <object-name>radio_ls_led</object-name> - <condition> - <or> - <equals> - <property>controls/switches/annun-test</property> - <value>1</value> - </equals> - <and> - <greater-than-equals> - <property>systems/electrical/bus/dc-ess</property> - <value>25</value> - </greater-than-equals> - <equals> - <property>systems/radio/rmp[1]/sel_chan</property> - <value type="string">ls</value> - </equals> - <equals> - <property>controls/radio/rmp[1]/on</property> - <value>1</value> - </equals> - </and> - </or> - </condition> - </animation> - - <animation> - <type>select</type> - <object-name>radio_adf_led</object-name> - <condition> - <or> - <equals> - <property>controls/switches/annun-test</property> - <value>1</value> - </equals> - <and> - <greater-than-equals> - <property>systems/electrical/bus/dc-ess</property> - <value>25</value> - </greater-than-equals> - <equals> - <property>systems/radio/rmp[1]/sel_chan</property> - <value type="string">adf</value> - </equals> - <equals> - <property>controls/radio/rmp[1]/on</property> - <value>1</value> - </equals> - </and> - </or> - </condition> - </animation> - - <animation> - <type>select</type> - <object-name>radio_bfo_led</object-name> - <condition> - <or> - <equals> - <property>controls/switches/annun-test</property> - <value>1</value> - </equals> - <and> - <greater-than-equals> - <property>systems/electrical/bus/dc-ess</property> - <value>25</value> - </greater-than-equals> - <equals> - <property>systems/radio/rmp[1]/bfo-active</property> - <value>1</value> - </equals> - <equals> - <property>controls/radio/rmp[1]/on</property> - <value>1</value> - </equals> - </and> - </or> - </condition> - </animation> - - <animation> - <type>select</type> - <object-name>radio_am_led</object-name> - <condition> - <or> - <equals> - <property>controls/switches/annun-test</property> - <value>1</value> - </equals> - <and> - <greater-than-equals> - <property>systems/electrical/bus/dc-ess</property> - <value>25</value> - </greater-than-equals> - <equals> - <property>systems/radio/rmp[1]/am-active</property> - <value>1</value> - </equals> - <equals> - <property>controls/radio/rmp[1]/on</property> - <value>1</value> - </equals> - </and> - </or> - </condition> - </animation> - <animation> <name>Panel lighting</name> diff --git a/Systems/a320-cockpit.xml b/Systems/a320-cockpit.xml index a8d157f7..2104c7c4 100644 --- a/Systems/a320-cockpit.xml +++ b/Systems/a320-cockpit.xml @@ -499,6 +499,16 @@ <input>/controls/OH/protectors/idg2</input> <c1>20</c1> </lag_filter> + + <lag_filter name="/controls/cockpit/rmp-l-on-pos"> + <input>/controls/radio/rmp[0]/on</input> + <c1>20</c1> + </lag_filter> + + <lag_filter name="/controls/cockpit/rmp-r-on-pos"> + <input>/controls/radio/rmp[1]/on</input> + <c1>20</c1> + </lag_filter> </channel>