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/Radio2.xml

1708 lines
41 KiB
XML

<?xml version="1.0" encoding="UTF-8"?>
<!--
############################
# Copyright (c) merspieler #
############################
-->
<PropertyList>
<path>res/Radio1.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/dc2</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/dc2</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/dc2</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/dc2</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/dc2</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/dc2</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>true</repeatable>
<binding>
<command>nasal</command>
<script>rmp.transfer(2);</script>
<condition>
<and>
<greater-than-equals>
<property>systems/electrical/bus/dc2</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 -->
<!-- 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/dc2</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>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/dc2</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>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/dc2</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>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/dc2</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>200</min>
<max>1800</max>
<wrap>true</wrap>
</binding>
<binding>
<condition>
<and>
<greater-than-equals>
<property>systems/electrical/bus/dc2</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>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/dc2</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>-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/dc2</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>-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/dc2</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>-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/dc2</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>200</min>
<max>1800</max>
<wrap>true</wrap>
</binding>
<binding>
<condition>
<and>
<greater-than-equals>
<property>systems/electrical/bus/dc2</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>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/dc2</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/dc2</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/dc2</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/dc2</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>200</min>
<max>1800</max>
<wrap>true</wrap>
<mask>integer</mask>
</binding>
<binding>
<condition>
<and>
<greater-than-equals>
<property>systems/electrical/bus/dc2</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>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/dc2</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/dc2</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/dc2</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/dc2</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>200</min>
<max>1800</max>
<wrap>true</wrap>
<mask>integer</mask>
</binding>
<binding>
<condition>
<and>
<greater-than-equals>
<property>systems/electrical/bus/dc2</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>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[1]/nav-protect</property>
<value>1</value>
</binding>
<mod-up>
<binding>
<command>property-assign</command>
<property>controls/radio/rmp[1]/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[1]/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[1]/nav</property>
<condition>
<and>
<greater-than-equals>
<property>systems/electrical/bus/dc2</property>
<value>25</value>
</greater-than-equals>
<equals>
<property>controls/radio/rmp[1]/on</property>
<value>1</value>
</equals>
<equals>
<property>controls/radio/rmp[1]/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[1]/sel_chan</property>
<value>vor</value>
<condition>
<and>
<greater-than-equals>
<property>systems/electrical/bus/dc2</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]/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[1]/sel_chan</property>
<value>ls</value>
<condition>
<and>
<greater-than-equals>
<property>systems/electrical/bus/dc2</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]/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[1]/sel_chan</property>
<value>adf</value>
<condition>
<and>
<greater-than-equals>
<property>systems/electrical/bus/dc2</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]/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[1]/bfo-active</property>
<condition>
<and>
<greater-than-equals>
<property>systems/electrical/bus/dc2</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]/nav</property>
<value>1</value>
</equals>
<equals>
<property>systems/radio/rmp[1]/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/dc2</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[0]/sel_chan</property>
<value type="string">vhf2</value>
</equals>
<equals>
<property>systems/radio/rmp[0]/sel_chan</property>
<value type="string">vhf3</value>
</equals>
<equals>
<property>systems/radio/rmp[0]/sel_chan</property>
<value type="string">hf1</value>
</equals>
<equals>
<property>systems/radio/rmp[0]/sel_chan</property>
<value type="string">hf2</value>
</equals>
<equals>
<property>systems/radio/rmp[1]/sel_chan</property>
<value type="string">vhf1</value>
</equals>
<equals>
<property>systems/radio/rmp[1]/sel_chan</property>
<value type="string">vhf3</value>
</equals>
<equals>
<property>systems/radio/rmp[1]/sel_chan</property>
<value type="string">hf1</value>
</equals>
<equals>
<property>systems/radio/rmp[1]/sel_chan</property>
<value type="string">hf2</value>
</equals>
<equals>
<property>systems/radio/rmp[2]/sel_chan</property>
<value type="string">vhf1</value>
</equals>
<equals>
<property>systems/radio/rmp[2]/sel_chan</property>
<value type="string">vhf2</value>
</equals>
</or>
</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/dc2</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/dc2</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/dc2</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/dc2</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/dc2</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/dc2</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/dc2</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/dc2</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/dc2</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/dc2</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/dc2</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>
<!-- 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[1]/on</property>
<value>1</value>
</equals>
<greater-than-equals>
<property>systems/electrical/bus/dc2</property>
<value>25</value>
</greater-than-equals>
<not>
<and>
<equals>
<property>systems/radio/rmp[1]/sel_chan</property>
<value type="string">vhf3</value>
</equals>
<equals>
<property>instrumentation/comm[2]/frequencies/selected-mhz</property>
<value>0</value>
</equals>
</and>
</not>
</and>
</condition>
</animation>
<text>
<name>rmp-active</name>
<offsets>
<x-m>-0.22205</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[1]/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>
<!-- VHF3 Data Mode-->
<animation>
<type>select</type>
<object-name>rmp-active-vhf3-data</object-name>
<condition>
<and>
<not-equals>
<property>controls/switches/annun-test</property>
<value>1</value>
</not-equals>
<equals>
<property>controls/radio/rmp[1]/on</property>
<value>1</value>
</equals>
<greater-than-equals>
<property>systems/electrical/bus/dc2</property>
<value>25</value>
</greater-than-equals>
<equals>
<property>systems/radio/rmp[1]/sel_chan</property>
<value type="string">vhf3</value>
</equals>
<equals>
<property>instrumentation/comm[2]/frequencies/selected-mhz</property>
<value>0</value>
</equals>
</and>
</condition>
</animation>
<text>
<name>rmp-active-vhf3-data</name>
<offsets>
<x-m>-0.22205</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">data</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>
<!-- Test Illumination-->
<animation>
<type>select</type>
<object-name>rmp-active-test</object-name>
<condition>
<equals>
<property>controls/switches/annun-test</property>
<value>1</value>
</equals>
</condition>
</animation>
<text>
<name>rmp-active-test</name>
<offsets>
<x-m>-0.22205</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[1]/on</property>
<value>1</value>
</equals>
<greater-than-equals>
<property>systems/electrical/bus/dc2</property>
<value>25</value>
</greater-than-equals>
<not>
<and>
<equals>
<property>systems/radio/rmp[1]/sel_chan</property>
<value type="string">vhf3</value>
</equals>
<equals>
<property>systems/radio/rmp[1]/vhf3-standby</property>
<value>0</value>
</equals>
</and>
</not>
</and>
</condition>
</animation>
<text>
<name>rmp-standby</name>
<offsets>
<x-m>-0.22205</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[1]/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>
<!-- VHF3 Data Mode-->
<animation>
<type>select</type>
<object-name>rmp-standby-vhf3-data</object-name>
<condition>
<and>
<not-equals>
<property>controls/switches/annun-test</property>
<value>1</value>
</not-equals>
<equals>
<property>controls/radio/rmp[1]/on</property>
<value>1</value>
</equals>
<greater-than-equals>
<property>systems/electrical/bus/dc2</property>
<value>25</value>
</greater-than-equals>
<equals>
<property>systems/radio/rmp[1]/sel_chan</property>
<value type="string">vhf3</value>
</equals>
<equals>
<property>systems/radio/rmp[1]/vhf3-standby</property>
<value>0</value>
</equals>
</and>
</condition>
</animation>
<text>
<name>rmp-standby-vhf3-data</name>
<offsets>
<x-m>-0.22205</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">data</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>
<!-- Test Illumination-->
<animation>
<type>select</type>
<object-name>rmp-standby-test</object-name>
<condition>
<equals>
<property>controls/switches/annun-test</property>
<value>1</value>
</equals>
</condition>
</animation>
<text>
<name>rmp-standby-test</name>
<offsets>
<x-m>-0.22205</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-active-vhf3-data</object-name>
<object-name>rmp-standby</object-name>
<object-name>rmp-standby-test</object-name>
<object-name>rmp-standby-vhf3-data</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>
</PropertyList>