<?xml version="1.0" encoding="ISO-8859-1"?>

<!-- CTL 62 ADF Control for ADF-462 receiver
     Active and preset displayed +
     4 frequency memory storage
     2.375"W x 2.625"H
     Freq. range 190.0 - 1800.0 (normal) 
     Strap option 2179.0 - 2185.0
     500 khz spacing
     Syd Adams
 -->

 <PropertyList>
   
  <path>ctl62.ac</path>
   
  <animation>
    <object-name>CTL-62</object-name>
    <object-name>CTL-62.pwr</object-name>
    <object-name>CTL-62.vol</object-name>
    <object-name>CTL-62.freq</object-name>
    <object-name>CTL-62.freq1</object-name>
    <object-name>CTL-62.toggle</object-name>
    <object-name>mem.annun</object-name>
    <object-name>ADFfreq.001</object-name>
    <object-name>ADFfreq.002</object-name>
    <object-name>ADFfreq.003</object-name>
    <object-name>ADFfreq.004</object-name>
    <object-name>freq.dec</object-name>
    <object-name>ADFfreq.005</object-name>
    <object-name>ADFstby.001</object-name>
    <object-name>ADFstby.002</object-name>
    <object-name>ADFstby.003</object-name>
    <object-name>ADFstby.004</object-name>
    <object-name>stby.dec</object-name>
    <object-name>ADFstby.005</object-name>
    <object-name>C62sto.btn</object-name>
    <object-name>xmt.annun</object-name>
    <object-name>C62test.btn</object-name>
    <object-name>C62act.btn</object-name> 
  </animation>
   
  <animation>
    <type>material</type>
    <object-name>CTL-62.pwr</object-name>
    <object-name>CTL-62.vol</object-name>
    <object-name>CTL-62.freq</object-name>
    <object-name>CTL-62.freq1</object-name>
    <object-name>CTL-62.toggle</object-name>
    <object-name>ADFfreq.001</object-name>
    <object-name>ADFfreq.002</object-name>
    <object-name>ADFfreq.003</object-name>
    <object-name>ADFfreq.004</object-name>
    <object-name>freq.dec</object-name>
    <object-name>ADFfreq.005</object-name>
    <object-name>ADFstby.001</object-name>
    <object-name>ADFstby.002</object-name>
    <object-name>ADFstby.003</object-name>
    <object-name>ADFstby.004</object-name>
    <object-name>stby.dec</object-name>
    <object-name>ADFstby.005</object-name>
    <condition>
      <property>controls/electric/battery-switch</property>
    </condition>
    <emission>
      <factor-prop>controls/lighting/instruments-norm</factor-prop>
      <red>   0.50 </red>
      <green> 0.40 </green>
      <blue>  0.30 </blue>
    </emission>
  </animation>
   
  <animation>
    <type>select</type>
    <object-name>ADFfreq.001</object-name>
    <condition>
      <and>
        <greater-than>
          <property>systems/electrical/outputs/adf</property>
          <value>1</value>
        </greater-than>
        <greater-than>
          <property>instrumentation/adf/frequencies/selected-khz</property>
          <value>999.5</value>
        </greater-than>
      </and>
    </condition>
  </animation>
   
  <animation>
    <type>select</type>
    <object-name>ADFstby.001</object-name>
    <condition>
      <and>
        <greater-than>
          <property>systems/electrical/outputs/adf</property>
          <value>1</value>
        </greater-than>
        <greater-than>
          <property>instrumentation/adf/frequencies/standby-khz</property>
          <value>999.5</value>
        </greater-than>
      </and>
    </condition>
  </animation>
  
  <animation>
    <type>rotate</type>
    <object-name>CTL-62.pwr</object-name>
    <property>instrumentation/adf/func-knob</property>
    <factor>30</factor>
    <center>
      <x-m>  0.000 </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>
   
  <animation>
    <type>rotate</type>
    <object-name>CTL-62.vol</object-name>
    <property>instrumentation/adf/volume-norm</property>
    <factor>360</factor>
    <center>
      <x-m>  0.000 </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>ADFfreq.001</object-name>
    <property>instrumentation/adf/frequencies/selected-khz</property>
    <factor>0.0001</factor>
    <step>1000</step>
    <bias>0.05</bias>
    <axis>
      <x> 0 </x>
      <y> 1 </y>
      <z> 0 </z>
    </axis>
  </animation>
   
  <animation>
    <type>textranslate</type>
    <object-name>ADFfreq.002</object-name>
    <property>instrumentation/adf/frequencies/selected-khz</property>
    <factor>0.001</factor>
    <step>100</step>
    <bias>0.05</bias>
    <axis>
      <x> 0 </x>
      <y> 1 </y>
      <z> 0 </z>
    </axis>
  </animation>
   
  <animation>
    <type>textranslate</type>
    <object-name>ADFfreq.003</object-name>
    <property>instrumentation/adf/frequencies/selected-khz</property>
    <factor>0.01</factor>
    <step>10</step>
    <bias>0.05</bias>
    <axis>
      <x> 0 </x>
      <y> 1 </y>
      <z> 0 </z>
    </axis>
  </animation>
   
  <animation>
    <type>textranslate</type>
    <object-name>ADFfreq.004</object-name>
    <property>instrumentation/adf/frequencies/selected-khz</property>
    <factor>0.1</factor>
    <step>1</step>
    <bias>0.05</bias>
    <axis>
      <x> 0 </x>
      <y> 1 </y>
      <z> 0 </z>
    </axis>
  </animation>
   
  <animation>
    <type>textranslate</type>
    <object-name>ADFfreq.005</object-name>
    <property>instrumentation/adf/frequencies/selected-khz</property>
    <factor>1.0</factor>
    <step>0.1</step>
    <bias>0.05</bias>
    <axis>
      <x> 0 </x>
      <y> 1 </y>
      <z> 0 </z>
    </axis>
  </animation>
   
  <!--    Preselected Frequency     -->   
  <animation>
    <type>textranslate</type>
    <object-name>ADFstby.001</object-name>
    <property>instrumentation/adf/frequencies/standby-khz</property>
    <factor>0.0001</factor>
    <step>1000</step>
    <bias>0.05</bias>
    <axis>
      <x> 0 </x>
      <y> 1 </y>
      <z> 0 </z>
    </axis>
  </animation>
   
  <animation>
    <type>textranslate</type>
    <object-name>ADFstby.002</object-name>
    <property>instrumentation/adf/frequencies/standby-khz</property>
    <factor>0.001</factor>
    <step>100</step>
    <bias>0.05</bias>
    <axis>
      <x> 0 </x>
      <y> 1 </y>
      <z> 0 </z>
    </axis>
  </animation>
   
  <animation>
    <type>textranslate</type>
    <object-name>ADFstby.003</object-name>
    <property>instrumentation/adf/frequencies/standby-khz</property>
    <factor>0.01</factor>
    <step>10</step>
    <bias>0.05</bias>
    <axis>
      <x> 0 </x>
      <y> 1 </y>
      <z> 0 </z>
    </axis>
  </animation>
   
  <animation>
    <type>textranslate</type>
    <object-name>ADFstby.004</object-name>
    <property>instrumentation/adf/frequencies/standby-khz</property>
    <factor>0.1</factor>
    <step>1</step>
    <bias>0.05</bias>
    <axis>
      <x> 0 </x>
      <y> 1 </y>
      <z> 0 </z>
    </axis>
  </animation>
   
  <animation>
    <type>textranslate</type>
    <object-name>ADFstby.005</object-name>
    <property>instrumentation/adf/frequencies/standby-khz</property>
    <factor>1.0</factor>
    <step>0.1</step>
    <bias>0.05</bias>
    <axis>
      <x> 0 </x>
      <y> 1 </y>
      <z> 0 </z>
    </axis>
  </animation>
   
  <!--    OSG hotspots    -->
  <animation>
    <type>pick</type>
    <object-name>CTL-62.toggle</object-name>
    <action>
      <button>0</button>
      <repeatable>false</repeatable>
      <binding>
        <command>property-swap</command>
        <property>instrumentation/adf/frequencies/selected-khz</property>
        <property>instrumentation/adf/frequencies/standby-khz</property>
      </binding>
    </action>
  </animation>
   
  <animation>
    <type>pick</type>
    <object-name>CTL-62.pwr</object-name>
    <action>
      <button>1</button>
      <repeatable>false</repeatable>
      <binding>
        <command>property-adjust</command>
        <property>instrumentation/adf/func-knob</property>
        <step>-1</step>
        <min>0</min>
        <max>3</max>
        <wrap>0</wrap>
      </binding>
      <binding>
        <condition>
          <greater-than>
            <property>instrumentation/adf/func-knob</property>
            <value>0</value>
          </greater-than>
        </condition>
        <command>property-assign</command>
        <property>instrumentation/adf/ident-audible</property>
        <value>1</value>
      </binding>
      <binding>
        <condition>
          <equals>
            <property>instrumentation/adf/func-knob</property>
            <value>0</value>
          </equals>
        </condition>
        <command>property-assign</command>
        <property>instrumentation/adf/mode</property>
        <value>off</value>
      </binding>
      <binding>
        <condition>
          <equals>
            <property>instrumentation/adf/func-knob</property>
            <value>1</value>
          </equals>
        </condition>
        <command>property-assign</command>
        <property>instrumentation/adf/mode</property>
        <value>ant</value>
      </binding>
      <binding>
        <condition>
          <equals>
            <property>instrumentation/adf/func-knob</property>
            <value>2</value>
          </equals>
        </condition>
        <command>property-assign</command>
        <property>instrumentation/adf/mode</property>
        <value>adf</value>
      </binding>
      <binding>
        <condition>
          <equals>
            <property>instrumentation/adf/func-knob</property>
            <value>3</value>
          </equals>
        </condition>
        <command>property-assign</command>
        <property>instrumentation/adf/mode</property>
        <value>tone</value>
      </binding>
    </action>
  </animation>
   
  <animation>
    <type>pick</type>
    <object-name>CTL-62.pwr</object-name>
    <action>
      <button>0</button>
      <repeatable>false</repeatable>
      <binding>
        <command>property-adjust</command>
        <property>instrumentation/adf/func-knob</property>
        <step>1</step>
        <min>0</min>
        <max>3</max>
        <wrap>0</wrap>
      </binding>
      <binding>
        <condition>
          <greater-than>
            <property>instrumentation/adf/func-knob</property>
            <value>0</value>
          </greater-than>
        </condition>
        <command>property-assign</command>
        <property>instrumentation/adf/ident-audible</property>
        <value>1</value>
      </binding>
      <binding>
        <condition>
          <equals>
            <property>instrumentation/adf/func-knob</property>
            <value>0</value>
          </equals>
        </condition>
        <command>property-assign</command>
        <property>instrumentation/adf/mode</property>
        <value>off</value>
      </binding>
      <binding>
        <condition>
          <equals>
            <property>instrumentation/adf/func-knob</property>
            <value>1</value>
          </equals>
        </condition>
        <command>property-assign</command>
        <property>instrumentation/adf/mode</property>
        <value>ant</value>
      </binding>
      <binding>
        <condition>
          <equals>
            <property>instrumentation/adf/func-knob</property>
            <value>2</value>
          </equals>
        </condition>
        <command>property-assign</command>
        <property>instrumentation/adf/mode</property>
        <value>adf</value>
      </binding>
      <binding>
        <condition>
          <equals>
            <property>instrumentation/adf/func-knob</property>
            <value>3</value>
          </equals>
        </condition>
        <command>property-assign</command>
        <property>instrumentation/adf/mode</property>
        <value>tone</value>
      </binding>
    </action>
  </animation>
  
  <animation>
    <type>pick</type>
    <object-name>CTL-62.vol</object-name>
    <action>
      <button>0</button>
      <repeatable>true</repeatable>
      <interval-sec>0.1</interval-sec>
      <binding>
        <command>property-adjust</command>
        <property>instrumentation/adf/volume-norm</property>
        <step>-0.05</step>
        <min>0</min>
        <max>1</max>
        <wrap>0</wrap>
      </binding>
    </action>
  </animation>
   
  <animation>
    <type>pick</type>
    <object-name>CTL-62.vol</object-name>
    <action>
      <button>0</button>
      <repeatable>true</repeatable>
      <interval-sec>0.1</interval-sec>
      <binding>
        <command>property-adjust</command>
        <property>instrumentation/adf/volume-norm</property>
        <step>0.05</step>
        <min>0</min>
        <max>1</max>
        <wrap>0</wrap>
      </binding>
    </action>
  </animation>
   
  <animation>
    <type>pick</type>
    <object-name>CTL-62.vol</object-name>
    <action>
      <button>4</button>
      <binding>
        <command>property-adjust</command>
        <property>instrumentation/adf/volume-norm</property>
        <step>-0.05</step>
        <min>0</min>
        <max>1</max>
        <wrap>0</wrap>
      </binding>
    </action>
  </animation>
   
  <animation>
    <type>pick</type>
    <object-name>CTL-62.vol</object-name>
    <action>
      <button>3</button>
      <binding>
        <command>property-adjust</command>
        <property>instrumentation/adf/volume-norm</property>
        <step>0.05</step>
        <min>0</min>
        <max>1</max>
        <wrap>0</wrap>
      </binding>
    </action>
  </animation>
   
  <animation>
    <type>pick</type>
    <object-name>CTL-62.freq1</object-name>
    <action>
      <button>1</button>
      <repeatable>true</repeatable>
      <interval-sec>0.2</interval-sec>
      <binding>
        <command>property-adjust</command>
        <property>instrumentation/adf/frequencies/standby-khz</property>
        <step>-1</step>
        <min>190</min>
        <max>1800</max>
        <wrap>true</wrap>
      </binding>
    </action>
  </animation>
   
  <animation>
    <type>pick</type>
    <object-name>CTL-62.freq1</object-name>
    <action>
      <button>0</button>
      <repeatable>true</repeatable>
      <interval-sec>0.2</interval-sec>
      <binding>
        <command>property-adjust</command>
        <property>instrumentation/adf/frequencies/standby-khz</property>
        <step>1</step>
        <min>190</min>
        <max>1800</max>
        <wrap>true</wrap>
      </binding>
    </action>
  </animation>
   
  <animation>
    <type>pick</type>
    <object-name>CTL-62.freq1</object-name>
    <action>
      <button>4</button>
      <binding>
        <command>property-adjust</command>
        <property>instrumentation/adf/frequencies/standby-khz</property>
        <step>-1</step>
        <min>190</min>
        <max>1800</max>
        <wrap>true</wrap>
      </binding>
    </action>
  </animation>
   
  <animation>
    <type>pick</type>
    <object-name>CTL-62.freq1</object-name>
    <action>
      <button>3</button>
      <binding>
        <command>property-adjust</command>
        <property>instrumentation/adf/frequencies/standby-khz</property>
        <step>1</step>
        <min>190</min>
        <max>1800</max>
        <wrap>true</wrap>
      </binding>
    </action>
  </animation>
   
  <animation>
    <type>pick</type>
    <object-name>CTL-62.freq</object-name>
    <action>
      <button>1</button>
      <repeatable>true</repeatable>
      <interval-sec>0.2</interval-sec>
      <binding>
        <command>property-adjust</command>
        <property>instrumentation/adf/frequencies/standby-khz</property>
        <step>-10</step>
        <min>190</min>
        <max>1800</max>
        <wrap>true</wrap>
      </binding>
    </action>
  </animation>
   
  <animation>
    <type>pick</type>
    <object-name>CTL-62.freq</object-name>
    <action>
      <button>0</button>
      <repeatable>true</repeatable>
      <interval-sec>0.2</interval-sec>
      <binding>
        <command>property-adjust</command>
        <property>instrumentation/adf/frequencies/standby-khz</property>
        <step>10</step>
        <min>190</min>
        <max>1800</max>
        <wrap>true</wrap>
      </binding>
    </action>
  </animation>
   
  <animation>
    <type>pick</type>
    <object-name>CTL-62.freq</object-name>
    <action>
      <button>4</button>
      <repeatable>true</repeatable>
      <interval-sec>0.2</interval-sec>
      <binding>
        <command>property-adjust</command>
        <property>instrumentation/adf/frequencies/standby-khz</property>
        <step>-10</step>
        <min>190</min>
        <max>1800</max>
        <wrap>true</wrap>
      </binding>
    </action>
  </animation>
   
  <animation>
    <type>pick</type>
    <object-name>CTL-62.freq</object-name>
    <action>
      <button>3</button>
      <repeatable>true</repeatable>
      <interval-sec>0.2</interval-sec>
      <binding>
        <command>property-adjust</command>
        <property>instrumentation/adf/frequencies/standby-khz</property>
        <step>10</step>
        <min>190</min>
        <max>1800</max>
        <wrap>true</wrap>
      </binding>
    </action>
  </animation>
   
</PropertyList>
 