<?xml version="1.0"?>

<!-- Author   : Syd Adams STBY HSI
     Revision : Emmanuel BARANGER 02/2021 -->
<PropertyList>

  <path>hsi.ac</path>

  <animation>
    <object-name>HSI.fond</object-name>
    <object-name>HSI.visses</object-name>
    <object-name>HSI.knob</object-name>
    <object-name>HSI.face</object-name>
    <object-name>hdgring</object-name>
    <object-name>CRSneedle2</object-name>
    <object-name>CRSneedle3</object-name>
    <object-name>ADF.needle</object-name>
    <object-name>HSI.gsneedle</object-name>

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

  <animation>
    <type>noshadow</type>
    <object-name>HSI.fond</object-name>
    <object-name>HSI.visses</object-name>
    <object-name>HSI.knob</object-name>
    <object-name>HSI.face</object-name>
    <object-name>hdgring</object-name>
    <object-name>CRSneedle2</object-name>
    <object-name>CRSneedle3</object-name>
    <object-name>ADF.needle</object-name>
    <object-name>HSI.gsneedle</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>HSI.face</object-name>
    <object-name>hdgring</object-name>
    <object-name>CRSneedle2</object-name>
    <object-name>CRSneedle3</object-name>
    <object-name>ADF.needle</object-name>
    <object-name>HSI.gsneedle</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>hdgring</object-name>
    <object-name>CRSneedle2</object-name>
    <object-name>CRSneedle3</object-name>
    <property>orientation/heading-magnetic-deg</property>
    <axis>
      <x> 1 </x>
      <y> 0 </y>
      <z> 0 </z>
    </axis>
  </animation>

  <animation>
    <type>rotate</type>
    <object-name>CRSneedle2</object-name>
    <object-name>CRSneedle3</object-name>
    <property>instrumentation/nav[0]/radials/selected-deg</property>
    <axis>
      <x> -1 </x>
      <y>  0 </y>
      <z>  0 </z>
    </axis>
  </animation>

  <animation>
    <type>translate</type>
    <object-name>CRSneedle3</object-name>
    <property>instrumentation/nav[0]/heading-needle-deflection</property>
    <interpolation>
      <entry><ind> -10 </ind><dep> -0.013 </dep></entry>
      <entry><ind>   0 </ind><dep>  0.000 </dep></entry>
      <entry><ind>  10 </ind><dep>  0.013 </dep></entry>
    </interpolation>
    <axis>
      <x> 0 </x>
      <y> 1 </y>
      <z> 0 </z>
    </axis>
  </animation>

  <animation>
    <type>translate</type>
    <object-name>HSI.gsneedle</object-name>
    <property>instrumentation/nav[0]/gs-needle-deflection</property>
    <interpolation>
      <entry><ind> -10 </ind><dep> -0.01 </dep></entry>
      <entry><ind>   0 </ind><dep>  0.00 </dep></entry>
      <entry><ind>  10 </ind><dep>  0.01 </dep></entry>
    </interpolation>
    <axis>
      <x> 0 </x>
      <y> 0 </y>
      <z> 1 </z>
    </axis>
  </animation>

  <animation>
    <type>rotate</type>
    <object-name>ADF.needle</object-name>
    <property>instrumentation/adf/indicated-bearing-deg</property>
    <axis>
      <x> -1 </x>
      <y>  0 </y>
      <z>  0 </z>
    </axis>
  </animation>

  <animation>
    <type>knob</type>
    <object-name>HSI.knob</object-name>
    <drag-direction>vertical</drag-direction>
    <action>
      <binding>
        <command>property-adjust</command>
        <property>instrumentation/nav[0]/radials/selected-deg</property>
        <factor>1</factor>
        <min>0</min>
        <max>360</max>
      </binding>
    </action>
  </animation>

</PropertyList>
