<Gauge Name="L188 Generators" Version="1.0">
   <Size X="170" Y="73"/>

   <Element>
     <Position X="2" Y="15"/>
      <Select>
         <Value>(A:General eng generator switch:1, bool)</Value>
         <Case Value="0">
            <Image Name="Gen_off.bmp" ImageSizes="25,40"/>
         </Case>
         <Case Value="1">
            <Image Name="Gen_on.bmp" ImageSizes="25,40"/>
         </Case>
      </Select>
   </Element>

   <Element>
     <Position X="47" Y="15"/>
      <Select>
         <Value>(A:General eng generator switch:2, bool)</Value>
         <Case Value="0">
            <Image Name="Gen_off.bmp" ImageSizes="25,40"/>
         </Case>
         <Case Value="1">
            <Image Name="Gen_on.bmp" ImageSizes="25,40"/>
         </Case>
      </Select>
   </Element>

   <Element>
     <Position X="90" Y="14"/>
      <Select>
         <Value>(A:General eng generator switch:3, bool)</Value>
         <Case Value="0">
            <Image Name="Gen_off.bmp" ImageSizes="25,40"/>
         </Case>
         <Case Value="1">
            <Image Name="Gen_on.bmp" ImageSizes="25,40"/>
         </Case>
      </Select>
   </Element>

   <Element>
     <Position X="132" Y="14"/>
      <Select>
         <Value>(A:General eng generator switch:4, bool)</Value>
         <Case Value="0">
            <Image Name="Gen_off.bmp" ImageSizes="25,40"/>
         </Case>
         <Case Value="1">
            <Image Name="Gen_on.bmp" ImageSizes="25,40"/>
         </Case>
      </Select>
   </Element>

 <!-- Generator Switch Lights -->

   <Element>
      <Position X="13" Y="52"/>
      <Select>
         <Value>(A:GENERAL ENG1 RPM,RPM) 10000 &gt; (A:General eng1 generator switch,bool) &amp;</Value>
         <Case Value="1">
            <Image Name="gen_light_on.bmp" Bright="YES" ImageSizes="25,23"/>
         </Case>
      </Select>
   </Element>

   <Element>
      <Position X="57" Y="51"/>
      <Select>
         <Value>(A:GENERAL ENG2 RPM,RPM) 10000 &gt; (A:General eng2 generator switch,bool) &amp;</Value>
         <Case Value="1">
            <Image Name="gen_light_on.bmp" Bright="YES" ImageSizes="25,23"/>
         </Case>
      </Select>
   </Element>

   <Element>
      <Position X="101" Y="50"/>
      <Select>
         <Value>(A:GENERAL ENG3 RPM,RPM) 10000 &gt; (A:General eng3 generator switch,bool) &amp;</Value>
         <Case Value="1">
            <Image Name="gen_light_on.bmp" Bright="YES" ImageSizes="25,23"/>
         </Case>
      </Select>
   </Element>

   <Element>
      <Position X="143" Y="50"/>
      <Select>
         <Value>(A:GENERAL ENG4 RPM,RPM) 2000 &gt; (A:General eng4 generator switch,bool) &amp;</Value>
         <Case Value="1">
            <Image Name="gen_light_on.bmp" Bright="YES" ImageSizes="25,23"/>
         </Case>
      </Select>
   </Element>


   <Mouse>
       <Area Left="0" Right="35">
         <Tooltip>Engine 1 Generator Switch (%((A:General eng generator switch:1, bool))%{if}ON%{else}OFF%{end})</Tooltip>
         <Cursor Type="Hand"/>
         <Click>(&gt;K:TOGGLE_ALTERNATOR1)</Click>
       </Area>

       <Area Left="37" Right="75" Top="0">
         <Tooltip>Engine 2 Generator Switch (%((A:General eng generator switch:2, bool))%{if}ON%{else}OFF%{end})</Tooltip>
         <Cursor Type="Hand"/>
         <Click>(&gt;K:TOGGLE_ALTERNATOR2)</Click>
       </Area>

       <Area Left="77" Right="120">
         <Tooltip>Engine 3 Generator Switch (%((A:General eng generator switch:3, bool))%{if}ON%{else}OFF%{end})</Tooltip>
         <Cursor Type="Hand"/>
         <Click>(&gt;K:TOGGLE_ALTERNATOR3)</Click>
       </Area>

       <Area Left="122" Right="160">
         <Tooltip>Engine 4 Generator Switch (%((A:General eng generator switch:4, bool))%{if}ON%{else}OFF%{end})</Tooltip>
         <Cursor Type="Hand"/>
         <Click>(&gt;K:TOGGLE_ALTERNATOR4)</Click>
       </Area>

   </Mouse>
</Gauge>
