<!-- This guage is for Posky 747-400V4 Calculation   -->
<Gauge Name="PkyCALC" Version="1.1">
<copyright>(c)2007 Hiroshi Igami</copyright>

<Size X="20" Y="20"/>
<Element>
<Select>
<Value> 
(A:TOTAL WEIGHT,kilogram) (A:EMPTY WEIGHT,kilogram) -
(A:MAX GROSS WEIGHT,kilogram) (A:EMPTY WEIGHT,kilogram)  - 
 /
(>L:PkyWEIGHTPERCENT,enum) 

<!-- Ground Effect -->
1 (A:PLANE ALT ABOVE GROUND, meter)  60 / - 2 * 0 max 2 min 10 + 10 /
(>L:PkyGROUNDEFFECT,enum) 

<!-- Elevator Trim -->
(A:ELEVATOR TRIM PCT,percent) 300 +
(>L:PkyETRIM,percent) 

<!-- GSU DISPLAY YES/NO -->
(L:STARTUP2,ENUM) 0 == if{
   (L:PkyGSUAPP,bool) ! if{
       0 (>L:PkyGSUAPP,bool) 
   } 
   (L:PkyGSUBAPP,bool) ! if{
       0 (>L:PkyGSUBAPP,bool) 
   } 

   1 (>L:STARTUP2,ENUM) 
 } 


<!-- Ground Wind Effect  -->
(A:PLANE ALT ABOVE GROUND, meter)  60 /   0 max 1 min 
(>L:PkyGROUNDWIND,enum) 

</Value>
</Select>
</Element>  
</Gauge>
