Рефакторинг и фиксы

Добавлено управление от ПУИ
This commit is contained in:
2026-02-14 09:50:44 +03:00
parent 19ce761264
commit eb48424111
20 changed files with 1514 additions and 148 deletions

View File

@@ -0,0 +1,277 @@
<?xml version="1.0" encoding="UTF-8"?>
<ModbusPoll>
<FileSchema r="0" c="0"/>
<Version major="12" minor="2" patch="0" build="2516"/>
<dpi>96</dpi>
<WP left="736" right="1240" top="310" bottom="902" ShowCmd="1" MaxPosX="-8" MaxPosY="-31" MinPosX="320" MinPosY="606"/>
<ScanRate>100</ScanRate>
<SlaveID>1</SlaveID>
<Enable>1</Enable>
<StopOnError>0</StopOnError>
<OneBased>0</OneBased>
<RowsDialog>0</RowsDialog>
<HideNames>0</HideNames>
<HexMode>0</HexMode>
<DisplayAddr>0</DisplayAddr>
<ColCount>4</ColCount>
<RowCount>10</RowCount>
<ColumnWidth>
<CW>950</CW>
<CW>1120</CW>
<CW>900</CW>
<CW>900</CW>
</ColumnWidth>
<RowHight>
<RH>200</RH>
<RH>200</RH>
<RH>200</RH>
<RH>200</RH>
<RH>200</RH>
<RH>200</RH>
<RH>200</RH>
<RH>200</RH>
<RH>200</RH>
<RH>200</RH>
</RowHight>
<ScrollPosV>0</ScrollPosV>
<ScrollPosH>0</ScrollPosH>
<FocusRow>1</FocusRow>
<FocusCol>1</FocusCol>
<LogText>
<Eachread>0</Eachread>
<Rate>1</Rate>
<LogChangedOnly>0</LogChangedOnly>
<LogErrors>0</LogErrors>
<LogErrorsOnly>0</LogErrorsOnly>
<LogAddress>1</LogAddress>
<LogDate>0</LogDate>
<TDelimiter>0</TDelimiter>
<LogMs>1</LogMs>
<Delimiter>0</Delimiter>
<AutoStart>0</AutoStart>
<Flush>0</Flush>
<Append>0</Append>
<NewLogFileAtMidnight>0</NewLogFileAtMidnight>
<InsertHeader>0</InsertHeader>
<NameCellsInTopRow>0</NameCellsInTopRow>
<PollDefinition>0</PollDefinition>
<LogName>Type log name here</LogName>
<FileName></FileName>
</LogText>
<LogExcel>
<Eachread>1</Eachread>
<Rate>1</Rate>
<StopAfter>1000</StopAfter>
<LogChangedOnly>0</LogChangedOnly>
<InsertHeader>1</InsertHeader>
<NameCellsInTopRow>1</NameCellsInTopRow>
<PollDefinition>1</PollDefinition>
<LogName>Type log name here</LogName>
</LogExcel>
<Data>
<Function>4</Function>
<Address>0</Address>
<Quantity>19</Quantity>
<EnronMode>0</EnronMode>
<Formats>
<F f="1" v="0"/>
<F f="3" v="0000 0000 0000 1010"/>
<F f="1" v="0"/>
<F f="1" v="0"/>
<F f="1" v="0"/>
<F f="1" v="0"/>
<F f="1" v="0"/>
<F f="1" v="0"/>
<F f="1" v="0"/>
<F f="1" v="0"/>
<F f="1" v="0"/>
<F f="1" v="0"/>
<F f="1" v="0"/>
<F f="1" v="0"/>
<F f="1" v="0"/>
<F f="1" v="0"/>
<F f="0" v="0"/>
<F f="0" v="213"/>
<F f="0" v="198"/>
</Formats>
<Bytes>
<B>0</B>
<B>0</B>
<B>10</B>
<B>0</B>
<B>0</B>
<B>0</B>
<B>0</B>
<B>0</B>
<B>0</B>
<B>0</B>
<B>0</B>
<B>0</B>
<B>0</B>
<B>0</B>
<B>0</B>
<B>0</B>
<B>0</B>
<B>0</B>
<B>0</B>
<B>0</B>
<B>0</B>
<B>0</B>
<B>0</B>
<B>0</B>
<B>0</B>
<B>0</B>
<B>0</B>
<B>0</B>
<B>0</B>
<B>0</B>
<B>0</B>
<B>0</B>
<B>0</B>
<B>0</B>
<B>213</B>
<B>0</B>
<B>198</B>
<B>0</B>
</Bytes>
<CellData>
<Cell idx="0">
<Colors/>
<Compare compare1="0" compare2="0" conditional1="0" conditional2="0"/>
<Name>Текущая авария</Name>
<Font used="false"/>
</Cell>
<Cell idx="1">
<Colors/>
<Compare compare1="0" compare2="0" conditional1="0" conditional2="0"/>
<Name>Состояние УПП</Name>
<Font used="false"/>
</Cell>
<Cell idx="5">
<Colors/>
<Compare compare1="0" compare2="0" conditional1="0" conditional2="0"/>
<Name>U, В</Name>
<Font used="false"/>
</Cell>
<Cell idx="6">
<Colors/>
<Compare compare1="0" compare2="0" conditional1="0" conditional2="0"/>
<Name>Uab, В</Name>
<Font used="false"/>
</Cell>
<Cell idx="7">
<Colors/>
<Compare compare1="0" compare2="0" conditional1="0" conditional2="0"/>
<Name>Ubc, В</Name>
<Font used="false"/>
</Cell>
<Cell idx="8">
<Colors/>
<Compare compare1="0" compare2="0" conditional1="0" conditional2="0"/>
<Name>Uca, В</Name>
<Font used="false"/>
</Cell>
<Cell idx="9">
<Colors/>
<Compare compare1="0" compare2="0" conditional1="0" conditional2="0"/>
<Name>I, А x10</Name>
<Font used="false"/>
</Cell>
<Cell idx="10">
<Colors/>
<Compare compare1="0" compare2="0" conditional1="0" conditional2="0"/>
<Name>Ia, А x10</Name>
<Font used="false"/>
</Cell>
<Cell idx="11">
<Colors/>
<Compare compare1="0" compare2="0" conditional1="0" conditional2="0"/>
<Name>Ib, А x10</Name>
<Font used="false"/>
</Cell>
<Cell idx="12">
<Colors/>
<Compare compare1="0" compare2="0" conditional1="0" conditional2="0"/>
<Name>Ic, А x10</Name>
<Font used="false"/>
</Cell>
<Cell idx="13">
<Colors/>
<Compare compare1="0" compare2="0" conditional1="0" conditional2="0"/>
<Name>F, Гц x10</Name>
<Font used="false"/>
</Cell>
<Cell idx="14">
<Colors/>
<Compare compare1="0" compare2="0" conditional1="0" conditional2="0"/>
<Name>Fab, Гц x10</Name>
<Font used="false"/>
</Cell>
<Cell idx="15">
<Colors/>
<Compare compare1="0" compare2="0" conditional1="0" conditional2="0"/>
<Name>Fbc, Гц x10</Name>
<Font used="false"/>
</Cell>
<Cell idx="16">
<Colors/>
<Compare compare1="0" compare2="0" conditional1="0" conditional2="0"/>
<Name>Fca, Гц x10</Name>
<Font used="false"/>
</Cell>
<Cell idx="17">
<Colors/>
<Compare compare1="0" compare2="0" conditional1="0" conditional2="0"/>
<Name>Tрад, °С x10</Name>
<Font used="false"/>
</Cell>
<Cell idx="18">
<Colors/>
<Compare compare1="0" compare2="0" conditional1="0" conditional2="0"/>
<Name>Tвнутр, °С x10</Name>
<Font used="false"/>
</Cell>
</CellData>
<Scales/>
<ValueNames/>
<ChartSeries/>
<BinNames>
<BinName idx="0">
<B0>Режим работы</B0>
<B1>Режим работы</B1>
<B2>Нет связи с ЛСУ </B2>
<B3>Нет входной сети</B3>
<B4>Токоограничение</B4>
<B5>Повышенное напряжеине</B5>
<B6>Пониежнное напряжение</B6>
<B7></B7>
<B8></B8>
<B9></B9>
<B10></B10>
<B11></B11>
<B12></B12>
<B13></B13>
<B14></B14>
<B15></B15>
</BinName>
<BinName idx="1">
<B0>Режим работы</B0>
<B1>Режим работы</B1>
<B2>Нет связи с ЛСУ</B2>
<B3>Нет входной сети</B3>
<B4>Токоограничение</B4>
<B5>Повышенное напряжеине</B5>
<B6>Пониженное напряжение</B6>
<B7></B7>
<B8></B8>
<B9></B9>
<B10></B10>
<B11></B11>
<B12></B12>
<B13></B13>
<B14></B14>
<B15></B15>
</BinName>
</BinNames>
</Data>
</ModbusPoll>