<Gauge Name="pdu-baklan" Version="1.0">

<Image Name="pdu33_bg.bmp" Luminous="Yes" ImageSizes="0,0,300,144"/>

<Element><Position X="89" Y="19"/>
<Select>
<Value>(L:PDU31LON, bool)</Value>
<Case Value="1"><Image Name="pdu33_num_pid.bmp" Luminous="Yes" ImageSizes="0,0,143,38"/></Case>
</Select>
</Element>

<Element><Position X="84" Y="73"/>
<Select>
<Value>(L:PDU31LON, bool)</Value>
<Case Value="1"><Image Name="pdu33_ps.bmp" Luminous="Yes" ImageSizes="0,0,28,20"/></Case>
</Select>
</Element>

<Element><Position X="187" Y="73"/>
<Select>
<Value>(L:PDU31LON, bool)</Value>
<Case Value="1"><Image Name="pdu33_ap.bmp" Luminous="Yes" ImageSizes="0,0,26,18"/></Case>
</Select>
</Element>

<Element><Position X="115" Y="68"/>
<Select>
<Value>(L:PDU31LON, bool)</Value>
<Case Value="1"><Image Name="pdu33_pids_ps.bmp" Luminous="Yes" ImageSizes="0,0,29,32"/></Case>
</Select>
</Element>

<Element><Position X="156" Y="68"/>
<Select>
<Value>(L:PDU31LON, bool)</Value>
<Case Value="1"><Image Name="pdu33_pids_ps.bmp" Luminous="Yes" ImageSizes="0,0,29,32"/></Case>
</Select>
</Element>

<Element><Position X="38" Y="76"/>
<Select>
<Value>(L:PDU31LON, bool)</Value>
<Case Value="1"><Image Name="pdu33_ru_pid.bmp" Luminous="Yes" ImageSizes="0,0,44,49"/></Case>
</Select>
</Element>

<Element><Position X="217" Y="76"/>
<Select>
<Value>(L:PDU31LON, bool)</Value>
<Case Value="1"><Image Name="pdu33_ru_pid.bmp" Luminous="Yes"ImageSizes="0,0,44,49"/></Case>
</Select>
</Element>

<Element><Position X="159" Y="40"/>
<Select>
<Value>(L:PDU31LON, bool)</Value>
<Case Value="1"><Image Name="pdu33_koma.bmp" Luminous="Yes" ImageSizes="0,0,5,15"/></Case>
</Select>
</Element>

<Element><Position X="95" Y="25"/>
<MaskImage Name="pdu33_mask.bmp" ImageSizes="0,0,19,30"><Axis X="0" Y="15"/></MaskImage>
<Image Name="pdu33_num.bmp" ImageSizes="0,0,19,600">
<Nonlinearity>
<Item Value="0" X="0" Y="18"/>
<Item Value="10" X="0" Y="348"/>
</Nonlinearity>
</Image>
<Shift>
<Value Minimum="0" Maximum="10">(L:PDU31LON, bool) if{ (G:Var3) if{ 1 } els{ (G:Var4) ++ d (>G:Var4) 20 &lt; if{ 1 } els{ (G:Var4) 30 &lt; if{ 10 } els{ 1 (>G:Var3) } } } } els{ 0 (>G:Var3) 0 (>G:Var4) 10 } </Value>
</Shift>
</Element>

<Element><Position X="117" Y="25"/>
<MaskImage Name="pdu33_mask.bmp" ImageSizes="0,0,19,30"><Axis X="0" Y="15"/></MaskImage>
<Image Name="pdu33_num.bmp" ImageSizes="0,0,19,600">
<Nonlinearity>
<Item Value="0" X="0" Y="18"/>
<Item Value="1" X="0" Y="51"/>
<Item Value="2" X="0" Y="84"/>
<Item Value="3" X="0" Y="116"/>
<Item Value="4" X="0" Y="150"/>
<Item Value="5" X="0" Y="182"/>
<Item Value="6" X="0" Y="216"/>
<Item Value="7" X="0" Y="248"/>
<Item Value="8" X="0" Y="282"/>
<Item Value="9" X="0" Y="314"/>
<Item Value="10" X="0" Y="348"/>
</Nonlinearity>
</Image>
<Shift><Value Minimum="0" Maximum="10"> (L:PDU31LON, bool) if{ (G:Var3) if{ (A:COM1 Active Frequency, MHz) 100 % 10 div } els{ (G:Var4) 20 &lt; if{ 8 } els{ (G:Var4) 30 &lt; if{ 10 } } } } els{ 10 } </Value>
</Shift>
</Element>

<Element><Position X="140" Y="25"/>
<MaskImage Name="pdu33_mask.bmp" ImageSizes="0,0,19,30"><Axis X="0" Y="15"/></MaskImage>
<Image Name="pdu33_num.bmp" ImageSizes="0,0,19,600">
<Nonlinearity>
<Item Value="0" X="0" Y="18"/>
<Item Value="1" X="0" Y="51"/>
<Item Value="2" X="0" Y="84"/>
<Item Value="3" X="0" Y="116"/>
<Item Value="4" X="0" Y="150"/>
<Item Value="5" X="0" Y="182"/>
<Item Value="6" X="0" Y="216"/>
<Item Value="7" X="0" Y="248"/>
<Item Value="8" X="0" Y="282"/>
<Item Value="9" X="0" Y="314"/>
<Item Value="10" X="0" Y="348"/>
</Nonlinearity>
</Image>
<Shift>
<Value Minimum="0" Maximum="10">(L:PDU31LON, bool) if{ (G:Var3) if{ (A:COM1 Active Frequency, MHz) 10 % int } els{ (G:Var4) 20 &lt; if{ 8 } els{ (G:Var4) 30 &lt; if{ 10 } } } } els{ 10 } </Value>
</Shift>
</Element>

<Element><Position X="164" Y="25"/><MaskImage Name="pdu33_mask.bmp" ImageSizes="0,0,19,30"><Axis X="0" Y="15"/></MaskImage><Image Name="pdu33_num.bmp" ImageSizes="0,0,19,600"><Nonlinearity><Item Value="0" X="0" Y="18"/><Item Value="1" X="0" Y="51"/><Item Value="2" X="0" Y="84"/><Item Value="3" X="0" Y="116"/><Item Value="4" X="0" Y="150"/><Item Value="5" X="0" Y="182"/><Item Value="6" X="0" Y="216"/><Item Value="7" X="0" Y="248"/><Item Value="8" X="0" Y="282"/><Item Value="9" X="0" Y="314"/><Item Value="10" X="0" Y="348"/></Nonlinearity></Image><Shift><Value Minimum="0" Maximum="10">(L:PDU31LON, bool) if{ (G:Var3) if{ (A:COM1 Active Frequency, KHz) 1000 % 100 div } els{ (G:Var4) 20 &lt; if{ 8 } els{ (G:Var4) 30 &lt; if{ 10 } } } } els{ 10 } </Value></Shift></Element><Element><Position X="186" Y="25"/><MaskImage Name="pdu33_mask.bmp" ImageSizes="0,0,19,30"><Axis X="0" Y="15"/></MaskImage><Image Name="pdu33_num.bmp" ImageSizes="0,0,19,600"><Nonlinearity><Item Value="0" X="0" Y="18"/><Item Value="1" X="0" Y="51"/><Item Value="2" X="0" Y="84"/><Item Value="3" X="0" Y="116"/><Item Value="4" X="0" Y="150"/><Item Value="5" X="0" Y="182"/><Item Value="6" X="0" Y="216"/><Item Value="7" X="0" Y="248"/><Item Value="8" X="0" Y="282"/><Item Value="9" X="0" Y="314"/><Item Value="10" X="0" Y="348"/></Nonlinearity></Image><Shift><Value Minimum="0" Maximum="10">(L:PDU31LON, bool) if{ (G:Var3) if{ (A:COM1 Active Frequency, KHz) 100 % 10 div } els{ (G:Var4) 20 &lt; if{ 8 } els{ (G:Var4) 30 &lt; if{ 10 } } } } els{ 10 } </Value></Shift></Element><Element><Position X="208" Y="25"/><MaskImage Name="pdu33_mask.bmp" ImageSizes="0,0,19,30"><Axis X="0" Y="15"/></MaskImage><Image Name="pdu33_num.bmp" ImageSizes="0,0,19,600"><Nonlinearity><Item Value="0" X="0" Y="18"/><Item Value="1" X="0" Y="51"/><Item Value="2" X="0" Y="84"/><Item Value="3" X="0" Y="116"/><Item Value="4" X="0" Y="150"/><Item Value="5" X="0" Y="182"/><Item Value="6" X="0" Y="216"/><Item Value="7" X="0" Y="248"/><Item Value="8" X="0" Y="282"/><Item Value="9" X="0" Y="314"/><Item Value="10" X="0" Y="348"/></Nonlinearity></Image><Shift><Value Minimum="0" Maximum="10">(L:PDU31LON, bool) if{ (G:Var3) if{ (A:COM1 Active Frequency, KHz) 10 % } els{ (G:Var4) 20 &lt; if{ 8 } els{ (G:Var4) 30 &lt; if{ 10 } } } } els{ 10 } </Value></Shift></Element><Element><Position X="60" Y="100"/><Image Name="pdu33_knob.bmp" Luminous="Yes" ImageSizes="0,0,40,43"><Axis X="20" Y="22"/></Image><Rotate><Value Minimum="118" Maximum="136"> (L:PDU31LAP, bool) ! if{ (A:COM1 Active Frequency, MHz) int d (>G:Var2) } els{ (G:Var2) } </Value><Nonlinearity><Item Value="118" Degrees="0"/><Item Value="136" Degrees="360"/></Nonlinearity></Rotate></Element><Element><Position X="239" Y="100"/><Image Name="pdu33_knob.bmp" Luminous="Yes" ImageSizes="0,0,40,43"><Axis X="20" Y="22"/></Image><Rotate><Value Minimum="0" Maximum="999"> (L:PDU31LAP, bool) ! if{ (A:COM1 Active Frequency, MHz) 1000 * 1000 % d (>G:Var1) } els{ (G:Var1) } </Value><Nonlinearity><Item Value="0" Degrees="0"/><Item Value="999" Degrees="720"/></Nonlinearity></Rotate></Element><Element><Position X="122" Y="50"/><Select><Value>(L:PDU31LPSH, bool)</Value><Case Value="0"><Image Name="pdu33-sw_on.bmp" Luminous="Yes" ImageSizes="0,0,16,70"/></Case><Case Value="1"><Image Name="pdu33-sw_off.bmp" Luminous="Yes" ImageSizes="0,0,16,70"/></Case></Select></Element><Element><Position X="164" Y="50"/><Select><Value> (L:PDU31LAP, bool) d ! if{ 8528 (>K:COM_STBY_RADIO_SET) } </Value><Case Value="0"><Image Name="pdu33-sw_off.bmp" Luminous="Yes" ImageSizes="0,0,16,70"/></Case><Case Value="1"><Image Name="pdu33-sw_on.bmp" Luminous="Yes" ImageSizes="0,0,16,70"/></Case></Select></Element><Mouse><Area Left="0" Top="0" Right="300" Bottom="144"><Tooltip ID="">%( (L:PDU31LON, bool) )%{if}COMM1 FREQ: %( (A:COM1 Active Frequency, MHz) )%!3.3f! MHz%{end}</Tooltip></Area><Area Left="39" Top="76" Right="60" Bottom="124"><Cursor Type="DownArrow"/><Tooltip ID="">(-) MHz</Tooltip><Click Kind="LeftSingle+LeftDrag" Repeat="Yes" MouseWheelFlip="Yes"> (L:PDU31LAP, bool) (G:Var3) and ! if{ 0 (>K:COM_RADIO) 0 (>K:FREQUENCY_SWAP) 0 (>K:COM_RADIO_WHOLE_DEC) 0 (>K:COM_RADIO) 0 (>K:FREQUENCY_SWAP) } </Click></Area><Area Left="60" Top="76" Right="81" Bottom="124"><Cursor Type="UpArrow"/><Tooltip ID="">(+) MHz</Tooltip><Click Kind="LeftSingle+LeftDrag" Repeat="Yes" MouseWheelFlip="Yes"> (L:PDU31LAP, bool) (G:Var3) and ! if{ 0 (>K:COM_RADIO) 0 (>K:FREQUENCY_SWAP) 0 (>K:COM_RADIO_WHOLE_INC) 0 (>K:COM_RADIO) 0 (>K:FREQUENCY_SWAP) } </Click></Area><Area Left="218" Top="76" Right="239" Bottom="124"><Cursor Type="DownArrow"/><Tooltip ID="">(-) kHz</Tooltip><Click Kind="LeftSingle+LeftDrag" Repeat="Yes" MouseWheelFlip="Yes"> (L:PDU31LAP, bool) (G:Var3) and ! if{ 0 (>K:COM_RADIO) 0 (>K:FREQUENCY_SWAP) 0 (>K:COM_RADIO_FRACT_DEC_CARRY) 0 (>K:COM_RADIO) 0 (>K:FREQUENCY_SWAP) } </Click></Area><Area Left="239" Top="76" Right="261" Bottom="124"><Cursor Type="UpArrow"/><Tooltip ID="">(+) kHz</Tooltip><Click Kind="LeftSingle+LeftDrag" Repeat="Yes" MouseWheelFlip="Yes"> (L:PDU31LAP, bool) (G:Var3) and ! if{ 0 (>K:COM_RADIO) 0 (>K:FREQUENCY_SWAP) 0 (>K:COM_RADIO_FRACT_INC_CARRY) 0 (>K:COM_RADIO) 0 (>K:FREQUENCY_SWAP) } </Click></Area><Area Left="160" Top="60" Right="185" Bottom="105"><Cursor Type="Hand"/><Tooltip ID="">(AP)</Tooltip><Click > (L:PDU31LAP, bool) ! (>L:PDU31LAP, bool) 0 (>K:COM_RADIO) 0 (>K:FREQUENCY_SWAP) </Click></Area><Area Left="115" Top="60" Right="140" Bottom="105"><Cursor Type="Hand"/><Tooltip ID="">(Anti-noise)</Tooltip><Click > (L:PDU31LPSH, bool) ! (>L:PDU31LPSH, bool) </Click></Area></Mouse></Gauge> 