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

<PropertyList>

  <path>fuel1_R1.ac</path>

  <animation>
    <object-name>fond</object-name>
    <object-name>face</object-name>
    <object-name>fr1</object-name>
    <object-name>fr2</object-name>
    <object-name>knob1</object-name>
    <object-name>k1</object-name>
    <object-name>knob2</object-name>
    <object-name>knob3</object-name>

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

  <animation>
    <type>noshadow</type>
    <object-name>fond</object-name>
    <object-name>face</object-name>
    <object-name>fr1</object-name>
    <object-name>fr2</object-name>
    <object-name>knob1</object-name>
    <object-name>k1</object-name>
    <object-name>knob2</object-name>
    <object-name>knob3</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>face</object-name>
    <object-name>fr1</object-name>
    <object-name>fr2</object-name>
    <object-name>k1</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>

  <!--sum of tank 1+2 content in kg, small needle -->
  <animation>
    <type>rotate</type>
    <object-name>fr2</object-name>
    <expression>
      <table>
        <sum>
          <property>/consumables/fuel/tank[0]/level-kg</property>
          <property>/consumables/fuel/tank[1]/level-kg</property>
        </sum>
        <entry><ind>     0 </ind><dep>   0 </dep></entry>
        <entry><ind> 21700 </ind><dep> 263 </dep></entry>
      </table>
    </expression>
    <axis>
      <x> -1 </x>
      <y>  0 </y>
      <z>  0 </z>
    </axis>
  </animation>

  <!--fuel flow in gallons per hour for tank 1+2, big needle -->
  <animation>
    <type>rotate</type>
    <object-name>fr1</object-name>
    <expression>
      <table>
        <sum>
          <property>engines/engine[0]/fuel-flow-gph</property>
          <property>engines/engine[1]/fuel-flow-gph</property>
        </sum>
        <entry><ind>    0 </ind><dep>   0 </dep></entry>
        <entry><ind> 1600 </ind><dep> 265 </dep></entry>
        <entry><ind> 3200 </ind><dep> 335 </dep></entry>
      </table>
    </expression>
    <axis>
      <x> -1 </x>
      <y>  0 </y>
      <z>  0 </z>
    </axis>
  </animation>

  <animation>
    <type>pick</type>
    <object-name>k1</object-name>
    <action>
      <button>3</button>
      <repeatable>true/</repeatable>
      <interval-sec>0.2</interval-sec>
      <binding>
        <command>property-adjust</command>
        <property>instrumentation/R1_fuel/k12</property>
        <step>100</step>
        <min>0</min>
        <max>25000</max>
      </binding>
    </action>
    <action>
      <button>4</button>
      <repeatable>true/</repeatable>
      <interval-sec>0.2</interval-sec>
      <binding>
        <command>property-adjust</command>
        <property>instrumentation/R1_fuel/k12</property>
        <step>-100</step>
        <min>0</min>
        <max>25000</max>
      </binding>
    </action>
  </animation>

</PropertyList>
