<?xml version="1.0"?>

<!--
Airspeed indicator, based on a Edo-Aire EA-5174 model
Author: Pavel Cueto
License: GPL
-->
<PropertyList>

  <path>EA-5174.ac</path>

  <animation>
    <type>material</type>
    <object-name>Base</object-name>
    <object-name>Fondo</object-name>
    <object-name>Gauge</object-name>
    <object-name>Ring</object-name>
    <condition>
      <property>systems/electrical/outputs/panel-lights</property>
    </condition>
    <emission>
      <red>0.7</red>
      <green>0.7</green>
      <blue>0.7</blue>
      <factor-prop>controls/lighting/panel-norm</factor-prop>  <!-- <factor-prop>systems/electrical/outputs/instrument-lights</factor-prop> -->
    </emission>
  </animation>

  <animation>
    <type>rotate</type>
    <object-name>Gauge</object-name>
    <property>/velocities/airspeed-kt</property>
    <interpolation>
      <entry><ind>   0</ind><dep>    0</dep></entry>
      <entry><ind>  40</ind><dep>   27</dep></entry>
      <entry><ind>  50</ind><dep>   45</dep></entry>
      <entry><ind>  60</ind><dep>   65</dep></entry>
      <entry><ind>  70</ind><dep>   90</dep></entry>
      <entry><ind>  80</ind><dep>  115</dep></entry>
      <entry><ind>  90</ind><dep>  140</dep></entry>
      <entry><ind> 100</ind><dep>  170</dep></entry>
      <entry><ind> 110</ind><dep>  190</dep></entry>
      <entry><ind> 120</ind><dep>  207</dep></entry>
      <entry><ind> 130</ind><dep>  225</dep></entry>
      <entry><ind> 140</ind><dep>  240</dep></entry>
      <entry><ind> 150</ind><dep>  255</dep></entry>
      <entry><ind> 160</ind><dep>  270</dep></entry>
      <entry><ind> 170</ind><dep>  286</dep></entry>
      <entry><ind> 180</ind><dep>  304</dep></entry>
      <entry><ind> 190</ind><dep>  322</dep></entry>
      <entry><ind> 200</ind><dep>  340</dep></entry>
    </interpolation>
    <center>
      <x-m> 0 </x-m>
      <y-m> 0 </y-m>
      <z-m> 0 </z-m>
    </center>
    <axis>
      <x> -1 </x>
      <y>  0 </y>
      <z>  0 </z>
    </axis>
  </animation>

<!-- Label text -->

<text>
  <name>LabelText</name>
  <type type="string">literal</type>
  <text type="string">Air Speed Indicator</text>
  <draw-text type="bool">true</draw-text>
  <font>Helvetica.txf</font>
  <character-size type="double">0.012</character-size>
  <character-aspect-ratio type="double">1.0</character-aspect-ratio>
  <axis-alignment>yz-plane</axis-alignment>
  <max-height>0.2</max-height>
  <max-width>0.07</max-width>
  <font-resolution>
    <width type="int">32</width>
    <height type="int">32</height>
  </font-resolution>
  <alignment>center-center</alignment>
  <offsets>
    <x-m> 0.01</x-m>
    <y-m> 0.0 </y-m>
    <z-m> 0.0 </z-m>
  </offsets>
</text>

<animation>
  <type>material</type>
  <object-name>LabelText</object-name>
  <emission>
    <red>1.0</red>
    <green>0.8</green>
    <blue>0.0</blue>
  </emission>
</animation>

<animation>
  <type>select</type>
  <object-name>LabelText</object-name>
  <condition>
    <property>/sim/panel-hotspots</property>
  </condition>
</animation>

</PropertyList>
