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

<!--
    #############################################################################
    # Herbert Wagner November2014-March2015                                     #
    # Updated BARANGER Emmanuel 09/2022                                         #
    #############################################################################
-->
<PropertyList>

  <!--  Autospeed in the Autopilot activated 20 Dec 2014 HerbyW,MK1 -->
  <path>asi.ac</path>

  <animation>
    <object-name>ASI320</object-name>
    <object-name>ASI320.knob</object-name>
    <object-name>ASI320.face</object-name>
    <object-name>mach.subdial</object-name>
    <object-name>ASI320.needle</object-name>
    <object-name>index.marker</object-name>
    <object-name>ASI320.ovrspeed</object-name>

    <object-name>vitre</object-name>
  </animation>

  <animation>
    <type>noshadow</type>
    <object-name>ASI320</object-name>
    <object-name>ASI320.knob</object-name>
    <object-name>ASI320.face</object-name>
    <object-name>mach.subdial</object-name>
    <object-name>ASI320.needle</object-name>
    <object-name>index.marker</object-name>
    <object-name>ASI320.ovrspeed</object-name>
    <object-name>vitre</object-name>
  </animation>

  <!-- working for Compositor -->
  <effect>
    <inherits-from>../../../../Effects/Glass/glass</inherits-from>
    <object-name>vitre</object-name>
  </effect>

  <animation>
    <type>material</type>
    <object-name>ASI320.needle</object-name>
    <object-name>mach.subdial</object-name>
    <object-name>index.marker</object-name>
    <object-name>ASI320</object-name>
    <object-name>ASI320.face</object-name>
    <object-name>ASI320.knob</object-name>
    <object-name>ASI320.ovrspeed</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>rotate</type>
    <object-name>ASI320.needle</object-name>
    <object-name>mach.subdial</object-name>
    <property>instrumentation/airspeed-indicator/indicated-speed-kt</property>
    <interpolation>
      <entry><ind>   0 </ind><dep>   0.0 </dep></entry>
      <entry><ind>  30 </ind><dep>   0.0 </dep></entry>
      <entry><ind>  40 </ind><dep>  15.0 </dep></entry>
      <entry><ind> 100 </ind><dep>  82.5 </dep></entry>
      <entry><ind> 160 </ind><dep> 150.0 </dep></entry>
      <entry><ind> 240 </ind><dep> 240.0 </dep></entry>
      <entry><ind> 320 </ind><dep> 330.0 </dep></entry>
    </interpolation>
    <axis>
      <x> -1 </x>
      <y>  0 </y>
      <z>  0 </z>
    </axis>
  </animation>

  <animation>
    <type>rotate</type>
    <object-name>mach.subdial</object-name>
    <property>velocities/mach</property>
    <interpolation>
      <entry><ind> 0.00 </ind><dep>   0 </dep></entry>
      <entry><ind> 0.40 </ind><dep> 264 </dep></entry>
      <entry><ind> 0.75 </ind><dep> 474 </dep></entry>
    </interpolation>
    <axis>
      <x> 1 </x>
      <y> 0 </y>
      <z> 0 </z>
    </axis>
  </animation>

  <animation>
    <type>rotate</type>
    <object-name>index.marker</object-name>
    <property>autopilot/settings/target-speed-kt</property>
    <interpolation>
      <entry><ind>   0 </ind><dep>   0.0 </dep></entry>
      <entry><ind>  40 </ind><dep>  15.0 </dep></entry>
      <entry><ind> 100 </ind><dep>  82.5 </dep></entry>
      <entry><ind> 160 </ind><dep> 150.0 </dep></entry>
      <entry><ind> 240 </ind><dep> 240.0 </dep></entry>
      <entry><ind> 320 </ind><dep> 330.0 </dep></entry>
    </interpolation>
    <axis>
      <x> -1 </x>
      <y>  0 </y>
      <z>  0 </z>
    </axis>
  </animation>

  <!--  Hotspots -->
  <animation>
    <type>pick</type>
    <object-name>ASI320.knob</object-name>
    <action>
      <button>3</button>
      <binding>
        <command>property-adjust</command>
        <property>autopilot/settings/target-speed-kt</property>
        <step>-1</step>
        <min>0</min>
        <max>320</max>
        <wrap>false</wrap>
      </binding>
    </action>
    <action>
      <button>4</button>
      <binding>
        <command>property-adjust</command>
        <property>autopilot/settings/target-speed-kt</property>
        <step>1</step>
        <min>0</min>
        <max>320</max>
        <wrap>false</wrap>
      </binding>
    </action>
  </animation>

</PropertyList>
