<?xml version="1.0" ?>
<!--
 This file is part of FlightGear, the free flight simulator
 http://www.flightgear.org/

 Copyright (C) 2009 Torsten Dreyer, Torsten (at) t3r _dot_ de

 This program is free software; you can redistribute it and/or
 modify it under the terms of the GNU General Public License as
 published by the Free Software Foundation; either version 2 of the
 License, or (at your option) any later version.

 This program is distributed in the hope that it will be useful, but
 WITHOUT ANY WARRANTY; without even the implied warranty of
 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
 General Public License for more details.
-->
<PropertyList>

  <path>EGT.ac</path>
    
  <params>
    <value>engines/engine[0]/egt-degf-filtered</value>
    <bug>engines/engine[0]/egt-bug</bug>
  </params>

  <animation>
      <type>noshadow</type>
  </animation>
  <animation>
    <type>range</type>
    <min-m>0</min-m>
    <max-m>10</max-m>
  </animation>
  
  <animation>
    <type>material</type>
    <object-name>egt</object-name>
    <emission>
      <red-prop>sim/model/instrument-lighting/emission/red</red-prop>
      <green-prop>sim/model/instrument-lighting/emission/green</green-prop>
      <blue-prop>sim/model/instrument-lighting/emission/blue</blue-prop>
      <factor-prop>controls/lighting/instruments-norm</factor-prop>
    </emission>
  </animation>
    
  <animation>
    <type>rotate</type>
    <object-name>Needle</object-name>
    <property alias="../../params/value"/>
    <interpolation>
      <entry>
        <ind>200</ind>
        <dep>0</dep>
      </entry>
      <entry>
        <ind>900</ind>
        <dep>-90</dep>
      </entry>
    </interpolation>
<!-- JSBSim calculates egt to low
        <interpolation>
            <entry>
                <ind>1200</ind>
                <dep>0</dep>
            </entry>
            <entry>
                <ind>1770</ind>
                <dep>-90</dep>
            </entry>
        </interpolation>
-->
    <axis>
      <x>1.0</x>
      <y>0.0</y>
      <z>0.0</z>
    </axis>
    <center>
      <x-m>-0.0015</x-m>
      <y-m>0</y-m>
      <z-m>-0.00766508</z-m>
    </center>
  </animation>

  <animation>
    <type>rotate</type>
    <object-name>Bug</object-name>
    <property alias="../../params/bug"/>
    <interpolation>
      <entry>
        <ind>200</ind>
        <dep>0</dep>
      </entry>
      <entry>
        <ind>900</ind>
        <dep>-90</dep>
      </entry>
    </interpolation>
    <axis>
      <x>1.0</x>
      <y>0.0</y>
      <z>0.0</z>
    </axis>
    <center>
      <x-m>-0.0015</x-m>
      <y-m>0</y-m>
      <z-m>-0.00766508</z-m>
    </center>
  </animation>

  <animation>
    <type>pick</type>
    <object-name>Knob.Pick.L</object-name>
    <visible>false</visible>
    <action>
      <button>0</button>
      <repeatable>true</repeatable>
      <binding>
        <command>property-adjust</command>
        <property alias="../../../../params/bug"/>
        <step>-5</step>
        <min>200</min>
        <max>900</max>
        <wrap>0</wrap>
      </binding>
    </action>
    <action>
      <button>1</button>
      <repeatable>true</repeatable>
      <binding>
        <command>property-adjust</command>
        <property alias="../../../../params/bug"/>
        <step>-50</step>
        <min>200</min>
        <max>900</max>
        <wrap>0</wrap>
      </binding>
    </action>
    <action>
      <button>3</button>
      <repeatable>true</repeatable>
      <binding>
        <command>property-adjust</command>
        <property alias="../../../../params/bug"/>
        <step>-5</step>
        <min>200</min>
        <max>900</max>
        <wrap>0</wrap>
      </binding>
    </action>
  </animation>

  <animation>
    <type>pick</type>
    <object-name>Knob.Pick.R</object-name>
    <visible>false</visible>
    <action>
      <button>0</button>
      <repeatable>true</repeatable>
      <binding>
        <command>property-adjust</command>
        <property alias="../../../../params/bug"/>
        <step>5</step>
        <min>200</min>
        <max>900</max>
        <wrap>0</wrap>
      </binding>
    </action>
    <action>
      <button>1</button>
      <repeatable>true</repeatable>
      <binding>
        <command>property-adjust</command>
        <property alias="../../../../params/bug"/>
        <step>50</step>
        <min>200</min>
        <max>900</max>
        <wrap>0</wrap>
      </binding>
    </action>
    <action>
      <button>4</button>
      <repeatable>true</repeatable>
      <binding>
        <command>property-adjust</command>
        <property alias="../../../../params/bug"/>
        <step>5</step>
        <min>200</min>
        <max>900</max>
        <wrap>0</wrap>
      </binding>
    </action>
  </animation>

</PropertyList>
