<Gauge Name="Fuelcap" Version="1.0">
  <Image Name="fuel_ring.bmp" Luminous="Yes"/> 
   <!--  ............. Left needle ....................... --> 
  <Element>
    <Position X="105" Y="121" /> 
    <Image Name="fuel1_needle.bmp" Luminous="Yes" PointsTo="Nort">
      <Axis X="4" Y="38" /> 
    </Image>
    <Rotate>
      <Value Minimum="0" Maximum="100">(G:var5) 1 != (A:CIRCUIT GENERAL PANEL ON, Boolean) &amp;&amp; (L:fuel_sw_pos, number) 0 != &amp;&amp; if{ (L:fuel_sw_pos, number) 2 == if{ (A:FUEL TANK CENTER QUANTITY, liter) 77.5 * 1600 / } els{ (L:fuel_sw_pos, number) 3 == if{ (A:fuel tank left aux quantity, liter) 77.5 * 1600 / } els{ (L:fuel_sw_pos, number) 1 == if{ (A:fuel left quantity, liter) 77.5 * 2400 / } } } (A:PLANE PITCH DEGREES, degree) 2 / 5 min + (A:G FORCE, Gforce) 1 - + }</Value> 
      <Nonlinearity>
        <Item Value="0" Degrees="270" /> 
        <Item Value="25" Degrees="315" /> 
        <Item Value="50" Degrees="0" /> 
        <Item Value="75" Degrees="45" /> 
        <Item Value="100" Degrees="90" /> 
      </Nonlinearity>
      <Delay DegreesPerSecond="160"/>
    </Rotate>
  </Element>
  <!--  ............. Right needle ....................... --> 
<Element>
  <Position X="105" Y="121" /> 
    <Image Name="fuel2_needle.bmp" Luminous="Yes" PointsTo="Nort">
      <Axis X="4" Y="38" /> 
    </Image>
    <Rotate>
      <Value Minimum="0" Maximum="100">(G:var5) 1 != (A:CIRCUIT GENERAL PANEL ON, Boolean) &amp;&amp; (L:fuel_sw_pos, number) 0 != &amp;&amp; if{ (L:fuel_sw_pos, number) 2 == if{ (A:FUEL TANK CENTER QUANTITY, liter) 77.5 * 1600 / } els{ (L:fuel_sw_pos, number) 3 == if{ (A:fuel tank right aux quantity, liter) 77.5 * 1600 / } els{ (L:fuel_sw_pos, number) 1 == if{ (A:fuel right quantity, liter) 77.5 * 2400 / } } } (A:PLANE PITCH DEGREES, degree) 2 / 5 min + (A:G FORCE, Gforce) 1 - + }</Value> 
      <Nonlinearity>
        <Item Value="0" Degrees="270" /> 
        <Item Value="25" Degrees="315" /> 
        <Item Value="50" Degrees="0" /> 
        <Item Value="75" Degrees="45" /> 
        <Item Value="100" Degrees="90" /> 
      </Nonlinearity>
      <Delay DegreesPerSecond="100"/>
    </Rotate>
  </Element>
</Gauge>