<!-- This guage is for Posky 747-400V4 for making the nose gear shrink action   -->
<Gauge Name="PkyNosegearsteerling" Version="1.0">
<copyright>(c)2007 Hiroshi Igami</copyright>

<Size X="20" Y="20"/>
<Element>
<Select>
<Value> 
<!--  1  2  3  4  5  6  7  8  9  0 -->
      0   1   2   3   4   5   6   7    8    9
     10  11  12  13  14  15  16  17   18   19
     20  21  22  23  24  26  27  30   32   34
     35  35  36  36  36  37  37  38   38   39
     40  45  50  57  63  66  70  85  100  100
 (A:VELOCITY BODY Z,knot) case 
s0
l0 -1 *
s1

   (A:PUSHBACK STATE, Enum) -1 &gt;
   (A:PUSHBACK STATE, Enum) 3  &lt;   &amp;  if{

      (A:TURN COORDINATOR BALL, percent)  (L:Tds_PB_Towtarget, percent) &lt; if{
         (L:Tds_PB_Towtarget, percent) 1 - 
         (>L:Tds_PB_Towtarget, percent)
      }
      (A:TURN COORDINATOR BALL, percent)   (L:Tds_PB_Towtarget, percent) &gt; if{
         (L:Tds_PB_Towtarget, percent) 1 + 
         (>L:Tds_PB_Towtarget, percent)
      }
      (L:Tds_PB_Towtarget, percent)
      (A:PUSHBACK STATE, Enum) -1 &gt;
      (A:PUSHBACK STATE, Enum) 3  &lt;   &amp;  if{
      }
      els{
         -0.5 * 
      }
      
      (>L:Tds_PB_Towhead, degree)
      
       (L:Tds_PB_Towhead, degree) 0.5 *  300 +
               (>L:TdsNOSESTEERING,percent) 
   }
   els{

        (A:VELOCITY BODY Z,knot) 0.0 &gt; (A:VELOCITY BODY Z,knot) 50 &lt; &amp; if{
               
               (A:RUDDER PEDAL POSITION,percent) 0 &gt; if{
                  (A:RUDDER PEDAL POSITION,percent) l0 min
               }
               els{ 
                  (A:RUDDER PEDAL POSITION,percent) l1  max
               }
                300 +   
                
               (>L:TdsNOSESTEERING,percent) 
         }
         els{ 
               300
               (>L:TdsNOSESTEERING,percent) 
         }
  }







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