<Gauge Name="A-037" Version="1.0">
   <Image Name="rv_back.bmp" Luminous="Yes" ImageSizes="220,220,0,0"/>
   <Element>
      <Position X="110" Y="110"/>
      <Image Name="rv_needle.bmp" Luminous="Yes" ImageSizes="27,99,0,0">
         <Axis X="14" Y="85" PointsTo="East"/>
      </Image>
      <Rotate>
         <Value Minimum="0" Maximum="800">(L:RV power,bool) if{ (G:Var1) if{ 15 } els{ (A:Radio height, meters) 3 - } } els{ 0 }</Value>
         <Nonlinearity>                                       
            <Item Value="0" Degrees="0"/>
            <Item Value="20" Degrees="31"/>
            <Item Value="40" Degrees="62"/>
            <Item Value="60" Degrees="93"/>
            <Item Value="80" Degrees="126"/>
            <Item Value="100" Degrees="159"/>
            <Item Value="300" Degrees="208"/>
            <Item Value="500" Degrees="255"/>
            <Item Value="700" Degrees="303"/>
         </Nonlinearity>
         <Delay DegreesPerSecond="90"/>
         <Failures>
            <SYSTEM_ELECTRICAL_AVIONICS Action="Freeze"/>
         </Failures>
      </Rotate>
   </Element>
   <Element>
     <Position X="159" Y="33"/>
     <Image Name="rv_blanker.bmp" Luminous="Yes" ImageSizes="42,62,0,0">
         <Axis X="0" Y="0"/>
     </Image>
     <Rotate>
         <Value>(A:Radio height, meters) 4000 &gt; (L:RV power, bool) ! ||</Value>
         <Nonlinearity>                                       
            <Item Value="0" Degrees="-29"/>
            <Item Value="1" Degrees="0"/>
         </Nonlinearity>                                       
         <Delay DegreesPerSecond="120"/>
     </Rotate>
   </Element>
   <Element>
     <Position X="0" Y="0"/>
     <Image Name="rv_upper.bmp" ImageSizes="220,220,0,0"/>
   </Element>
   <Element>
      <Position X="110" Y="110"/>
      <Image Name="rv_des.bmp" Bright="Yes" ImageSizes="16,91,0,0">
         <Axis X="8" Y="91"/>
      </Image>
      <Rotate>
         <Value Minimum="0" Maximum="700">(A:Decision height, meters)</Value>
         <Nonlinearity>                                       
            <Item Value="0" Degrees="0"/>
            <Item Value="20" Degrees="31"/>
            <Item Value="40" Degrees="62"/>
            <Item Value="60" Degrees="93"/>
            <Item Value="80" Degrees="126"/>
            <Item Value="100" Degrees="159"/>
            <Item Value="300" Degrees="208"/>
            <Item Value="500" Degrees="255"/>
            <Item Value="700" Degrees="303"/>
         </Nonlinearity>
         <Delay DegreesPerSecond="90"/>
      </Rotate>
   </Element>
   <Element>
      <Position X="182" Y="181"/>
      <Select>
         <Value>(L:RV power, bool) if{ (A:Decision height, meters) (A:Radio height, meters) &gt; (G:Var1) || } els{ 0 } </Value>
            <Case Value="1">
               <Image Name="rv_lamp.bmp" Bright="Yes" ImageSizes="24,24,0,0"/>
            </Case>
       </Select>
   </Element>
   <Element>
      <Position X="194" Y="193"/>
      <Image Name="rv_triangle.bmp" ImageSizes="24,24,0,0">
         <Axis X="12" Y="12"/>
      </Image>
      <Rotate>
         <Value Minimum="0" Maximum="700">(A:Decision height, meters) 10 /</Value>
      </Rotate>
   </Element>
     <Mouse>
      <Area Left="15" Top="187" Width="16" Height="16">
          <Cursor Type="Hand"/>
          <Click Kind="LeftSingle+LeftRelease+Leave">
               (M:Event) 'LeftSingle' scmp 0 == if{ 1 (>G:Var1) }
               (M:Event) 'LeftRelease' scmp 0 == if{ 0 (>G:Var1) }
               (M:Event) 'Leave' scmp 0 == if{ 0 (>G:Var1) }
          </Click>
	</Area>
      <Area Left="195" Top="181" Width="15" Height="30">
      <Tooltip>VPR  %( (A:Decision height, meters) )%!d!</Tooltip>
		<Cursor Type="UpArrow"/>
		<Click Repeat="Yes">(A:Decision height, meters) 700 &lt; if{ 0 (>K:INCREASE_DECISION_HEIGHT) }</Click>
	</Area>
      <Area Left="180" Top="181" Width="15" Height="30">
      <Tooltip>VPR  %( (A:Decision height, meters) )%!d!</Tooltip>
		<Cursor Type="DownArrow"/>
		<Click Repeat="Yes">(A:Decision height, meters) 0 &gt; if{ 0 (>K:DECREASE_DECISION_HEIGHT) }</Click>
	</Area>
   </Mouse>
</Gauge>
