<!-- This guage is for Posky 747-8F Aileron action -->
<Gauge Name="PkyAilerons" Version="1.0">
<copyright>(c)2010 Hiroshi Igami</copyright>

<Size X="20" Y="20"/>
<Element>
<Select>
<Value> 
      <!-- Left Aileron   -->
      (A:AILERON LEFT DEFLECTION PCT,percent) 300 +
      (>L:PkyAileronL,percent) 
      
      <!-- Right Aileron   -->
      300 (A:AILERON RIGHT DEFLECTION PCT,percent) -
      (>L:PkyAileronR,percent) 
      
      <!-- Left Low speed Aileron -->
      (A:AIRSPEED TRUE,knot) 250 &lt; if{
         (A:AILERON LEFT DEFLECTION PCT,percent) 300 +
         (A:TRAILING EDGE FLAPS LEFT PERCENT,percent) 0.75 * +
      }
      els{
         300
      }
      (>L:Pky748LSAileronL,percent) 
      
      <!-- Right Low speed Aileron -->
      (A:AIRSPEED TRUE,knot) 250 &lt; if{
         300 (A:AILERON RIGHT DEFLECTION PCT,percent) -
         (A:TRAILING EDGE FLAPS RIGHT PERCENT,percent) 0.75 * +
      }
      els{
         300
      }
      (>L:Pky748LSAileronR,percent) 
      
</Value>
</Select>
</Element>  
</Gauge>
