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

Добавлено управление от ПУИ
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,537 @@
<?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="-3" right="1676" top="-1" bottom="310" ShowCmd="1" MaxPosX="-8" MaxPosY="-31" MinPosX="0" MinPosY="606"/>
<ScanRate>1000</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>16</ColCount>
<RowCount>10</RowCount>
<ColumnWidth>
<CW>1330</CW>
<CW>380</CW>
<CW>900</CW>
<CW>900</CW>
<CW>1210</CW>
<CW>900</CW>
<CW>900</CW>
<CW>900</CW>
<CW>900</CW>
<CW>900</CW>
<CW>900</CW>
<CW>900</CW>
<CW>900</CW>
<CW>900</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>3</FocusRow>
<FocusCol>6</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>3</Function>
<Address>1000</Address>
<Quantity>80</Quantity>
<EnronMode>0</EnronMode>
<Formats>
<F f="1" v="0"/>
<F f="1" v="3"/>
<F f="1" v="3800"/>
<F f="1" v="600"/>
<F f="1" v="1000"/>
<F f="1" v="5000"/>
<F f="1" v="1000"/>
<F f="1" v="1000"/>
<F f="1" v="30"/>
<F f="1" v="0"/>
<F f="1" v="90"/>
<F f="1" v="90"/>
<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="14591"/>
<F f="1" v="14591"/>
<F f="1" v="635"/>
<F f="1" v="635"/>
<F f="1" v="1861"/>
<F f="1" v="1861"/>
<F f="1" v="1861"/>
<F f="1" v="1861"/>
<F f="1" v="1861"/>
<F f="1" v="1861"/>
<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="564"/>
<F f="1" v="40"/>
<F f="1" v="2114"/>
<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="7"/>
<F f="1" v="16000"/>
<F f="1" v="16"/>
<F f="1" v="50971"/>
<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="10"/>
<F f="1" v="200"/>
<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="50971"/>
<F f="1" v="14563"/>
<F f="1" v="25"/>
<F f="1" v="1250"/>
<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"/>
</Formats>
<Bytes>
<B>0</B>
<B>0</B>
<B>3</B>
<B>0</B>
<B>216</B>
<B>14</B>
<B>88</B>
<B>2</B>
<B>232</B>
<B>3</B>
<B>136</B>
<B>19</B>
<B>232</B>
<B>3</B>
<B>232</B>
<B>3</B>
<B>30</B>
<B>0</B>
<B>0</B>
<B>0</B>
<B>90</B>
<B>0</B>
<B>90</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>255</B>
<B>56</B>
<B>255</B>
<B>56</B>
<B>123</B>
<B>2</B>
<B>123</B>
<B>2</B>
<B>69</B>
<B>7</B>
<B>69</B>
<B>7</B>
<B>69</B>
<B>7</B>
<B>69</B>
<B>7</B>
<B>69</B>
<B>7</B>
<B>69</B>
<B>7</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>52</B>
<B>2</B>
<B>40</B>
<B>0</B>
<B>66</B>
<B>8</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>7</B>
<B>0</B>
<B>128</B>
<B>62</B>
<B>16</B>
<B>0</B>
<B>27</B>
<B>199</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>10</B>
<B>0</B>
<B>200</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>27</B>
<B>199</B>
<B>227</B>
<B>56</B>
<B>25</B>
<B>0</B>
<B>226</B>
<B>4</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>
</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="2">
<Colors/>
<Compare compare1="0" compare2="0" conditional1="0" conditional2="0"/>
<Name>Номинал U, Вx10</Name>
<Font used="false"/>
</Cell>
<Cell idx="3">
<Colors/>
<Compare compare1="0" compare2="0" conditional1="0" conditional2="0"/>
<Name>Отклонение U+, %x100</Name>
<Font used="false"/>
</Cell>
<Cell idx="4">
<Colors/>
<Compare compare1="0" compare2="0" conditional1="0" conditional2="0"/>
<Name>Отклонение U-, %x100</Name>
<Font used="false"/>
</Cell>
<Cell idx="5">
<Colors/>
<Compare compare1="0" compare2="0" conditional1="0" conditional2="0"/>
<Name>Номинал F, Гцx100</Name>
<Font used="false"/>
</Cell>
<Cell idx="6">
<Colors/>
<Compare compare1="0" compare2="0" conditional1="0" conditional2="0"/>
<Name>Отклонение F+, %x100</Name>
<Font used="false"/>
</Cell>
<Cell idx="7">
<Colors/>
<Compare compare1="0" compare2="0" conditional1="0" conditional2="0"/>
<Name>Отклонение F-, %x100</Name>
<Font used="false"/>
</Cell>
<Cell idx="8">
<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>Темпер. предупр.</Name>
<Font used="false"/>
</Cell>
<Cell idx="11">
<Colors/>
<Compare compare1="0" compare2="0" conditional1="0" conditional2="0"/>
<Name>Темпер. авария</Name>
<Font used="false"/>
</Cell>
<Cell idx="20">
<Colors/>
<Compare compare1="0" compare2="0" conditional1="0" conditional2="0"/>
<Name>АЦП макс. Uab, Вх10</Name>
<Font used="false"/>
</Cell>
<Cell idx="21">
<Colors/>
<Compare compare1="0" compare2="0" conditional1="0" conditional2="0"/>
<Name>АЦП макс. Uca, Вх10</Name>
<Font used="false"/>
</Cell>
<Cell idx="22">
<Colors/>
<Compare compare1="0" compare2="0" conditional1="0" conditional2="0"/>
<Name>АЦП макс. Ic, Ах10</Name>
<Font used="false"/>
</Cell>
<Cell idx="23">
<Colors/>
<Compare compare1="0" compare2="0" conditional1="0" conditional2="0"/>
<Name>АЦП макс. Ia, Ах10</Name>
<Font used="false"/>
</Cell>
<Cell idx="24">
<Colors/>
<Compare compare1="0" compare2="0" conditional1="0" conditional2="0"/>
<Name>АЦП ур. нуля Uab</Name>
<Font used="false"/>
</Cell>
<Cell idx="25">
<Colors/>
<Compare compare1="0" compare2="0" conditional1="0" conditional2="0"/>
<Name>АЦП ур. нуля Uca</Name>
<Font used="false"/>
</Cell>
<Cell idx="26">
<Colors/>
<Compare compare1="0" compare2="0" conditional1="0" conditional2="0"/>
<Name>АЦП ур. нуля Ic</Name>
<Font used="false"/>
</Cell>
<Cell idx="27">
<Colors/>
<Compare compare1="0" compare2="0" conditional1="0" conditional2="0"/>
<Name>АЦП ур. нуля Ia</Name>
<Font used="false"/>
</Cell>
<Cell idx="28">
<Colors/>
<Compare compare1="0" compare2="0" conditional1="0" conditional2="0"/>
<Name>АЦП ур. нуля Trad</Name>
<Font used="false"/>
</Cell>
<Cell idx="29">
<Colors/>
<Compare compare1="0" compare2="0" conditional1="0" conditional2="0"/>
<Name>АЦП ур. нуля Tshkaf</Name>
<Font used="false"/>
</Cell>
<Cell idx="40">
<Colors/>
<Compare compare1="0" compare2="0" conditional1="0" conditional2="0"/>
<Name>Ампл. Imax, % от Inom</Name>
<Font used="false"/>
</Cell>
<Cell idx="41">
<Colors/>
<Compare compare1="0" compare2="0" conditional1="0" conditional2="0"/>
<Name>rms_window_size</Name>
<Font used="false"/>
</Cell>
<Cell idx="42">
<Colors/>
<Compare compare1="0" compare2="0" conditional1="0" conditional2="0"/>
<Name>rms_exp_alpha</Name>
<Font used="false"/>
</Cell>
<Cell idx="50">
<Colors/>
<Compare compare1="0" compare2="0" conditional1="0" conditional2="0"/>
<Name>ШИМ PhaseMask</Name>
<Font used="false"/>
</Cell>
<Cell idx="51">
<Colors/>
<Compare compare1="0" compare2="0" conditional1="0" conditional2="0"/>
<Name>ШИМ Частота, Гц</Name>
<Font used="false"/>
</Cell>
<Cell idx="52">
<Colors/>
<Compare compare1="0" compare2="0" conditional1="0" conditional2="0"/>
<Name>ШИМ Скважность, %</Name>
<Font used="false"/>
</Cell>
<Cell idx="53">
<Colors/>
<Compare compare1="0" compare2="0" conditional1="0" conditional2="0"/>
<Name>ШИМ Длина пачки</Name>
<Font used="false"/>
</Cell>
<Cell idx="71">
<Colors/>
<Compare compare1="0" compare2="0" conditional1="0" conditional2="0"/>
<Name>Угол Макс. 0..1</Name>
<Font used="false"/>
</Cell>
<Cell idx="72">
<Colors/>
<Compare compare1="0" compare2="0" conditional1="0" conditional2="0"/>
<Name>Угол Мин. 0..1</Name>
<Font used="false"/>
</Cell>
<Cell idx="73">
<Colors/>
<Compare compare1="0" compare2="0" conditional1="0" conditional2="0"/>
<Name>ПИД Kp, x10 000</Name>
<Font used="false"/>
</Cell>
<Cell idx="74">
<Colors/>
<Compare compare1="0" compare2="0" conditional1="0" conditional2="0"/>
<Name>ПИД Ki, x10 000</Name>
<Font used="false"/>
</Cell>
<Cell idx="75">
<Colors/>
<Compare compare1="0" compare2="0" conditional1="0" conditional2="0"/>
<Name>ПИД Kd, x10 000</Name>
<Font used="false"/>
</Cell>
</CellData>
<Scales/>
<ValueNames/>
<ChartSeries/>
<BinNames/>
</Data>
</ModbusPoll>