Skip to content

Instantly share code, notes, and snippets.

View dmitrykolesnikovich's full-sized avatar

Dmitry Kolesnikovich dmitrykolesnikovich

View GitHub Profile
<xml package="lcontrol.scada.engine" modbusConfig="/Users/dmitrykolesnikovich/Documents/TestSub1.mdb" mainDocument="main">
<Form id="main" name="main" size="401.0, 452.0" backgroundColor="#CCCCFFFF" saveAspectRatio="true" transition="screen" position="0.0, 0.0">
<Label name="Label 4" size="350.0, 68.0" saveAspectRatio="true" text="${value}" color="#000000FF" borderVisible="true" font="font:/arial_60" horizontalAlign="center" verticalAlign="middle" textInputType="text" position="12.0, 240.0" channel="Channel 4" editable="true"/>
<Slider name="Slider 4" size="240.0, 30.0" saveAspectRatio="true" image="lcontrol/scada/studio/sliderBody.png" indicatorImage="lcontrol/scada/studio/sliderIndicator.png" indicatorSize="20, 20" indicatorPosition="-20, 5" minValue="0" maxValue="100" increment="1" borderVisible="true" color="#FFFFFFFF" font="font:/arial_60" horizontalAlign="center" verticalAlign="middle" textInputType="text" position="74.0, 168.0" channel="Channel 4"/>
<Button name="Button 11"
package: lcontrol.scada.engine
modbusConfig: /Users/dmitrykolesnikovich/Documents/TestSub1.mdb
mainDocument: main
- Form:
id: main
name: main
size: '401.0, 452.0'
backgroundColor: '#CCCCFFFF'
saveAspectRatio: 'true'
transition: screen
function perform_gitsync() { # shortcut for working with Git
git submodule --quiet foreach git pull --quiet
git pull --quiet
git submodule --quiet foreach git add .
git submodule --quiet foreach "git commit -m 'Refactoring.'"
git submodule --quiet foreach git push -u origin master --quiet
git add . && git commit -m "Refactoring." --quiet
git push --quiet
}
@dmitrykolesnikovich
dmitrykolesnikovich / modbuspoll-3-10-44.log
Created October 27, 2021 11:56
modbuspoll-3-10-44.log
2021-10-27 10:44:43.623 <00000> 123 0 0 0 0 0 0 0 0 0
2021-10-27 10:44:43.989 <00000> 123 0 0 0 0 0 0 0 0 0
2021-10-27 10:44:44.367 <00000> 123 0 0 0 0 0 0 0 0 0
2021-10-27 10:44:44.732 <00000> 123 0 0 0 0 0 0 0 0 0
2021-10-27 10:44:45.105 <00000> 123 0 0 0 0 0 0 0 0 0
2021-10-27 10:44:45.541 <00000> 123 0 0 0 0 0 0 0 0 0
2021-10-27 10:44:45.834 <00000> 123 0 0 0 0 0 0 0 0 0
2021-10-27 10:44:46.209 <00000> 123 0 0 0 0 0 0 0 0 0
2021-10-27 10:44:46.580 <00000> 123 0 0 0 0 0 0 0 0 0
2021-10-27 10:44:46.950 <00000> 123 0 0 0 0 0 0 0 0 0
@dmitrykolesnikovich
dmitrykolesnikovich / modbuspoll-2-10-44.log
Created October 27, 2021 11:55
modbuspoll-2-10-44.log
2021-10-27 10:44:31.591 <00000> 123 0 0 0 0 0 0 0 0 0
2021-10-27 10:44:31.959 <00000> 123 0 0 0 0 0 0 0 0 0
2021-10-27 10:44:32.326 <00000> 123 0 0 0 0 0 0 0 0 0
2021-10-27 10:44:32.696 <00000> 123 0 0 0 0 0 0 0 0 0
2021-10-27 10:44:33.066 <00000> 123 0 0 0 0 0 0 0 0 0
2021-10-27 10:44:33.438 <00000> 123 0 0 0 0 0 0 0 0 0
2021-10-27 10:44:33.818 <00000> 123 0 0 0 0 0 0 0 0 0
2021-10-27 10:44:34.184 <00000> 123 0 0 0 0 0 0 0 0 0
2021-10-27 10:44:34.554 <00000> 123 0 0 0 0 0 0 0 0 0
2021-10-27 10:44:34.926 <00000> 123 0 0 0 0 0 0 0 0 0
@dmitrykolesnikovich
dmitrykolesnikovich / modbuspoll-1-10-44.log
Created October 27, 2021 11:55
modbuspoll-1-10-44.log
2021-10-27 10:43:39.093 <00000> 123 0 0 0 0 0 0 0 0 0
2021-10-27 10:43:39.383 <00000> 123 0 0 0 0 0 0 0 0 0
2021-10-27 10:43:39.759 <00000> 123 0 0 0 0 0 0 0 0 0
2021-10-27 10:43:40.125 <00000> 123 0 0 0 0 0 0 0 0 0
2021-10-27 10:43:40.497 <00000> 123 0 0 0 0 0 0 0 0 0
2021-10-27 10:43:40.873 <00000> 123 0 0 0 0 0 0 0 0 0
2021-10-27 10:43:41.244 <00000> 123 0 0 0 0 0 0 0 0 0
2021-10-27 10:43:41.614 <00000> 123 0 0 0 0 0 0 0 0 0
2021-10-27 10:43:41.988 <00000> 123 0 0 0 0 0 0 0 0 0
2021-10-27 10:43:42.357 <00000> 123 0 0 0 0 0 0 0 0 0
@dmitrykolesnikovich
dmitrykolesnikovich / lcontrolcloud-3-10-44.log
Created October 27, 2021 11:55
lcontrolcloud-3-10-44.log
This file has been truncated, but you can view the full file.
[test10_3_station] [27.10.2021 10:45:40.313] Connect 178.212.193.121:530
[test10_3_station] [27.10.2021 10:45:40.704] send [0, 1, 0, 0, 0, 6, 1, 3, 0, 1, 0, 10]
[test10_3_station] [27.10.2021 10:45:40.711] recv (178.212.193.121:530) [0, 1, 0, 0, 0, 23, 1, 3, 20, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]
[test10_3_station] [Response Time] [27.10.2021 10:45:40.807] 178.212.193.121:530/1/Holdings/1..10: 7ms
[test10_3_station] [27.10.2021 10:45:40.807] Read succeed channels 178.212.193.121:530/1/Holdings/1..10
[test10_3_station] Read Channel 1: 0.0 (300.0ms)
[test10_3_station] Read Channel 2: 0.0 (300.0ms)
[test10_3_station] Read Channel 3: 0.0 (300.0ms)
[test10_3_station] Read Channel 4: 0.0 (300.0ms)
[test10_3_station] Read Channel 5: 0.0 (300.0ms)
@dmitrykolesnikovich
dmitrykolesnikovich / lcontrolcloud-2-10-44.log
Created October 27, 2021 11:54
lcontrolcloud-2-10-44.log
This file has been truncated, but you can view the full file.
[test10_2_station] [27.10.2021 10:45:34.566] Connect 178.212.193.121:530
[test10_2_station] [27.10.2021 10:45:34.966] send [0, 1, 0, 0, 0, 6, 1, 3, 0, 1, 0, 10]
[test10_2_station] [27.10.2021 10:45:34.980] recv (178.212.193.121:530) [0, 1, 0, 0, 0, 23, 1, 3, 20, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]
[test10_2_station] [Response Time] [27.10.2021 10:45:35.071] 178.212.193.121:530/1/Holdings/1..10: 14ms
[test10_2_station] [27.10.2021 10:45:35.072] Read succeed channels 178.212.193.121:530/1/Holdings/1..10
[test10_2_station] Read Channel 1: 0.0 (300.0ms)
[test10_2_station] Read Channel 2: 0.0 (300.0ms)
[test10_2_station] Read Channel 3: 0.0 (300.0ms)
[test10_2_station] Read Channel 4: 0.0 (300.0ms)
[test10_2_station] Read Channel 5: 0.0 (300.0ms)
@dmitrykolesnikovich
dmitrykolesnikovich / lcontrolcloud-1-10-44.log
Last active October 27, 2021 12:04
lcontrolcloud-1-10-44.log
This file has been truncated, but you can view the full file.
[test10_1_station] [27.10.2021 10:45:26.746] send [0, 1, 0, 0, 0, 6, 1, 3, 0, 1, 0, 10]
[test10_1_station] [27.10.2021 10:45:26.757] recv (178.212.193.121:530) [0, 1, 0, 0, 0, 23, 1, 3, 20, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]
[test10_1_station] [Response Time] [27.10.2021 10:45:26.848] 178.212.193.121:530/1/Holdings/1..10: 11ms
[test10_1_station] [27.10.2021 10:45:26.856] Read succeed channels 178.212.193.121:530/1/Holdings/1..10
[test10_1_station] Read Channel 1: 0.0 (300.0ms)
[test10_1_station] Read Channel 2: 0.0 (300.0ms)
[test10_1_station] Read Channel 3: 0.0 (300.0ms)
[test10_1_station] Read Channel 4: 0.0 (300.0ms)
[test10_1_station] Read Channel 5: 0.0 (300.0ms)
[test10_1_station] Read Channel 6: 0.0 (300.0ms)
@dmitrykolesnikovich
dmitrykolesnikovich / modbuspoll-3-11-31.log
Created October 27, 2021 11:53
modbuspoll-3-11-31.log
This file has been truncated, but you can view the full file.
2021-10-27 11:31:04.965 <00000> 123 0 0 0 0 0 0 0 0 0
2021-10-27 11:31:05.328 <00000> 123 0 0 0 0 0 0 0 0 0
2021-10-27 11:31:05.703 <00000> 123 0 0 0 0 0 0 0 0 0
2021-10-27 11:31:06.072 <00000> 123 0 0 0 0 0 0 0 0 0
2021-10-27 11:31:06.443 <00000> 123 0 0 0 0 0 0 0 0 0
2021-10-27 11:31:06.816 <00000> 123 0 0 0 0 0 0 0 0 0
2021-10-27 11:31:07.189 <00000> 123 0 0 0 0 0 0 0 0 0
2021-10-27 11:31:07.558 <00000> 123 0 0 0 0 0 0 0 0 0
2021-10-27 11:31:07.960 <00000> 123 0 0 0 0 0 0 0 0 0
2021-10-27 11:31:08.260 <00000> 123 0 0 0 0 0 0 0 0 0