<?xml version="1.0"?>

<!-- Instrument display degC, so these conversions are used:

     degC	degF
     -50	-58
       0	 32
      50	122
     125	257
     300	572


     Credits :
     =======
     - adapted from G. Neely's Lockheed 1049-H.
-->


<PropertyList>

<params>
 <cylinder-left>/engines/engine[0]/cht-degf</cylinder-left>
 <cylinder-right>/engines/engine[1]/cht-degf</cylinder-right>
</params>


<path>cyltemp.ac</path>

<animation>
  <name>Face</name>
  <object-name>CylTemp.Face</object-name>
  <object-name>CylTemp.Needle1</object-name>
  <object-name>CylTemp.Needle2</object-name>
</animation>

<animation>
  <type>material</type>
  <object-name>Face</object-name>
  <emission>
    <red>0.81</red>
    <green>0.40</green>
    <blue>0.20</blue>
    <factor-prop>systems/lighting/internal/engineer/instrument-light</factor-prop>
  </emission>
  <ambient>
    <red>1.0</red>
    <green>1.0</green>
    <blue>1.0</blue>
    <factor-prop>systems/lighting/internal/ambient-light</factor-prop>
  </ambient>
</animation>

<animation>
  <type>rotate</type>
  <object-name>CylTemp.Needle1</object-name>
  <property alias="../../params/cylinder-left"/>
  <interpolation>
    <entry><ind>-58</ind><dep> 52.5</dep></entry>
    <entry><ind>572</ind><dep>-52.5</dep></entry>
  </interpolation>
  <center>
    <x-m>-0.025</x-m>
    <y-m>0</y-m>
    <z-m>0</z-m>
  </center>
  <axis>
    <x>0</x>
    <y>1</y>
    <z>0</z>
  </axis>
</animation>

<animation>
  <type>rotate</type>
  <object-name>CylTemp.Needle2</object-name>
  <property alias="../../params/cylinder-right"/>
  <interpolation>
    <entry><ind>-58</ind><dep> 52.5</dep></entry>
    <entry><ind>572</ind><dep>-52.5</dep></entry>
  </interpolation>
  <center>
    <x-m>0.025</x-m>
    <y-m>0</y-m>
    <z-m>0</z-m>
  </center>
  <axis>
    <x>0</x>
    <y>-1</y>
    <z>0</z>
  </axis>
</animation>

</PropertyList>
