<Gauge Name="CO-72M" Version="1.0">
   <Image Name="co72_bck.bmp" ImageSizes="305,276,0,0"/>
   <Element>
      <Position X="0" Y="0"/>
   <Image Name="co72_mask.bmp" Luminous="Yes" ImageSizes="305,276,0,0"/>
   </Element>
   <Element>
      <Position X="164" Y="74"/>
      <Image Name="co72_Gal.bmp" PointsTo="East" ImageSizes="69,38,0,0">
         <Axis X="32" Y="19"/>
      </Image>
      <Rotate>
         <Value Minimum="0" Maximum="9">(G:Var1)</Value>
         <Nonlinearity>
            <Item Value="0" X="128" Y="74"/>
            <Item Value="1" X="132" Y="56"/>
            <Item Value="2" X="146" Y="42"/>
            <Item Value="3" X="164" Y="38"/>
            <Item Value="4" X="182" Y="42"/>
            <Item Value="5" X="196" Y="56"/>
            <Item Value="6" X="200" Y="74"/>
         </Nonlinearity>
      </Rotate>
   </Element>
   <Element>
      <Position X="53" Y="41"/>
      <Visible>(A:Circuit avionics on, bool) (G:Var1) 0 &gt; &amp;&amp; </Visible>
      <Select>
         <Value>(G:Var2) ! if{ (G:Var1) 2 &lt; if{ 1 (&gt;G:Var4) } els{ 0 (&gt;G:Var4) } } els{ 2 (&gt;G:Var4) } (G:Var4)</Value>
         <Case Value="0">
            <Image Name="co72_Lamp_off.bmp" Luminous="Yes" ImageSizes="22,33,0,0"/>
         </Case>
         <Case Value="1">
            <Image Name="co72_Lamp_red.bmp" Bright="Yes" ImageSizes="22,33,0,0"/>
         </Case>
         <Case Value="2">
            <Image Name="co72_Lamp_on.bmp" Bright="Yes" ImageSizes="22,33,0,0"/>
         </Case>
      </Select>
   </Element>
   <Element>
      <Visible>(A:Circuit avionics on, bool) (G:Var1) 4 &gt; &amp;&amp; </Visible>
      <Position X="100" Y="130"/>
      <Text X="110" Y="36" Length="4" Fixed="Yes" Font="Quartz" Attributes="Italic" Adjust="Center" VerticalAdjust="Center" Color="Red" Bright="Yes">
         <String>%((A:Transponder1 code, number))%!4.0f!</String>
      </Text>
   </Element>
   <Element>
      <Position X="233" Y="70"/>
      <Select>
         <Value>(G:Var3)</Value>
         <Case Value="0">
            <Image Name="co72_1.bmp" ImageSizes="38,14,0,0"/>
         </Case>
         <Case Value="1">
            <Image Name="co72_2.bmp" ImageSizes="38,14,0,0"/>
         </Case>
      </Select>
   </Element>
   <Mouse>
      <Area Left="114" Right="163" Top="35" Bottom="111">
         <Cursor Type="DownArrow"/>
         <Click>(G:Var1) 0 &gt; if{ (G:Var1) -- (&gt;G:Var1) }</Click>
      </Area>
      <Area Left="165" Right="214" Top="35" Bottom="111">
         <Cursor Type="UpArrow"/>
         <Click>(G:Var1) 6 &lt; if{ (G:Var1) ++ (&gt;G:Var1) }</Click>
      </Area>
      <Area Left="37" Right="77" Top="88" Bottom="128">
      <Cursor Type="Hand"/>
      <Click>(G:Var2) ! (&gt;G:Var2)</Click>
      </Area>
      <Area Left="227" Right="278" Top="65" Bottom="91">
      <Cursor Type="Hand"/>
      <Click>(G:Var3) ! (&gt;G:Var3)</Click>
      </Area>
      <Area Left="75" Width="36" Top="175" Height="36">
         <Cursor Type="Hand"/>
         <Click>0 (&gt;K:XPNDR_1000_INC)</Click>
      </Area>
      <Area Left="115" Width="36" Top="175" Height="36">
         <Cursor Type="Hand"/>
         <Click>0 (&gt;K:XPNDR_100_INC)</Click>
      </Area>
      <Area Left="155" Width="36" Top="175" Height="36">
         <Cursor Type="Hand"/>
         <Click>0 (&gt;K:XPNDR_10_INC)</Click>
      </Area>
      <Area Left="195" Width="36" Top="175" Height="36">
         <Cursor Type="Hand"/>
         <Click>0 (&gt;K:XPNDR_1_INC)</Click>
      </Area>
   </Mouse>
</Gauge>
