<Gauge Name="UVO-15mm" Version="1.0">
   <Image Name="UVO-15mm_BG.bmp" Luminous="Yes" ImageSizes="192,206,0,0"/>
   ------------------
<Element>
      <Position X="0" Y="0"/>
      <MaskImage Name="UVO-15m_Up_Mask.bmp" ImageSizes="192,206,0,0">
         <Axis X="57" Y="89"/>
      </MaskImage>
      <Image Name="UVO-15m_km_3.bmp" Luminous="Yes" ImageSizes="16,253,0,0">
         <Nonlinearity>
            <Item Value="0" X="0" Y="0"/>
            <Item Value="10" X="0" Y="230"/>
         </Nonlinearity>
      </Image>
      <Shift>
         <Value>(A:Indicated Altitude,meters) 100000 + 100000 % d 100 % 100 / r 100 / flr d 100 / flr  r 100 %  99 == if{ + }</Value>
         <Failures>
            <SYSTEM_PITOT_STATIC Action="Freeze"/>
            <GAUGE_ALTIMETER Action="Freeze"/>
            <SYSTEM_ELECTRICAL_PANELS Action="0"/>
         </Failures>
      </Shift>
   </Element>
--------------------------
   <Element>
      <Position X="0" Y="0"/>
      <MaskImage Name="UVO-15m_Up_Mask.bmp" ImageSizes="192,206,0,0">
         <Axis X="75" Y="89"/>
      </MaskImage>
      <Image Name="UVO-15m_km_2.bmp" Luminous="Yes" ImageSizes="16,253,0,0">
         <Nonlinearity>
            <Item Value="0" X="0" Y="0"/>
            <Item Value="10" X="0" Y="230"/>
         </Nonlinearity>
      </Image>
      <Shift>
         <Value>(A:Indicated Altitude,meters) 100000 + 100000 % d 100 % 100 / r 100 / flr d 10 / 10 % flr  r 10 %  9 == if{ + }</Value>
         <Failures>
            <SYSTEM_PITOT_STATIC Action="Freeze"/>
            <GAUGE_ALTIMETER Action="Freeze"/>
            <SYSTEM_ELECTRICAL_PANELS Action="0"/>
         </Failures>
      </Shift>
   </Element>
------------------------------
   <Element>
      <Position X="0" Y="0"/>
      <MaskImage Name="UVO-15m_Up_Mask.bmp" ImageSizes="192,206,0,0">
         <Axis X="103" Y="89"/>
      </MaskImage>
      <Image Name="UVO-15m_km_2.bmp" Luminous="Yes" ImageSizes="16,253,0,0">
         <Nonlinearity>
            <Item Value="0" X="0" Y="0"/>
            <Item Value="10" X="0" Y="230"/>
         </Nonlinearity>
      </Image>
      <Shift>
         <Value>(A:Indicated Altitude,meters) 100000 + 100000 % 1000 % 100 / flr</Value>
         <Failures>
            <SYSTEM_PITOT_STATIC Action="Freeze"/>
            <GAUGE_ALTIMETER Action="Freeze"/>
            <SYSTEM_ELECTRICAL_PANELS Action="0"/>
         </Failures>
      </Shift>
   </Element>
-----------------------------
 <Element>
      <Position X="0" Y="0"/>
      <MaskImage Name="UVO-15m_Up_Mask.bmp" ImageSizes="192,206,0,0">
         <Axis X="119" Y="89"/>
      </MaskImage>
      <Image Name="UVO-15m_km_2.bmp" Luminous="Yes" ImageSizes="16,253,0,0">
         <Nonlinearity>
            <Item Value="0" X="0" Y="-4"/>
            <Item Value="10" X="0" Y="226"/>
         </Nonlinearity>
      </Image>
      <Shift>
      <Value>(A:Indicated Altitude, meters) 0 max 100 % 10 /</Value>
         <Failures>
            <SYSTEM_PITOT_STATIC Action="Freeze"/>
            <GAUGE_ALTIMETER Action="Freeze"/>
            <SYSTEM_ELECTRICAL_PANELS Action="0"/>
         </Failures>
      </Shift>
   </Element>
-----------------------------
         <Element>
            <Position X="73" Y="170"/>
            <Text Luminous="Yes" X="60" Y="14" Length="6" Fixed="Yes" Font="Arial Black" Color="#DCDCDC" Adjust="Center" VerticalAdjust="Center">
               <String>%((A:Kohlsman setting MB,mbar) 0.75 * 0 max 999 min)%!03d!</String>
            </Text>
         </Element>
------------------------------------
  <Element>
      <Position X="88" Y="43"/>
      <Select>
         <Value>(A:Avionics master switch,bool) (A:Circuit avionics on,bool) &amp;&amp;</Value>
         <Case Value="0">
            <Image Name="blenker2.bmp" Luminous="Yes" ImageSizes="16,16,0,0"/>
         </Case>
         </Select>
   </Element>
----------------------------
   <Element>
      <Position X="96" Y="109"/>
      <Image Name="UVO-15m_Needle.bmp" Luminous="Yes" ImageSizes="75,7,0,0">
         <Axis X="3" Y="3" PointsTo="East"/>
      </Image>
      <Rotate>
         <Value>(A:Avionics master switch,bool) if{ (A:Indicated Altitude,feet) 328.1 / } els{ 0 }</Value>
         <Failures>
            <GAUGE_ALTIMETER Action="Freeze"/>
            <SYSTEM_PITOT_STATIC Action="Freeze"/>
            <SYSTEM_ELECTRICAL_PANELS Action="0"/>
         </Failures>
         <Nonlinearity>
            <Item Value="0" X="96" Y="38"/>
            <Item Value="5" X="96" Y="180"/>
         </Nonlinearity>
      </Rotate>
   </Element>
-----------------------------
<Element>
      <Image Name="UVO_UPS.bmp" ImageSizes="192,206,0,0"/>
   </Element>
------------------------------
<Mouse>
      <Help ID="HELPID_GAUGE_ALTIMETER"/>
      <Area Left="148" Right="168" Top="168">
         <Help ID="HELPID_GAUGE_KOHLSMAN_KNOB"/>
            <Cursor Type="DownArrow"/>
            <Click Event="KOHLSMAN_DEC" Repeat="Yes"/>
         </Area>
      <Area Left="169" Top="168">
         <Help ID="HELPID_GAUGE_KOHLSMAN_KNOB"/>
            <Cursor Type="UpArrow"/>
            <Click Event="KOHLSMAN_INC" Repeat="Yes"/>
         </Area>
   </Mouse>
</Gauge>
