<?xml version="1.0"?>
<!-- CTL 22 Comm2 Control for VHF-22 tranceiver
Active and preset displayed +
6 frequency memory storage
2.375"W x 2.625"H
Freq. range 118.000 - 135.975 (normal) @ 25 khz spacing
Syd Adams
 -->

<PropertyList>

    <path>ctl22.ac</path>

    <animation>
        <type>select</type>
        <object-name>freq.001</object-name>
        <object-name>freq.002</object-name>
        <object-name>freq.003</object-name>
        <object-name>freq.dec</object-name>
        <object-name>freq.004</object-name>
        <object-name>freq.005</object-name>
        <object-name>freq.006</object-name>
        <condition>
            <greater-than>
                <property>/systems/electrical/outputs/comm</property>
                <value>1</value>
            </greater-than>
        </condition>
    </animation>

    <animation>
        <type>select</type>
        <object-name>stby.001</object-name>
        <object-name>stby.002</object-name>
        <object-name>stby.003</object-name>
        <object-name>stby.dec</object-name>
        <object-name>stby.004</object-name>
        <object-name>stby.005</object-name>
        <object-name>stby.006</object-name>
        <condition>
            <greater-than>
                <property>/systems/electrical/outputs/comm</property>
                <value>1</value>
            </greater-than>
        </condition>
    </animation>

    <animation>
        <type>select</type>
        <object-name>mem.annun</object-name>
        <condition>
            <greater-than>
                <property>/systems/electrical/outputs/comm</property>
                <value>1</value>
            </greater-than>
        </condition>
    </animation>

    <animation>
        <type>rotate</type>
        <object-name>CTL-22.pwr</object-name>
        <property>instrumentation/comm/serviceable</property>
        <interpolation>
            <entry><ind>0</ind><dep>0</dep></entry>
            <entry><ind>1.0</ind><dep>30</dep></entry>
        </interpolation>
        <center>
            <x-m>0.0</x-m>
            <y-m>-0.014</y-m>
            <z-m>-0.018</z-m>
        </center>
        <axis>
            <x>-1</x>
            <y>0</y>
            <z>0</z>
        </axis>
    </animation>

<!--    Active Frequency   -->

    <animation>
        <type>textranslate</type>
        <object-name>freq.001</object-name>
        <property>instrumentation/VHF-22/comm2</property>
        <factor>0.000001</factor>
        <step>100000</step>
        <axis>
            <x>0</x>
            <y>1</y>
            <z>0</z>
        </axis>
    </animation>

    <animation>
        <type>textranslate</type>
        <object-name>freq.002</object-name>
        <property>instrumentation/VHF-22/comm2</property>
        <factor>0.00001</factor>
        <step>10000</step>
        <axis>
            <x>0</x>
            <y>1</y>
            <z>0</z>
        </axis>
    </animation>

    <animation>
        <type>textranslate</type>
        <object-name>freq.003</object-name>
        <property>instrumentation/VHF-22/comm2</property>
        <factor>0.0001</factor>
        <step>1000</step>
        <axis>
            <x>0</x>
            <y>1</y>
            <z>0</z>
        </axis>
    </animation>

    <animation>
        <type>textranslate</type>
        <object-name>freq.004</object-name>
        <property>instrumentation/VHF-22/comm2</property>
        <factor>0.001</factor>
        <step>100</step>
        <axis>
            <x>0</x>
            <y>1</y>
            <z>0</z>
        </axis>
    </animation>

    <animation>
        <type>textranslate</type>
        <object-name>freq.005</object-name>
        <property>instrumentation/VHF-22/comm2</property>
        <factor>0.01</factor>
        <step>10</step>
        <axis>
            <x>0</x>
            <y>1</y>
            <z>0</z>
        </axis>
    </animation>

    <animation>
        <type>textranslate</type>
        <object-name>freq.006</object-name>
        <property>instrumentation/VHF-22/comm2</property>
        <factor>0.1</factor>
        <step>1</step>
        <axis>
            <x>0</x>
            <y>1</y>
            <z>0</z>
        </axis>
    </animation>

<!--    Preselected Frequency     -->

    <animation>
        <type>textranslate</type>
        <object-name>stby.001</object-name>
        <property>instrumentation/VHF-22/standby2</property>
        <factor>0.000001</factor>
        <step>100000</step>
        <axis>
            <x>0</x>
            <y>1</y>
            <z>0</z>
        </axis>
    </animation>

    <animation>
        <type>textranslate</type>
        <object-name>stby.002</object-name>
        <property>instrumentation/VHF-22/standby2</property>
        <factor>0.00001</factor>
        <step>10000</step>
        <axis>
            <x>0</x>
            <y>1</y>
            <z>0</z>
        </axis>
    </animation>

    <animation>
        <type>textranslate</type>
        <object-name>stby.003</object-name>
        <property>instrumentation/VHF-22/standby2</property>
        <factor>0.0001</factor>
        <step>1000</step>
        <axis>
            <x>0</x>
            <y>1</y>
            <z>0</z>
        </axis>
    </animation>

    <animation>
        <type>textranslate</type>
        <object-name>stby.004</object-name>
        <property>instrumentation/VHF-22/standby2</property>
        <factor>0.001</factor>
        <step>100</step>
        <axis>
            <x>0</x>
            <y>1</y>
            <z>0</z>
        </axis>
    </animation>

    <animation>
        <type>textranslate</type>
        <object-name>stby.005</object-name>
        <property>instrumentation/VHF-22/standby2</property>
        <factor>0.01</factor>
        <step>10</step>
        <axis>
            <x>0</x>
            <y>1</y>
            <z>0</z>
        </axis>
    </animation>

    <animation>
        <type>textranslate</type>
        <object-name>stby.006</object-name>
        <property>instrumentation/VHF-22/standby2</property>
        <factor>0.1</factor>
        <step>1</step>
        <axis>
            <x>0</x>
            <y>1</y>
            <z>0</z>
        </axis>
    </animation>

<!--    OSG hotspots    

    <animation>
        <type>pick</type>
        <object-name>CTL-22.xfr</object-name>
        <action>
            <button>0</button>
            <repeatable>false</repeatable>
            <binding>
            <command>property-swap</command>
            <property>/instrumentation/comm/frequencies/selected-mhz</property>
            <property>/instrumentation/comm/frequencies/standby-mhz</property>
        </binding>
        </action>
    </animation>

    <animation>
        <type>pick</type>
        <object-name>pwr.off</object-name>
        <action>
            <button>0</button>
            <repeatable>false</repeatable>
            <binding>
            <command>property-assign</command>
            <property>/instrumentation/comm/serviceable</property>
            <value>false</value>
        </binding>
        </action>
    </animation>

    <animation>
        <type>pick</type>
        <object-name>pwr.on</object-name>
        <action>
            <button>0</button>
            <repeatable>false</repeatable>
            <binding>
                <command>property-assign</command>
                <property>/instrumentation/comm/serviceable</property>
                <value>true</value>
            </binding>
        </action>
    </animation>

    <animation>
        <type>pick</type>
        <object-name>freq.dwn</object-name>
        <action>
            <button>0</button>
            <repeatable>true</repeatable>
            <interval-sec>0.2</interval-sec>
            <binding>
                <command>property-adjust</command>
                <property>/instrumentation/comm/frequencies/standby-mhz</property>
                <step>-0.025</step>
                <min>118.000</min>
                <max>135.975</max>
                <wrap>true</wrap>
            </binding>
        </action>
    </animation>

    <animation>
        <type>pick</type>
        <object-name>freq.up</object-name>
        <action>
            <button>0</button>
            <repeatable>true</repeatable>
            <interval-sec>0.2</interval-sec>
            <binding>
                <command>property-adjust</command>
                <property>/instrumentation/comm/frequencies/standby-mhz</property>
                <step>0.025</step>
                <min>118.000</min>
                <max>135.975</max>
                <wrap>true</wrap>
            </binding>
        </action>
    </animation>

    <animation>
        <type>pick</type>
        <object-name>freq.dwn</object-name>
        <action>
            <button>1</button>
            <repeatable>true</repeatable>
            <interval-sec>0.2</interval-sec>
            <binding>
                <command>property-adjust</command>
                <property>/instrumentation/comm/frequencies/standby-mhz</property>
                <step>-1.0</step>
                <min>118.000</min>
                <max>135.975</max>
                <wrap>true</wrap>
            </binding>
        </action>
    </animation>

    <animation>
        <type>pick</type>
        <object-name>freq.up</object-name>
        <action>
            <button>1</button>
            <repeatable>true</repeatable>
            <interval-sec>0.2</interval-sec>
            <binding>
                <command>property-adjust</command>
                <property>/instrumentation/comm/frequencies/standby-mhz</property>
                <step>1.0</step>
                <min>118.000</min>
                <max>135.975</max>
                <wrap>true</wrap>
            </binding>
        </action>
    </animation>
-->
</PropertyList>