<?xml version="1.0"?>

<!-- Tank-group 1 pump ECN-14 right set to auto(1)/off(0)/manual(-1) -->

<PropertyList>
 <path>../../shared/switches/switch03.ac</path>
 
 <animation>
  <type>pick</type>
  <object-name>clickspot_up</object-name>
  <visible>false</visible>
  <action>
    <button>0</button>
    <repeatable>false</repeatable>
    <binding>
      <command>nasal</command>
      <script>
        interpolate("an24/FuelControl/sw0406", 1.0, 0.1 );
      </script>
    </binding>
  </action>
   <hovered>
       <binding>
         <command>set-tooltip</command>
         <label>Main Pump %s</label>
         <property>an24/FuelControl/sw0406</property>
         <tooltip-id>mainpumprauto</tooltip-id>
         <mapping>nasal</mapping>
         <script>
	var mainpumprauto = ['OFF', 'Auto', 'Manual'];
	return mainpumprauto[arg[0]];
         </script>
       </binding>
    </hovered>
 </animation>

 <animation>
  <type>pick</type>
  <object-name>clickspot_middle</object-name>
  <visible>false</visible>
  <action>
    <button>0</button>
    <repeatable>false</repeatable>
    <binding>
      <command>nasal</command>
      <script>
        interpolate("an24/FuelControl/sw0406", 0.0, 0.1 );
      </script>
    </binding>
  </action>
   <hovered>
       <binding>
         <command>set-tooltip</command>
         <label>Main Pump %s</label>
         <property>an24/FuelControl/sw0406</property>
         <tooltip-id>mainpumproff</tooltip-id>
         <mapping>nasal</mapping>
         <script>
	var mainpumproff = ['OFF', 'Auto', 'Manual'];
	return mainpumproff[arg[0]];
         </script>
       </binding>
    </hovered>
 </animation>

 <animation>
  <type>pick</type>
  <object-name>clickspot_down</object-name>
  <visible>false</visible>
  <action>
    <button>0</button>
    <repeatable>false</repeatable>
    <binding>
      <command>nasal</command>
      <script>
        interpolate("an24/FuelControl/sw0406", -1.0, 0.1 );
      </script>
    </binding>
  </action>
   <hovered>
       <binding>
         <command>set-tooltip</command>
         <label>Main Pump %s</label>
         <property>an24/FuelControl/sw0406</property>
         <tooltip-id>mainpumprman</tooltip-id>
         <mapping>nasal</mapping>
         <script>
	var mainpumprman = ['OFF', 'Auto', 'Manual'];
	return mainpumprman[arg[0]];
         </script>
       </binding>
    </hovered>
</animation>

 <animation>
   <type>rotate</type>
   <object-name>lever</object-name>
   <property>an24/FuelControl/sw0406</property>
  <interpolation>
    <entry><ind>-1.0</ind>	<dep>-35.0</dep></entry>
    <entry><ind>1.0</ind>	<dep>35.0</dep></entry>
  </interpolation>
  <axis>
    <x>0.0</x>
    <y>-1.0</y>
    <z>0.0</z>
  </axis>
 </animation>

</PropertyList>
