1
0
Fork 0
fgdata/Aircraft/Generic/DualControl/Instruments/VIR-32/ctl32-nav.xml
Anders Gidenstam 09dc9afe47 Updated DualControl: Moved everything to Aircraft/Generic/DualControl/.
- Updated all references to Aircraft/ZLT-NT/DualControl/ found.
2010-12-19 23:17:23 +01:00

358 lines
7.9 KiB
XML

<?xml version="1.0"?>
<!-- CTL 32 Nav1 Control for VIR-32 receiver
Active and preset displayed +
6 frequency memory storage
2.375"W x 2.625"H
Freq. range 108.000 - 117.975 (normal)
Strap option 133.00 - 135.95
05 khz spacing
Syd Adams
Adapted for dual control by Anders Gidenstam
NOTE: ctl32.nas MUST be loaded as Nasal module VIR32.
-->
<PropertyList>
<params>
<serviceable>instrumentation/nav[0]/serviceable</serviceable>
<electrical-supply>systems/electrical/outputs/nav[0]</electrical-supply>
<selected-freq-mhz>instrumentation/nav[0]/frequencies/selected-mhz</selected-freq-mhz>
<standby-freq-mhz>instrumentation/nav[0]/frequencies/standby-mhz</standby-freq-mhz>
<swap-script>VIR32.swap(0);</swap-script>
<small-inc-script>VIR32.adjust_frequency(0, 0.05);</small-inc-script>
<small-dec-script>VIR32.adjust_frequency(0, -0.05);</small-dec-script>
<big-inc-script>VIR32.adjust_frequency(0, 1.0);</big-inc-script>
<big-dec-script>VIR32.adjust_frequency(0, -1.0);</big-dec-script>
</params>
<path>ctl32.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>
<condition>
<greater-than>
<property alias="../../../../params/electrical-supply"/>
<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>
<condition>
<greater-than>
<property alias="../../../../params/electrical-supply"/>
<value>1</value>
</greater-than>
</condition>
</animation>
<animation>
<type>select</type>
<object-name>mem.annun</object-name>
<condition>
<greater-than>
<property alias="../../../../params/electrical-supply"/>
<value>1</value>
</greater-than>
</condition>
</animation>
<animation>
<type>rotate</type>
<object-name>CTL-32.pwr</object-name>
<property alias="../../params/serviceable"/>
<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 alias="../../params/selected-freq-mhz"/>
<factor>0.001</factor>
<step>100</step>
<bias>0.0005</bias>
<axis>
<x>0</x>
<y>1</y>
<z>0</z>
</axis>
</animation>
<animation>
<type>textranslate</type>
<object-name>freq.002</object-name>
<property alias="../../params/selected-freq-mhz"/>
<factor>0.01</factor>
<step>10</step>
<bias>0.0005</bias>
<axis>
<x>0</x>
<y>1</y>
<z>0</z>
</axis>
</animation>
<animation>
<type>textranslate</type>
<object-name>freq.003</object-name>
<property alias="../../params/selected-freq-mhz"/>
<factor>0.1</factor>
<step>1</step>
<bias>0.0005</bias>
<axis>
<x>0</x>
<y>1</y>
<z>0</z>
</axis>
</animation>
<animation>
<type>textranslate</type>
<object-name>freq.004</object-name>
<property alias="../../params/selected-freq-mhz"/>
<factor>1</factor>
<step>0.1</step>
<bias>0.0005</bias>
<axis>
<x>0</x>
<y>1</y>
<z>0</z>
</axis>
</animation>
<animation>
<type>textranslate</type>
<object-name>freq.005</object-name>
<property alias="../../params/selected-freq-mhz"/>
<factor>10</factor>
<step>0.01</step>
<bias>0.0005</bias>
<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 alias="../../params/standby-freq-mhz"/>
<factor>0.001</factor>
<step>100</step>
<bias>0.0005</bias>
<axis>
<x>0</x>
<y>1</y>
<z>0</z>
</axis>
</animation>
<animation>
<type>textranslate</type>
<object-name>stby.002</object-name>
<property alias="../../params/standby-freq-mhz"/>
<factor>0.01</factor>
<step>10</step>
<bias>0.0005</bias>
<axis>
<x>0</x>
<y>1</y>
<z>0</z>
</axis>
</animation>
<animation>
<type>textranslate</type>
<object-name>stby.003</object-name>
<property alias="../../params/standby-freq-mhz"/>
<factor>0.1</factor>
<step>1</step>
<bias>0.0005</bias>
<axis>
<x>0</x>
<y>1</y>
<z>0</z>
</axis>
</animation>
<animation>
<type>textranslate</type>
<object-name>stby.004</object-name>
<property alias="../../params/standby-freq-mhz"/>
<factor>1</factor>
<step>0.1</step>
<bias>0.0005</bias>
<axis>
<x>0</x>
<y>1</y>
<z>0</z>
</axis>
</animation>
<animation>
<type>textranslate</type>
<object-name>stby.005</object-name>
<property alias="../../params/standby-freq-mhz"/>
<factor>10</factor>
<step>0.01</step>
<bias>0.0005</bias>
<axis>
<x>0</x>
<y>1</y>
<z>0</z>
</axis>
</animation>
<animation>
<type>pick</type>
<object-name>CTL-32.xfr</object-name>
<action>
<button>0</button>
<repeatable>false</repeatable>
<binding>
<command>nasal</command>
<script alias="../../../../params/swap-script"/>
</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 alias="../../../../params/serviceable"/>
<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 alias="../../../../params/serviceable"/>
<value>true</value>
</binding>
</action>
</animation>
<animation>
<type>pick</type>
<object-name>freq.knob.kHz</object-name>
<action>
<button>0</button>
<repeatable>true</repeatable>
<interval-sec>0.2</interval-sec>
<binding>
<command>nasal</command>
<script alias="../../../../params/small-inc-script"/>
</binding>
</action>
<action>
<button>1</button>
<repeatable>true</repeatable>
<interval-sec>0.2</interval-sec>
<binding>
<command>nasal</command>
<script alias="../../../../params/small-dec-script"/>
</binding>
</action>
<action>
<button>3</button>
<repeatable>false</repeatable>
<binding>
<command>nasal</command>
<script alias="../../../../params/small-dec-script"/>
</binding>
</action>
<action>
<button>4</button>
<repeatable>false</repeatable>
<binding>
<command>nasal</command>
<script alias="../../../../params/small-inc-script"/>
</binding>
</action>
</animation>
<animation>
<type>pick</type>
<object-name>freq.knob.MHz</object-name>
<action>
<button>0</button>
<repeatable>true</repeatable>
<interval-sec>0.2</interval-sec>
<binding>
<command>nasal</command>
<script alias="../../../../params/big-inc-script"/>
</binding>
</action>
<action>
<button>1</button>
<repeatable>true</repeatable>
<interval-sec>0.2</interval-sec>
<binding>
<command>nasal</command>
<script alias="../../../../params/big-dec-script"/>
</binding>
</action>
<action>
<button>3</button>
<repeatable>false</repeatable>
<binding>
<command>nasal</command>
<script alias="../../../../params/big-dec-script"/>
</binding>
</action>
<action>
<button>4</button>
<repeatable>false</repeatable>
<binding>
<command>nasal</command>
<script alias="../../../../params/big-inc-script"/>
</binding>
</action>
</animation>
</PropertyList>