<Gauge Name="Stoporenie_RV_RN" Version="1.0">

<Image ImageSizes="0,0,466,125" Luminous="Yes" Name="Panel_Stoporenie.bmp" UseTransparency="Yes"> </Image>

<Element>
<Select>
<Value> (L:AZS_Stoporenie_rulei,bool)
if{ 1 } els{ 0 } (>G:Var3) } 
</Value>
</Select>
</Element>

<Element>
<Select>
<Value> (A:Circuit general panel on, bool)
if{ 1 } els{ 0 } (>G:Var4) } 
</Value>
</Select>
</Element>

<Element>
<Position X="178" Y="34"/>
<Select>
<Value> (L:AZS_Stoporenie_rulei,bool) </Value>

<Case Value="0">
<Image Alpha="No" Bright="No" ImageSizes="0,0,30,65" Luminous="Yes" Name="switch_off.bmp" UseTransparency="Yes"> </Image>
</Case>

<Case Value="1">
<Image Alpha="No" Bright="No" ImageSizes="0,0,30,65" Luminous="Yes" Name="switch_on.bmp" UseTransparency="Yes"> </Image>
</Case>

</Select>
</Element>

<Element>
<Position X="244" Y="50"/>
<Select>
<Value> (L:AZS_Stoporenie_rulei,bool) (A:Circuit general panel on, bool) and </Value>

<Case Value="0">
<Image Alpha="No" Bright="Yes" ImageSizes="0,0,31,33" Luminous="Yes" Name="Lamp_stoporenie_rulei_OFF.bmp" UseTransparency="Yes"> </Image>
</Case>

<Case Value="1">
<Image Alpha="No" Bright="Yes" ImageSizes="0,0,31,33" Luminous="Yes" Name="Lamp_stoporenie_rulei_ON.bmp" UseTransparency="Yes"> </Image>
</Case>

</Select>
</Element>

<Element>
<Position X="99" Y="3"/>
<Select>
<Value> (L:RV,bool) (L:RN,bool) and (G:VAR3) 1 &lt; (G:VAR4) 1 &lt; or or </Value>

<Case Value="0">
<Image Alpha="No" Bright="Yes" ImageSizes="0,0,62,33" Luminous="Yes" Name="Tablo_Ruli_Zastopor.bmp" UseTransparency="Yes"> </Image>
</Case>

<Case Value="1">
<Image Alpha="No" Bright="Yes" ImageSizes="0,0,62,33" Luminous="Yes" Name="Tablo_OTKL.bmp" UseTransparency="Yes"> </Image>
</Case>

</Select>
</Element>

<Element>
<Position X="99" Y="39"/>
<Select>
<Value> (L:RV,bool) (L:RN,bool) (A:Circuit general panel on, bool) (L:AZS_Stoporenie_rulei,bool) and and and </Value>

<Case Value="1">
<Image Alpha="No" Bright="Yes" ImageSizes="0,0,62,33" Luminous="Yes" Name="Tablo_Ruli_Rasstopor.bmp" UseTransparency="Yes"> </Image>
</Case>

<Case Value="0">
<Image Alpha="No" Bright="Yes" ImageSizes="0,0,62,33" Luminous="Yes" Name="Tablo_OTKL.bmp" UseTransparency="Yes"> </Image>
</Case>

</Select>
</Element>

<Element>
<Position X="9" Y="56"/>
<Select>

<Value> (G:Var1) 0 &gt; (>L:RV,bool) (G:Var1) </Value>

<Case Value="0">
<Image Alpha="No" ImageSizes="0,0,25,37" Name="sp_kon.bmp" UseTransparency="Yes"> </Image>
</Case>

<Case Value="1">
<Image Alpha="No" ImageSizes="0,0,25,51" Name="sp_koff.bmp" UseTransparency="Yes"> </Image>
</Case>

<Case Value="2">
<Image Alpha="No" ImageSizes="0,0,25,51" Name="sp_k.bmp" UseTransparency="Yes"> </Image>
</Case>
</Select>
</Element>

<Element>
<Position X="54" Y="56"/>
<Select>

<Value> (G:Var2) 0 &gt; (>L:RN,bool) (G:Var2) </Value>

<Case Value="0">
<Image Alpha="No" ImageSizes="0,0,25,37" Name="sp_kon.bmp" UseTransparency="Yes"> </Image>
</Case>

<Case Value="1">
<Image Alpha="No" ImageSizes="0,0,25,51" Name="sp_koff.bmp" UseTransparency="Yes"> </Image>

</Case>
<Case Value="2">
<Image Alpha="No" ImageSizes="0,0,25,51" Name="sp_k.bmp" UseTransparency="Yes"> </Image>
</Case>

</Select>
</Element>

<Mouse>

<Area Left="9" Top="56" Right="46" Bottom="110">
<Cursor Type="Crosshair"/>
<Click Kind="LeftSingle+RightSingle" Repeat="no">
(M:Event) 'LeftSingle' scmp 0 == (G:Var1) 2 &lt; and if{ (G:Var1) 0 == if{ 1 } els{ 0 } (>G:Var1) } 1 (>L:TOGGLE_SOUND,bool)
(M:Event) 'RightSingle' scmp 0 == (G:Var1) 0 &gt; and if{ (G:Var1) 1 == if{ 2 } els{ 1 } (>G:Var1) }
</Click>
</Area>

<Area Left="54" Top="56" Right="91" Bottom="110">
<Cursor Type="Crosshair"/>
<Click Kind="LeftSingle+RightSingle" Repeat="no">
(M:Event) 'LeftSingle' scmp 0 == (G:Var2) 2 &lt; and if{ (G:Var2) 0 == if{ 1 } els{ 0 } (>G:Var2) } 1 (>L:TOGGLE_SOUND,bool)
(M:Event) 'RightSingle' scmp 0 == (G:Var2) 0 &gt; and if{ (G:Var2) 1 == if{ 2 } els{ 1 } (>G:Var2) }
</Click>
</Area>

<Area Left="181" Top="40" Right="204" Bottom="95">
<Cursor Type="Crosshair"/>
<Click>
(L:AZS_Stoporenie_rulei,bool) ! (>L:AZS_Stoporenie_rulei,bool) 1 (>L:TOGGLE_SOUND,bool)
</Click>
</Area>

</Mouse>

</Gauge>