This repository has been archived on 2021-09-26. You can view files and clone it, but cannot push or open issues or pull requests.
IDG-A32X/Models/Instruments/Radio/Radio1.xml

1579 lines
38 KiB
XML
Raw Normal View History

<?xml version="1.0" encoding="UTF-8"?>
2018-09-23 21:46:37 +00:00
<!--
############################
# Copyright (c) merspieler #
############################
2018-09-23 21:46:37 +00:00
-->
2018-09-23 21:46:37 +00:00
<PropertyList>
2018-10-21 20:47:55 +00:00
<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[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>
</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[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>
<equals>
<property>controls/radio/rmp[0]/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[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>
<equals>
<property>controls/radio/rmp[0]/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[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>
<equals>
<property>controls/radio/rmp[0]/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[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>
<equals>
<property>controls/radio/rmp[0]/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[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>
<equals>
<property>controls/radio/rmp[0]/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[0]/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[0]/on</property>
<value>1</value>
</equals>
<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>
</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(1);</script>
<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>
</and>
</condition>
</binding>
</action>
</animation>
<!-- Knob -->
<!-- TODO add bindings for VOR, LS and ADF -->
<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-adjust</command>
<property>systems/radio/rmp[0]/vhf1-standby</property>
<step>0.025</step>
<min>0.0</min>
<max>1.0</max>
<resolution>0.025</resolution>
<wrap>true</wrap>
<mask>decimal</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>0.025</step>
<min>0.0</min>
<max>1.0</max>
<resolution>0.025</resolution>
<wrap>true</wrap>
<mask>decimal</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>0.025</step>
<resolution>0.025</resolution>
<min>0.0</min>
<max>1.0</max>
<wrap>true</wrap>
<mask>decimal</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>1</step>
<min>200</min>
<max>1800</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>200</min>
<max>1800</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>-0.025</step>
<min>0.0</min>
<max>1.0</max>
<resolution>0.025</resolution>
<wrap>true</wrap>
<mask>decimal</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>-0.025</step>
<min>0.0</min>
<max>1.0</max>
<resolution>0.025</resolution>
<wrap>true</wrap>
<mask>decimal</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>-0.025</step>
<min>0.0</min>
<max>1.0</max>
<resolution>0.025</resolution>
<wrap>true</wrap>
<mask>decimal</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>-1</step>
<min>200</min>
<max>1800</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>200</min>
<max>1800</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>200</min>
<max>1800</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>200</min>
<max>1800</max>
<wrap>true</wrap>
<mask>integer</mask>
</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>200</min>
<max>1800</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>200</min>
<max>1800</max>
<wrap>true</wrap>
<mask>integer</mask>
</binding>
</action>
</animation>
<!-- NAV Protector -->
<animation>
<type>pick</type>
<object-name>radio_nav_lit</object-name>
<action>
<button>1</button>
<binding>
<command>property-assign</command>
<property>controls/radio/rmp[0]/nav-protect</property>
<value>1</value>
</binding>
<mod-up>
<binding>
<command>property-assign</command>
<property>controls/radio/rmp[0]/nav-protect</property>
<value>0</value>
</binding>
<binding>
<command>nasal</command>
<script>setprop("/sim/sounde/oh-cover", 1);</script>
</binding>
</mod-up>
</action>
</animation>
<animation>
<type>rotate</type>
<object-name>radio_nav_lit</object-name>
<property>controls/radio/rmp[0]/nav-protect</property>
<factor>-90</factor>
<axis>
<object-name>radio_nav_lit.axis</object-name>
</axis>
</animation>
<!-- NAV -->
<animation>
<type>pick</type>
<object-name>radio_nav</object-name>
<action>
<button>0</button>
<repeatable>true</repeatable>
<binding>
<command>property-toggle</command>
<property>systems/radio/rmp[0]/nav</property>
<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>controls/radio/rmp[0]/nav-protect</property>
<value>1</value>
</equals>
</and>
</condition>
</binding>
</action>
</animation>
<!-- STBY NAV -->
<animation>
<type>pick</type>
<object-name>radio_vor</object-name>
<action>
<button>0</button>
<repeatable>true</repeatable>
<binding>
<command>property-assign</command>
<property>systems/radio/rmp[0]/sel_chan</property>
<value>vor</value>
<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]/nav</property>
<value>1</value>
</equals>
</and>
</condition>
</binding>
</action>
</animation>
<animation>
<type>pick</type>
<object-name>radio_ls</object-name>
<action>
<button>0</button>
<repeatable>true</repeatable>
<binding>
<command>property-assign</command>
<property>systems/radio/rmp[0]/sel_chan</property>
<value>ls</value>
<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]/nav</property>
<value>1</value>
</equals>
</and>
</condition>
</binding>
</action>
</animation>
<animation>
<type>pick</type>
<object-name>radio_adf</object-name>
<action>
<button>0</button>
<repeatable>true</repeatable>
<binding>
<command>property-assign</command>
<property>systems/radio/rmp[0]/sel_chan</property>
<value>adf</value>
<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]/nav</property>
<value>1</value>
</equals>
</and>
</condition>
</binding>
</action>
</animation>
<animation>
<type>pick</type>
<object-name>radio_bfo</object-name>
<action>
<button>0</button>
<repeatable>true</repeatable>
<binding>
<command>property-toggle</command>
<property>systems/radio/rmp[0]/bfo-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[0]/on</property>
<value>1</value>
</equals>
<equals>
<property>systems/radio/rmp[0]/nav</property>
<value>1</value>
</equals>
<equals>
<property>systems/radio/rmp[0]/sel_chan</property>
<value>adf</value>
</equals>
</and>
</condition>
</binding>
</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[0]/on</property>
<value>1</value>
</equals>
2018-10-21 20:47:55 +00:00
<equals>
<property>systems/radio/rmp[0]/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[0]/sel_chan</property>
<value type="string">vhf1</value>
</equals>
<equals>
<property>controls/radio/rmp[0]/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[0]/sel_chan</property>
<value type="string">vhf2</value>
</equals>
<equals>
<property>controls/radio/rmp[0]/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[0]/sel_chan</property>
<value type="string">vhf3</value>
</equals>
<equals>
<property>controls/radio/rmp[0]/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[0]/sel_chan</property>
<value type="string">hf1</value>
</equals>
<equals>
<property>controls/radio/rmp[0]/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[0]/sel_chan</property>
<value type="string">hf2</value>
</equals>
<equals>
<property>controls/radio/rmp[0]/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[0]/nav</property>
<value>1</value>
</equals>
<equals>
<property>controls/radio/rmp[0]/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[0]/sel_chan</property>
<value type="string">vor</value>
</equals>
<equals>
<property>controls/radio/rmp[0]/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[0]/sel_chan</property>
<value type="string">ls</value>
</equals>
<equals>
<property>controls/radio/rmp[0]/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[0]/sel_chan</property>
<value type="string">adf</value>
</equals>
<equals>
<property>controls/radio/rmp[0]/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[0]/bfo-active</property>
<value>1</value>
</equals>
<equals>
<property>controls/radio/rmp[0]/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[0]/am-active</property>
<value>1</value>
</equals>
<equals>
<property>controls/radio/rmp[0]/on</property>
<value>1</value>
</equals>
</and>
</or>
</condition>
</animation>
<!-- Active Display -->
<animation>
<type>select</type>
<object-name>rmp-active</object-name>
<condition>
<and>
<not-equals>
<property>controls/switches/annun-test</property>
<value>1</value>
</not-equals>
<equals>
<property>controls/radio/rmp[0]/on</property>
<value>1</value>
</equals>
<greater-than-equals>
<property>systems/electrical/bus/dc-ess</property>
<value>25</value>
</greater-than-equals>
</and>
</condition>
</animation>
<text>
<name>rmp-active</name>
<offsets>
<x-m>-0.23205</x-m>
<y-m>-0.21625</y-m>
<z-m>-0.12582</z-m>
<heading-deg>90</heading-deg>
</offsets>
<alignment>center-center</alignment>
<axis-alignment>xy-plane</axis-alignment>
<type type="string">text-value</type>
<format type="string">%s</format>
<property>controls/radio/rmp[0]/active-display</property>
<truncate type="bool">false</truncate>
<font type="string">led.txf</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>
<font-resolution>
<width type="int">32</width>
<height type="int">32</height>
</font-resolution>
</text>
<!-- Test Illumination-->
<animation>
<type>select</type>
<object-name>rmp-active-test</object-name>
<condition>
2019-01-30 22:16:27 +00:00
<and>
<equals>
<property>controls/switches/annun-test</property>
<value>1</value>
</equals>
2019-01-30 22:26:11 +00:00
<equals>
<property>controls/radio/rmp[0]/on</property>
<value>1</value>
</equals>
2019-01-30 22:16:27 +00:00
<greater-than-equals>
<property>systems/electrical/bus/dc-ess</property>
<value>25</value>
</greater-than-equals>
</and>
</condition>
</animation>
<text>
<name>rmp-active-test</name>
<offsets>
<x-m>-0.23205</x-m>
<y-m>-0.21625</y-m>
<z-m>-0.12582</z-m>
<heading-deg>90</heading-deg>
</offsets>
<alignment>center-center</alignment>
<axis-alignment>xy-plane</axis-alignment>
<type type="string">text-value</type>
<format type="string">888.888</format>
<property>autopilot/servicable</property>
<truncate type="bool">false</truncate>
<font type="string">led.txf</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>
<font-resolution>
<width type="int">32</width>
<height type="int">32</height>
</font-resolution>
</text>
<!-- STBY Display -->
<animation>
<type>select</type>
<object-name>rmp-standby</object-name>
<condition>
<and>
<not-equals>
<property>controls/switches/annun-test</property>
<value>1</value>
</not-equals>
<equals>
<property>controls/radio/rmp[0]/on</property>
<value>1</value>
</equals>
<greater-than-equals>
<property>systems/electrical/bus/dc-ess</property>
<value>25</value>
</greater-than-equals>
</and>
</condition>
</animation>
<text>
<name>rmp-standby</name>
<offsets>
<x-m>-0.23205</x-m>
<y-m>-0.14896</y-m>
<z-m>-0.12582</z-m>
<heading-deg>90</heading-deg>
</offsets>
<alignment>center-center</alignment>
<axis-alignment>xy-plane</axis-alignment>
<type type="string">text-value</type>
<format type="string">%s</format>
<property>controls/radio/rmp[0]/standby-display</property>
<truncate type="bool">false</truncate>
<font type="string">led.txf</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>
<font-resolution>
<width type="int">32</width>
<height type="int">32</height>
</font-resolution>
</text>
<!-- Test Illumination-->
<animation>
<type>select</type>
<object-name>rmp-standby-test</object-name>
<condition>
2019-01-30 22:16:27 +00:00
<and>
<equals>
<property>controls/switches/annun-test</property>
<value>1</value>
</equals>
2019-01-30 22:26:11 +00:00
<equals>
<property>controls/radio/rmp[0]/on</property>
<value>1</value>
</equals>
2019-01-30 22:16:27 +00:00
<greater-than-equals>
<property>systems/electrical/bus/dc-ess</property>
<value>25</value>
</greater-than-equals>
</and>
</condition>
</animation>
<text>
<name>rmp-standby-test</name>
<offsets>
<x-m>-0.23205</x-m>
<y-m>-0.14896</y-m>
<z-m>-0.12582</z-m>
<heading-deg>90</heading-deg>
</offsets>
<alignment>center-center</alignment>
<axis-alignment>xy-plane</axis-alignment>
<type type="string">text-value</type>
<format type="string">888.888</format>
<property>autopilot/servicable</property>
<truncate type="bool">false</truncate>
<font type="string">led.txf</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>
<font-resolution>
<width type="int">32</width>
<height type="int">32</height>
</font-resolution>
</text>
<!-- Z Colors/Effects -->
<animation>
<type>material</type>
<object-name>rmp-active</object-name>
<object-name>rmp-active-test</object-name>
<object-name>rmp-standby</object-name>
<object-name>rmp-standby-test</object-name>
<diffuse>
<red>0.89</red>
<green>0.37</green>
<blue>0.08</blue>
</diffuse>
<ambient>
<red>0</red>
<green>0</green>
<blue>0</blue>
</ambient>
<specular>
<red>0</red>
<green>0</green>
<blue>0</blue>
</specular>
<emission>
<red>0.89</red>
<green>0.37</green>
<blue>0.08</blue>
</emission>
</animation>
<animation>
<name>Panel lighting</name>
<type>material</type>
<object-name>radio_body</object-name>
2018-11-20 10:58:07 +00:00
<object-name>radio_rot0</object-name>
<object-name>radio_rot1</object-name>
<object-name>radio_on</object-name>
<emission>
<red>0.3</red>
<green>0.3</green>
<blue>0.3</blue>
<factor-prop>sim/model/lights/dome-light</factor-prop>
</emission>
</animation>
<effect>
<inherits-from>Aircraft/IDG-A32X/Models/Effects/cockpit-irradiance</inherits-from>
<object-name>radio_body</object-name>
<object-name>radio_glare</object-name>
<object-name>radio_rot0</object-name>
<object-name>radio_rot1</object-name>
2018-11-20 10:58:07 +00:00
<object-name>radio_on</object-name>
</effect>
2018-09-23 21:46:37 +00:00
</PropertyList>