@@ -1608,9 +1608,9 @@ MODBUS Point Type:
16081608 </message >
16091609 <message >
16101610 <location filename =" ../mainwindow.cpp" line =" 323" />
1611- <location filename =" ../mainwindow.cpp" line =" 362 " />
1612- <location filename =" ../mainwindow.cpp" line =" 375 " />
1613- <location filename =" ../mainwindow.cpp" line =" 386 " />
1611+ <location filename =" ../mainwindow.cpp" line =" 363 " />
1612+ <location filename =" ../mainwindow.cpp" line =" 377 " />
1613+ <location filename =" ../mainwindow.cpp" line =" 389 " />
16141614 <source >All files (*)</source >
16151615 <translation >Все файлы (*)</translation >
16161616 </message >
@@ -2196,17 +2196,17 @@ MODBUS Point Type:
21962196<context >
21972197 <name >OutputWidget</name >
21982198 <message >
2199- <location filename =" ../controls/outputwidget.cpp" line =" 826 " />
2199+ <location filename =" ../controls/outputwidget.cpp" line =" 829 " />
22002200 <source >%1: Enter Description</source >
22012201 <translation >%1: Введите описание</translation >
22022202 </message >
22032203 <message >
2204- <location filename =" ../controls/outputwidget.cpp" line =" 891 " />
2204+ <location filename =" ../controls/outputwidget.cpp" line =" 894 " />
22052205 <source >NOT CONNECTED!</source >
22062206 <translation >НЕ ПОДКЛЮЧЕНО!</translation >
22072207 </message >
22082208 <message >
2209- <location filename =" ../controls/outputwidget.cpp" line =" 899 " />
2209+ <location filename =" ../controls/outputwidget.cpp" line =" 902 " />
22102210 <source >Invalid Data Length Specified</source >
22112211 <translation >Указана недопустимая длина данных</translation >
22122212 </message >
@@ -2375,10 +2375,12 @@ MODBUS Point Type:
23752375 </message >
23762376 <message >
23772377 <location filename =" ../controls/scriptcontrol.ui" line =" 49" />
2378- <source >Script.onInit(()=> {
2379- let deviceId = 1;
2380- let address = 1;
2381- Server.addressBase = AddressBase.Base1;
2378+ <source >Server.addressBase = AddressBase.Base1;
2379+
2380+ let deviceId = 1;
2381+ let address = 1;
2382+
2383+ Script.onInit(()=> {
23822384 Server.onChange(deviceId, Register.Holding, address, (value)=>
23832385 {
23842386 /* write your code on register value change */
0 commit comments