<?xml version="1.0"?>
<!--
    Usable with FlightGear
    Property of Gerard Robin  12-12-2005 
    Copyright License:  GPLv2
-->
<PropertyList>

 <path>Models/module-D6.ac</path>
 <texture-path>Models/Textures</texture-path>

 	<!--<animation>
		<type>noshadow</type>
		<object-name></object-name>
	</animation>-->

	<animation include="Instrument-Light2.xml">
		<object-name>Base-Module</object-name>
		<object-name>Tacan-Corps</object-name>
	</animation>



	<animation include="Instrument-Light3.xml">
		<object-name>Tacan-Channel-1</object-name>
		<object-name>Tacan-Channel-2</object-name>
		<object-name>Tacan-Channel-3</object-name>
	</animation>

	<animation include="Instrument-Light6.xml">
		<object-name>Couronne</object-name>
	</animation>
        
        <animation>
            <type>pick</type>
            <object-name>Tacan-Channel-1</object-name>
            <action>
                <button>0</button>
                <binding>
                    <command>property-adjust</command>
                    <property>/instrumentation/tacan/frequencies/valueCh1</property>
                    <step>1</step>
                    <min>0</min>
                    <max>2</max>
                    <wrap>1</wrap>
                </binding>
            </action>
        </animation>
        
        <animation>
              <type>pick</type>
              <object-name>Tacan-Bt-Channel-2</object-name>
              <action>
                    <button>0</button>
                    <binding>
                            <command>property-adjust</command>
                            <property>/instrumentation/tacan/frequencies/valueCh2</property>
                            <step>1</step>
                            <min>0</min>
                            <max>10</max>
                            <wrap>1</wrap>
                    </binding>
                </action>
        </animation>
        
        <animation>
            <type>pick</type>
            <object-name>Tacan-Bt-Channel-3</object-name>
            <action>
                <button>0</button>
                <binding>
                    <command>property-adjust</command>
                    <property>/instrumentation/tacan/frequencies/valueCh3</property>
                    <step>1</step>
                    <min>0</min>
                    <max>10</max>
                    <wrap>1</wrap>
                </binding>
            </action>
        </animation>
        
        <animation>
            <type>pick</type>
            <object-name>Tacan-Channel-XY</object-name>
            <action>
                <button>0</button>
                <binding>
                    <command>property-toggle</command>
                    <property>/instrumentation/tacan/frequencies/valueXY</property>
                </binding>
            </action>
        </animation>


	<animation>
		<type>textranslate</type>
		<object-name>Tacan-Channel-1</object-name>
		<property>/instrumentation/tacan/frequencies/selected-channel[1]</property>
		<factor>0.1</factor>
		<step>1</step>
		<scroll>0</scroll>
		<axis>
			<x>0</x>
			<y>-1</y>
			<z>0</z>
		</axis>
	</animation>

	<animation>
		<type>textranslate</type>
		<object-name>Tacan-Channel-2</object-name>
		<property>/instrumentation/tacan/frequencies/selected-channel[2]</property>
		<factor>0.1</factor>
		<step>1</step>
		<scroll>0</scroll>
		<axis>
			<x>0</x>
			<y>-1</y>
			<z>0</z>
		</axis>
	</animation>

	<animation>
		<type>textranslate</type>
		<object-name>Tacan-Channel-3</object-name>
		<property>/instrumentation/tacan/frequencies/selected-channel[3]</property>
		<factor>0.1</factor>
		<step>1</step>
		<scroll>0</scroll>
		<axis>
			<x>0</x>
			<y>-1</y>
			<z>0</z>
		</axis>
 	</animation>

	<animation>
            <!--FIXME revoir la logique avec nasal ne marche pas completement-->
		<type>rotate</type>
		<object-name>Tacan-Channel-XY</object-name>
		<property>/instrumentation/tacan/frequencies/valueXY</property>
		<interpolation>
			<entry>
				<ind>0</ind>
				<dep>30</dep>
			</entry>
			<entry>
				<ind>1</ind>
				<dep>-30</dep>
			</entry>
		</interpolation>
		<center>
			<x-m>0</x-m>
			<y-m>-0.0551955</y-m>
			<z-m>0.00159195</z-m>
		</center>
		<axis>
			<x>1</x>
			<y>0</y>
			<z>0</z>
		</axis>
	</animation>

	<animation>
		<type>rotate</type>
		<object-name>Tacan-Bt-Channel-3</object-name>
		<property>/instrumentation/tacan/frequencies/selected-channel[3]</property>
		<factor>-10</factor>
		<center>
			<x-m>0.00245592</x-m>
			<y-m>-0.0175034</y-m>
			<z-m>0</z-m>
		</center>
		<axis>
			<x>0</x>
			<y>0</y>
			<z>1</z>
		</axis>
	</animation>

	<animation>
		<type>rotate</type>
		<object-name>Tacan-Bt-Channel-2</object-name>
		<property>/instrumentation/tacan/frequencies/selected-channel[2]</property>
		<factor>-10</factor>
		<center>
			<x-m>0.00243986</x-m>
			<y-m>-0.0174696</y-m>
			<z-m>0</z-m>
		</center>
		<axis>
			<x>0</x>
			<y>0</y>
			<z>1</z>
		</axis>
	</animation>



</PropertyList>
