<?xml version="1.0"?>

<!-- PG4-2 selector for fuel indicator 2PPT1-4 -->

<PropertyList>

 <path>pg4-2.ac</path>

<!-- Knob -->

  <animation>
   <type>knob</type>
   <object-name>selector</object-name>
   <property>an24/PG4and2PPT1/selected-ind</property>
    <factor>1.0</factor>
    <center>
     <x-m>0.0</x-m>
     <y-m>0.0</y-m>
     <z-m>0.0</z-m>
    </center>
    <axis>
     <x>-1.0</x>
     <y>0.0</y>
     <z>0.0</z>
    </axis>
     <action>
      <binding>
       <command>property-cycle</command>
       <property>an24/PG4and2PPT1/selected-ind</property>
       <value type="string">50</value>
       <value type="string">18</value>
       <value type="string">-18</value>
       <value type="string">-50</value>
        <wrap>false</wrap>
     </binding>
     <binding>
      <command>nasal</command>
      <script>
        interpolate("an24/PG4and2PPT1/ind_level", 0.0, 0.2, getprop("/consumables/fuel/total-fuel-kg"), 0.4 );
      </script>
     </binding>
    </action>
   <hovered>
    <binding>
      <command>set-tooltip</command>
      <tooltip-id>pg4</tooltip-id>
      <label> Fuel Indicator
Tank Selection</label>
    </binding>
   </hovered>
  </animation>

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

  <text>
    <name>textosg</name>
    <type type="string">literal</type>
    <text type="string">PG4-2 Selector</text>
    <draw-text type="bool">true</draw-text>
    <font>Helvetica.txf</font>
    <character-size type="double">0.014</character-size>
    <character-aspect-ratio type="double">1.0</character-aspect-ratio>
    <axis-alignment>yz-plane</axis-alignment>
    <max-height>0.06</max-height>
    <max-width>0.05</max-width>
    <font-resolution>
      <width type="int">64</width>
      <height type="int">64</height>
    </font-resolution>
    <alignment>center-center</alignment>
    <offsets>
      <x-m>  0.005 </x-m>
      <y-m>  0.000 </y-m>
      <z-m>  0.000 </z-m>
    </offsets>
  </text>

</PropertyList>
