-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathetrodiag_ru.ts
674 lines (674 loc) · 59.6 KB
/
etrodiag_ru.ts
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE TS>
<TS version="2.1" language="ru_RU">
<context>
<name>ByteSettingsForm</name>
<message>
<location filename="bytesettingsform.ui" line="20"/>
<source>Form</source>
<translation>Форма</translation>
</message>
<message>
<location filename="bytesettingsform.ui" line="32"/>
<source>Word size: </source>
<translation>Размер слова: </translation>
</message>
<message>
<location filename="bytesettingsform.ui" line="63"/>
<source> bit</source>
<translation> бит</translation>
</message>
<message>
<location filename="bytesettingsform.ui" line="127"/>
<source>Add mask</source>
<translation>Добавить маску</translation>
</message>
</context>
<context>
<name>Device</name>
<message>
<location filename="device.cpp" line="30"/>
<location filename="device.cpp" line="38"/>
<location filename="device.cpp" line="222"/>
<location filename="device.cpp" line="230"/>
<source>offline</source>
<translation>не в сети</translation>
</message>
<message>
<location filename="device.cpp" line="32"/>
<location filename="device.cpp" line="41"/>
<location filename="device.cpp" line="234"/>
<source>online</source>
<translation>в сети</translation>
</message>
</context>
<context>
<name>Logger</name>
<message>
<location filename="logger.cpp" line="90"/>
<source>Start write log file </source>
<translation>Начата запись log файла </translation>
</message>
<message>
<location filename="logger.cpp" line="64"/>
<source>Error write bin</source>
<translation>Ошибка записи bin файла</translation>
</message>
<message>
<location filename="logger.cpp" line="54"/>
<source>Start write bin file </source>
<translation>Начата запись bin файла </translation>
</message>
<message>
<location filename="logger.cpp" line="70"/>
<source>Stop write bin file</source>
<translation>Стоп записи bin файла</translation>
</message>
<message>
<location filename="logger.cpp" line="91"/>
<location filename="logger.cpp" line="102"/>
<source>Error open log file</source>
<translation>Ошибка открытия log файла</translation>
</message>
<message>
<location filename="logger.cpp" line="111"/>
<source>Stop write log file</source>
<translation>Стоп записи log файла</translation>
</message>
<message>
<location filename="logger.cpp" line="130"/>
<source>Start write json file </source>
<translation>Начата запись json файла </translation>
</message>
<message>
<location filename="logger.cpp" line="142"/>
<source>Error write json</source>
<translation>Ошибка записи json</translation>
</message>
<message>
<location filename="logger.cpp" line="148"/>
<source>Stop write json file</source>
<translation>Стоп записи json файла</translation>
</message>
</context>
<context>
<name>MainWindow</name>
<message>
<location filename="mainwindow.ui" line="20"/>
<source>etrodiag</source>
<translation></translation>
</message>
<message>
<location filename="mainwindow.ui" line="55"/>
<source>Connection</source>
<translation>Соединение</translation>
</message>
<message>
<location filename="mainwindow.ui" line="61"/>
<source>Profile setting</source>
<translation>Настройка профиля</translation>
</message>
<message>
<location filename="mainwindow.ui" line="117"/>
<source>Log</source>
<translation>Мониторинг</translation>
</message>
<message>
<location filename="mainwindow.ui" line="135"/>
<source>Graph here</source>
<translation></translation>
</message>
<message>
<location filename="mainwindow.ui" line="177"/>
<source>About</source>
<translation>О программе</translation>
</message>
<message>
<location filename="mainwindow.ui" line="222"/>
<source>aboutimg</source>
<translation></translation>
</message>
<message>
<location filename="mainwindow.ui" line="358"/>
<source><!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN" "http://www.w3.org/TR/REC-html40/strict.dtd">
<html><head><meta name="qrichtext" content="1" /><style type="text/css">
p, li { white-space: pre-wrap; }
</style></head><body style=" font-family:'MS Shell Dlg 2'; font-size:8pt; font-weight:400; font-style:normal;">
<p align="center" style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" font-size:20pt; font-weight:600;">etrodiag</span></p>
<p align="center" style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" font-weight:600;">Tool for monitoring data change between devices</span></p>
<p align="center" style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><a href="https://github.com/nghtsnw/etrodiag"><span style=" text-decoration: underline; color:#0000ff;">Project page on GitHub</span></a></p>
<p align="center" style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;">Maked on parts Qt &quot;Terminal&quot; example</p>
<p align="center" style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><a href="https://github.com/nghtsnw"><span style=" text-decoration: underline; color:#0000ff;">Ilia Kiiashko</span></a></p>
<p align="center" style="-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><br /></p>
<p align="center" style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;">Thanks:</p>
<p align="center" style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><a href="https://github.com/gmoximko"><span style=" text-decoration: underline; color:#0000ff;">Max Bakirov</span></a></p>
<p align="center" style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;">Alexey Borzenkov</p></body></html></source>
<translation><!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN" "http://www.w3.org/TR/REC-html40/strict.dtd">
<html><head><meta name="qrichtext" content="1" /><style type="text/css">
p, li { white-space: pre-wrap; }
</style></head><body style=" font-family:'MS Shell Dlg 2'; font-size:8.25pt; font-weight:400; font-style:normal;">
<p align="center" style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" font-size:20pt; font-weight:600;">etrodiag</span></p>
<p align="center" style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" font-size:8pt; font-weight:600;">Инструмент для мониторинга обмена информацией между устройствами</span></p>
<p align="center" style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><a href="https://github.com/nghtsnw/etrodiag"><span style=" font-size:8pt; text-decoration: underline; color:#0000ff;">Страница проекта на GitHub</span></a></p>
<p align="center" style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" font-size:8pt;">Сделано с использованием кода примера программы &quot;Terminal&quot; из состава Qt</span></p>
<p align="center" style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><a href="https://github.com/nghtsnw"><span style=" font-size:8pt; text-decoration: underline; color:#0000ff;">Илья Кияшко</span></a></p>
<p align="center" style="-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; font-size:8pt;"><br /></p>
<p align="center" style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" font-size:8pt;">Спасибо:</span></p>
<p align="center" style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><a href="https://github.com/gmoximko"><span style=" font-size:8pt; text-decoration: underline; color:#0000ff;">Максим Бакиров</span></a></p>
<p align="center" style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" font-size:8pt;">Алексей Борзенков</span></p></body></html></translation>
</message>
<message>
<location filename="mainwindow.ui" line="467"/>
<source><!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN" "http://www.w3.org/TR/REC-html40/strict.dtd">
<html><head><meta name="qrichtext" content="1" /><style type="text/css">
p, li { white-space: pre-wrap; }
</style></head><body style=" font-family:'MS Shell Dlg 2'; font-size:12pt; font-weight:400; font-style:normal;">
<h4 style=" margin-top:12px; margin-bottom:12px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" font-size:medium; font-weight:600;">Welcome to etrodiag!</span></h4>
<p style=" margin-top:12px; margin-bottom:12px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><br />The program is designed to monitor and diagnose the network of devices whose data exchange protocol is an alternate broadcast to the common data exchange line of packets with a fixed size of 40 bytes, of which bytes 0 and 1 are FF, byte 2 is the device number.<br />It allows online monitoring of changes in the parameters of each device on a graph and in text form with time stamps.</p>
<h4 style=" margin-top:12px; margin-bottom:12px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" font-size:medium; font-weight:600;">How the program works</span></h4>
<p style=" margin-top:12px; margin-bottom:12px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;">Separate device data packets are generated from a continuous stream of raw data. Packets start with two bytes containing FF, have a pre-known length of 40 bytes, and after counting the number of bytes in the packet, the next two bytes must be FF, which means the beginning of the next packet. In this case, the data packet is recognized as correct and sent for further processing. In the graphical interface, the button of the device corresponding to the device number from the package appears, in the future, all packets with this device number are processed by data masks of this device, giving changes to parameters and values in text or graphic form.</p>
<h4 style=" margin-top:12px; margin-bottom:12px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" font-size:medium; font-weight:600;">Getting started</span></h4>
<p style=" margin-top:12px; margin-bottom:12px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;">Immediately after starting the program, the connection setup dialog opens on the &quot;Connection&quot; tab. In this dialog, the data source is set-com port or binary file, connection parameters with the data source, in what form to write a log-binary file, json and text, create or select a device network profile. If the &quot;Read-only&quot; checkbox is selected, all mask changes will not be saved in the profile. After clicking the &quot;Apply&quot; button, the dialog closes. The console and the &quot;Setup&quot; and &quot;Connect&quot; buttons are displayed. When you click the Connect button, a connection is made to the data source. If the connection is correct, data in hex format starts appearing in the console.<br />On the &quot;Profile Settings&quot; tab, a button appears with the device number taken from the second byte of the package.Clicking on the device button opens a dialog that displays the device name input field and 40 buttons that visualize each byte of the package. When a byte is changed, the button is briefly highlighted in green. Since some device variables can be not only 8 bits, but also 16 and 32, bytes can be combined into words. In this case, the high byte button displays all the data of the word in hex form, the low byte buttons of the word are inactive and indicated by the arrow &quot;--&gt;&quot;. If there is at least one mask in the word, then the word size cannot be changed.<br />Clicking the byte/word button opens a dialog with a list of masks. Masks allow you to correlate changes to specific bytes of a word with a specific parameter or value of a device variable. Masks are also the source of parameter-value data displayed in text form or in the form of a graph.<br />By adding a new mask, or selecting an existing one, you can set the processed data bytes, the multiplier and shift of the final value, the output of the value in the log or on the graph, the color of the curve on the graph.Pressing the device button returns to the previous dialog. When you exit the device settings dialog, if the &quot;Read-only&quot; option is unchecked in the connection settings, the profile is saved with the corresponding line displayed in the text log.<br />On the &quot;Profile Settings&quot; tab, devices are displayed on the left side, and on the right side of the tab of each of the devices with the available parameter masks and their current values. When the value is changed, its designation in the line is highlighted in green. The &quot;Monitoring&quot; tab displays a graph of the process of changing the selected parameters and a text log. The graph allows you to record the minima and maxima of values since the beginning of the reference of these values. These values are reset by double-clicking on the chart with the left mouse button.</p></body></html></source>
<translation><h4>Добро пожаловать в etrodiag!</h4>
<p><br />Программа предназначена для контроля и диагностики сети устройств, протокол обмена данными которых представляет собой поочерёдное вещание в общую линию обмена данными пакетов с фиксированным размером в 40 байт, из которых байты 0 и 1 это FF, байт 2 номер устройства.<br />Она позволяет в режиме онлайн наблюдать за изменением параметров каждого из устройств на графике и в текстовом виде с отметками времени.</p>
<h4>Принцип работы программы</h4>
<p>Из непрерывного потока сырых данных формируются отдельные пакеты данных устройства. Начинаются пакеты с двух байт содержащих FF, имеют заранее известную длину в 40 байт, и после отсчёта количества байт в пакете, следующие два байта должны быть FF, что означает начало следующего пакета. В этом случае пакет данных признаётся корректным и отправляется на дальнейшую обработку. В графическом интерфейсе появляется кнопка устройства соответствующего номеру устройства из пакета, в дальнейшем все пакеты с этим номером устройства обрабатываются масками данных этого устройства, выдавая изменения параметров и значений в текстовом или графическом виде.</p>
<h4>Начало работы</h4>
<p>Сразу после запуска программы открывается диалог установки соединения на вкладке "Соединение". В этом диалоге устанавливается источник данных - com порт или бинарный файл, параметры соединения с источником данных, в каком виде писать лог - бинарный файл, json и текст, создать или выбрать профиль сети устройств. При установленной галке "Только для чтения" все изменения масок не будут сохранены в профиле. После нажатия кнопки "Применить" диалог закрывается. Отображается консоль и кнопки "Настройка" и "Соединить". При нажатии кнопки "Соединить" происходит соединение с источником данных. При корректном соединении в консоли начинают появляться данные в hex виде.<br />На вкладке "Настройки профиля" появляется кнопка с номером устройства взятого из второго байта посылки.<br />Нажав на кнопку устройства открывается диалог отображающий поле ввода имени устройства и 40 кнопок визуализирующих каждый байт посылки. При изменении байта кнопка кратковременно подсвечивается зелёным цветом. Так как некоторые переменные устройств могут быть не только 8 бит, но так-же 16 и 32, байты можно объединять в слова. В этом случае в кнопке старшего байта отображаются все данные слова в hex виде, кнопки младших байт слова неактивны и обозначены стрелкой "-->;". Если в слове имеется хотя-бы одна маска то размер слова изменить нельзя.<br />При нажатии кнопки байта/слова открывается диалог со списком масок. Маски позволяют соотносить изменения определённых байт слова с определённым параметром или значением переменной устройства. Маски же и являются источником данных "параметр-значение" отображаемых в текстовом виде или в виде графика.<br />Добавив новую маску, или выбрав уже имеющуюся, можно установить обрабатываемые байты данных, множитель и сдвиг конечного значения, вывод значения в лог или на графике, цвет кривой на графике.<br />Нажатие кнопки устройства возвращает на предыдущий диалог. При выходе из диалога настроек устройства, при условии снятой галки параметра "Только для чтения" в настройках соединения, происходит сохранение профиля с отображением соответствующей строки в текстовом логе.<br />На вкладке "Настройки профиля" с левой стороны отображаются устройства, с правой стороны вкладки каждого из устройств с имеющимися масками параметров и их текущими значениями. При изменении значения, его обозначение в строке подсвечивается зелёным цветом. На вкладке "Мониторинг" отображется график процесса изменения выбранных параметров и текстовый лог. График позволяет фиксировать минимумы и максимумы значений с момента начала отсчёта этих значений. Сброс этих значений происходит двойным щелчком левой кнопкой мыши по графику.</p></translation>
</message>
<message>
<source><!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN" "http://www.w3.org/TR/REC-html40/strict.dtd">
<html><head><meta name="qrichtext" content="1" /><style type="text/css">
p, li { white-space: pre-wrap; }
</style></head><body style=" font-family:'MS Shell Dlg 2'; font-size:12pt; font-weight:400; font-style:normal;">
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" font-size:10pt;">Welcome to etrodiag!</span></p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" font-size:10pt;">The program is designed to monitor and diagnose the network of devices whose data exchange protocol is an alternate broadcast to the common data exchange line of packets with a fixed size of 40 bytes, of which bytes 0 and 1 are FF, byte 2 is the device number.</span></p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" font-size:10pt;">It allows online monitoring of changes in the parameters of each device on a graph and in text form with time stamps.</span></p>
<p style="-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; font-size:10pt;"><br /></p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" font-size:10pt;">How the program works.</span></p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" font-size:10pt;">Separate device data packets are generated from a continuous stream of raw data. Packets start with two bytes containing FF, have a pre-known length of 40 bytes, and after counting the number of bytes in the packet, the next two bytes must be FF, which means the beginning of the next packet. In this case, the data packet is recognized as correct and sent for further processing. In the graphical interface, the button of the device corresponding to the device number from the package appears, in the future all packets with this device number are processed by data masks of this device, giving changes to parameters and values in text or graphic form.</span></p>
<p style="-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; font-size:10pt;"><br /></p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" font-size:10pt;">Getting started.</span></p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" font-size:10pt;">Immediately after starting the program, the connection setup dialog opens on the &quot;Connection&quot; tab. In this dialog, the data source is set-com port or binary file, connection parameters with the data source, in what form to write a log-binary file, json and text, create or select a device network profile. If the &quot;Read-only&quot; checkbox is selected, all mask changes will not be saved in the profile. After clicking the &quot;Apply&quot; button, the dialog closes. The console and the &quot;Setup&quot; and &quot;Connect&quot; buttons are displayed. When you click the Connect button, a connection is made to the data source. When the connection is correct, data in hex format starts appearing in the console.</span></p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" font-size:10pt;">On the &quot;Profile Settings&quot; tab, a button appears with the device number taken from the second byte of the package.</span></p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" font-size:10pt;">Clicking on the device button opens a dialog that displays the device name input field and 40 buttons that visualize each byte of the package. When a byte is changed, the button is briefly highlighted in green. Since some device variables can be not only 8 bits, but also 16 and 32, bytes can be combined into words. In this case, the high byte button displays all the data of the word in hex form, the low byte buttons of the word are inactive and indicated by the arrow&quot; - - -&gt;&quot;. If there is at least one mask in the word, then the word size cannot be changed.</span></p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" font-size:10pt;">Clicking the byte/word button opens a dialog with a list of masks. Masks allow you to correlate changes to specific bytes of a word with a specific parameter or value of a device variable. Masks are also the source of parameter-value data displayed in text form or in the form of a graph.</span></p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" font-size:10pt;">By adding a new mask, or selecting an existing one, you can set the processed data bytes, the multiplier and shift of the final value, the output of the value in the log or on the graph, the color of the curve on the graph.</span></p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" font-size:10pt;">Pressing the device button returns to the previous dialog. When you exit the device settings dialog, if the &quot;Read-only&quot; option is unchecked in the connection settings, the profile is saved with the corresponding line displayed in the text log.</span></p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" font-size:10pt;">On the &quot;Profile Settings&quot; tab, devices are displayed on the left side, and on the right side of the tab of each of the devices with the available parameter masks and their current values. When the value is changed, its designation in the line is highlighted in green. The &quot;Monitoring&quot; tab displays a graph of the process of changing the selected parameters and a text log. The graph allows you to record the minima and maxima of values since the beginning of the reference of these values. These values are reset by double-clicking on the chart with the left mouse button.</span></p></body></html></source>
<translation type="vanished"><h4>Добро пожаловать в etrodiag!</h4>
<p><br />Программа предназначена для контроля и диагностики сети устройств, протокол обмена данными которых представляет собой поочерёдное вещание в общую линию обмена данными пакетов с фиксированным размером в 40 байт, из которых байты 0 и 1 это FF, байт 2 номер устройства.<br />Она позволяет в режиме онлайн наблюдать за изменением параметров каждого из устройств на графике и в текстовом виде с отметками времени.</p>
<h4>Принцип работы программы</h4>
<p>Из непрерывного потока сырых данных формируются отдельные пакеты данных устройства. Начинаются пакеты с двух байт содержащих FF, имеют заранее известную длину в 40 байт, и после отсчёта количества байт в пакете, следующие два байта должны быть FF, что означает начало следующего пакета. В этом случае пакет данных признаётся корректным и отправляется на дальнейшую обработку. В графическом интерфейсе появляется кнопка устройства соответствующего номеру устройства из пакета, в дальнейшем все пакеты с этим номером устройства обрабатываются масками данных этого устройства, выдавая изменения параметров и значений в текстовом или графическом виде.</p>
<h4>Начало работы</h4>
<p>Сразу после запуска программы открывается диалог установки соединения на вкладке "Соединение". В этом диалоге устанавливается источник данных - com порт или бинарный файл, параметры соединения с источником данных, в каком виде писать лог - бинарный файл, json и текст, создать или выбрать профиль сети устройств. При установленной галке "Только для чтения" все изменения масок не будут сохранены в профиле. После нажатия кнопки "Применить" диалог закрывается. Отображается консоль и кнопки "Настройка" и "Соединить". При нажатии кнопки "Соединить" происходит соединение с источником данных. При корректном соединении в консоли начинают появляться данные в hex виде.<br />На вкладке "Настройки профиля" появляется кнопка с номером устройства взятого из второго байта посылки.<br />Нажав на кнопку устройства открывается диалог отображающий поле ввода имени устройства и 40 кнопок визуализирующих каждый байт посылки. При изменении байта кнопка кратковременно подсвечивается зелёным цветом. Так как некоторые переменные устройств могут быть не только 8 бит, но так-же 16 и 32, байты можно объединять в слова. В этом случае в кнопке старшего байта отображаются все данные слова в hex виде, кнопки младших байт слова неактивны и обозначены стрелкой "---&gt;". Если в слове имеется хотя-бы одна маска то размер слова изменить нельзя.<br />При нажатии кнопки байта/слова открывается диалог со списком масок. Маски позволяют соотносить изменения определённых байт слова с определённым параметром или значением переменной устройства. Маски же и являются источником данных "параметр-значение" отображаемых в текстовом виде или в виде графика.<br />Добавив новую маску, или выбрав уже имеющуюся, можно установить обрабатываемые байты данных, множитель и сдвиг конечного значения, вывод значения в лог или на графике, цвет кривой на графике.<br />Нажатие кнопки устройства возвращает на предыдущий диалог. При выходе из диалога настроек устройства, при условии снятой галки параметра "Только для чтения" в настройках соединения, происходит сохранение профиля с отображением соответствующей строки в текстовом логе.<br />На вкладке "Настройки профиля" с левой стороны отображаются устройства, с правой стороны вкладки каждого из устройств с имеющимися масками параметров и их текущими значениями. При изменении значения, его обозначение в строке подсвечивается зелёным цветом. На вкладке "Мониторинг" отображется график процесса изменения выбранных параметров и текстовый лог. График позволяет фиксировать минимумы и максимумы значений с момента начала отсчёта этих значений. Сброс этих значений происходит двойным щелчком левой кнопкой мыши по графику.</p></translation>
</message>
<message>
<source><!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN" "http://www.w3.org/TR/REC-html40/strict.dtd">
<html><head><meta name="qrichtext" content="1" /><style type="text/css">
p, li { white-space: pre-wrap; }
</style></head><body style=" font-family:'MS Shell Dlg 2'; font-size:8.25pt; font-weight:400; font-style:normal;">
<p align="center" style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" font-size:20pt; font-weight:600;">etrodiag</span></p>
<p align="center" style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" font-size:8pt; font-weight:600;">Tool for parce messages from microcontrollers network to human view</span></p>
<p align="center" style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><a href="https://github.com/nghtsnw/etrodiag"><span style=" font-size:8pt; text-decoration: underline; color:#0000ff;">Project page on GitHub</span></a></p>
<p align="center" style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" font-size:8pt;">Maked on parts Qt &quot;Terminal&quot; example</span></p>
<p align="center" style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><a href="https://github.com/nghtsnw"><span style=" font-size:8pt; text-decoration: underline; color:#0000ff;">Ilia Kiiashko</span></a></p>
<p align="center" style="-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; font-size:8pt;"><br /></p>
<p align="center" style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" font-size:8pt;">Thanks:</span></p>
<p align="center" style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><a href="https://github.com/gmoximko"><span style=" font-size:8pt; text-decoration: underline; color:#0000ff;">Max Bakirov</span></a></p>
<p align="center" style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" font-size:8pt;">Alexey Borzenkov</span></p></body></html></source>
<translation type="vanished"><!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN" "http://www.w3.org/TR/REC-html40/strict.dtd">
<html><head><meta name="qrichtext" content="1" /><style type="text/css">
p, li { white-space: pre-wrap; }
</style></head><body style=" font-family:'MS Shell Dlg 2'; font-size:8.25pt; font-weight:400; font-style:normal;">
<p align="center" style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" font-size:20pt; font-weight:600;">etrodiag</span></p>
<p align="center" style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" font-size:8pt; font-weight:600;">Инструмент для мониторинга обмена информацией между устройствами</span></p>
<p align="center" style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><a href="https://github.com/nghtsnw/etrodiag"><span style=" font-size:8pt; text-decoration: underline; color:#0000ff;">Страница проекта на GitHub</span></a></p>
<p align="center" style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" font-size:8pt;">Сделано с использованием кода примера программы &quot;Terminal&quot; из состава Qt</span></p>
<p align="center" style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><a href="https://github.com/nghtsnw"><span style=" font-size:8pt; text-decoration: underline; color:#0000ff;">Илья Кияшко</span></a></p>
<p align="center" style="-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; font-size:8pt;"><br /></p>
<p align="center" style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" font-size:8pt;">Спасибо:</span></p>
<p align="center" style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><a href="https://github.com/gmoximko"><span style=" font-size:8pt; text-decoration: underline; color:#0000ff;">Максим Бакиров</span></a></p>
<p align="center" style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" font-size:8pt;">Алексей Борзенков</span></p></body></html></translation>
</message>
<message>
<source>Start write log file </source>
<translation type="obsolete">Начата запись лог файла </translation>
</message>
<message>
<source>Error write log</source>
<translation type="vanished">Ошибка записи лога</translation>
</message>
<message>
<source>Stop write log file</source>
<translation type="vanished">Стоп записи лог файла</translation>
</message>
<message>
<source>Start write json file </source>
<translation type="vanished">Старт записи JSON файла </translation>
</message>
<message>
<source>Error write json</source>
<translation type="vanished">Ошибка записи JSON</translation>
</message>
<message>
<source>Stop write json file</source>
<translation type="vanished">Стоп записи JSON файла</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="396"/>
<source>Device %1 is %2</source>
<translation>Устройство %1 %2</translation>
</message>
</context>
<context>
<name>SettingsDialog</name>
<message>
<location filename="settingsdialog.ui" line="14"/>
<source>Settings</source>
<translation>Настройки</translation>
</message>
<message>
<location filename="settingsdialog.ui" line="41"/>
<source>Apply</source>
<translation>Применить</translation>
</message>
<message>
<location filename="settingsdialog.ui" line="56"/>
<source>Select Profile</source>
<translation>Выбор профиля</translation>
</message>
<message>
<location filename="settingsdialog.ui" line="62"/>
<source>Create new profile</source>
<translation>Создать новый профиль</translation>
</message>
<message>
<location filename="settingsdialog.ui" line="69"/>
<source>Delete selected profile</source>
<translation>Удалить выбранный профиль</translation>
</message>
<message>
<location filename="settingsdialog.ui" line="92"/>
<source>Read only</source>
<translation>Только для чтения</translation>
</message>
<message>
<location filename="settingsdialog.ui" line="105"/>
<source>Select Serial Port</source>
<translation>Выбор источника данных</translation>
</message>
<message>
<location filename="settingsdialog.ui" line="114"/>
<source>Description:</source>
<translation>Описание:</translation>
</message>
<message>
<location filename="settingsdialog.ui" line="121"/>
<source>Manufacturer:</source>
<translation>Производитель:</translation>
</message>
<message>
<location filename="settingsdialog.ui" line="128"/>
<source>Serial number:</source>
<translation>Серийный номер:</translation>
</message>
<message>
<location filename="settingsdialog.ui" line="135"/>
<source>Location:</source>
<translation>Местоположение:</translation>
</message>
<message>
<location filename="settingsdialog.ui" line="142"/>
<source>Vendor ID:</source>
<translation>ID производителя:</translation>
</message>
<message>
<location filename="settingsdialog.ui" line="149"/>
<source>Product ID:</source>
<translation>ID продукта:</translation>
</message>
<message>
<location filename="settingsdialog.ui" line="159"/>
<source>Select Parameters</source>
<translation>Выбор параметров</translation>
</message>
<message>
<location filename="settingsdialog.ui" line="165"/>
<source>BaudRate:</source>
<translation>Битрейт:</translation>
</message>
<message>
<location filename="settingsdialog.ui" line="175"/>
<source>Data bits:</source>
<translation>Биты данных:</translation>
</message>
<message>
<location filename="settingsdialog.ui" line="185"/>
<source>Parity:</source>
<translation>Чётность:</translation>
</message>
<message>
<location filename="settingsdialog.ui" line="195"/>
<source>Stop bits:</source>
<translation>Стоп бит:</translation>
</message>
<message>
<location filename="settingsdialog.ui" line="205"/>
<source>Flow control:</source>
<translation>Контроль потока:</translation>
</message>
<message>
<location filename="settingsdialog.ui" line="218"/>
<source>Select Logging</source>
<translation>Выбор записи логов</translation>
</message>
<message>
<location filename="settingsdialog.ui" line="224"/>
<source>Write text log</source>
<translation>Текст</translation>
</message>
<message>
<location filename="settingsdialog.ui" line="231"/>
<source>Write binary data</source>
<translation>Сырые данные</translation>
</message>
<message>
<location filename="settingsdialog.ui" line="238"/>
<source>Write json log</source>
<translation>JSON</translation>
</message>
<message>
<location filename="settingsdialog.cpp" line="13"/>
<source>N/A</source>
<translation></translation>
</message>
<message>
<location filename="settingsdialog.cpp" line="63"/>
<source>Description: %1</source>
<translation>Описание: %1</translation>
</message>
<message>
<location filename="settingsdialog.cpp" line="64"/>
<source>Manufacturer: %1</source>
<translation>Производитель: %1</translation>
</message>
<message>
<location filename="settingsdialog.cpp" line="65"/>
<source>Serial number: %1</source>
<translation>Серийный номер: %1</translation>
</message>
<message>
<location filename="settingsdialog.cpp" line="66"/>
<source>Location: %1</source>
<translation>Местоположение: %1</translation>
</message>
<message>
<location filename="settingsdialog.cpp" line="67"/>
<source>Vendor Identifier: %1</source>
<translation>ID производителя: %1</translation>
</message>
<message>
<location filename="settingsdialog.cpp" line="68"/>
<source>Product Identifier: %1</source>
<translation>ID продукта: %1</translation>
</message>
<message>
<location filename="settingsdialog.cpp" line="106"/>
<source>Open binary data file</source>
<translation>Открыть файл с сырыми данными</translation>
</message>
<message>
<location filename="settingsdialog.cpp" line="106"/>
<source>Binary data (*.bin)</source>
<translation>Сырые данные (*.bin)</translation>
</message>
<message>
<location filename="settingsdialog.cpp" line="100"/>
<location filename="settingsdialog.cpp" line="123"/>
<location filename="settingsdialog.cpp" line="171"/>
<source>Custom</source>
<translation>Ручной ввод</translation>
</message>
<message>
<location filename="settingsdialog.cpp" line="131"/>
<location filename="settingsdialog.cpp" line="143"/>
<source>None</source>
<translation>Нет</translation>
</message>
<message>
<location filename="settingsdialog.cpp" line="132"/>
<source>Even</source>
<translation></translation>
</message>
<message>
<location filename="settingsdialog.cpp" line="133"/>
<source>Odd</source>
<translation></translation>
</message>
<message>
<location filename="settingsdialog.cpp" line="134"/>
<source>Mark</source>
<translation></translation>
</message>
<message>
<location filename="settingsdialog.cpp" line="135"/>
<source>Space</source>
<translation></translation>
</message>
<message>
<location filename="settingsdialog.cpp" line="139"/>
<source>1.5</source>
<translation></translation>
</message>
<message>
<location filename="settingsdialog.cpp" line="144"/>
<source>RTS/CTS</source>
<translation></translation>
</message>
<message>
<location filename="settingsdialog.cpp" line="145"/>
<source>XON/XOFF</source>
<translation></translation>
</message>
<message>
<location filename="settingsdialog.cpp" line="103"/>
<location filename="settingsdialog.cpp" line="172"/>
<source>Read from file</source>
<translation>Читать из файла</translation>
</message>
<message>
<location filename="settingsdialog.cpp" line="244"/>
<source>newprofile</source>
<translation>Новый профиль</translation>
</message>
<message>
<location filename="settingsdialog.cpp" line="247"/>
<source>Enter profile name</source>
<translation>Введите имя профиля</translation>
</message>
</context>
<context>
<name>bitSetForm</name>
<message>
<location filename="bitsetform.ui" line="26"/>
<source>Form</source>
<translation></translation>
</message>
<message>
<location filename="bitsetform.ui" line="62"/>
<source>0</source>
<translation></translation>
</message>
<message>
<location filename="bitsetform.ui" line="99"/>
<source>00</source>
<translation></translation>
</message>
</context>
<context>
<name>devSettingsForm</name>
<message>
<location filename="devsettingsform.ui" line="14"/>
<source>Form</source>
<translation></translation>
</message>
<message>
<location filename="devsettingsform.ui" line="29"/>
<source>Input device name here</source>
<translation>Введите имя устройства</translation>
</message>
</context>
<context>
<name>liveGraph</name>
<message>
<location filename="livegraph.ui" line="14"/>
<source>Form</source>
<translation></translation>
</message>
</context>
<context>
<name>maskSettingsDialog</name>
<message>
<location filename="masksettingsdialog.ui" line="20"/>
<source>Dialog</source>
<translation></translation>
</message>
<message>
<location filename="masksettingsdialog.ui" line="34"/>
<source>View change to main log</source>
<translation>Показывать изменения в лог</translation>
</message>
<message>
<location filename="masksettingsdialog.ui" line="41"/>
<source>Draw a graph</source>
<translation>Рисовать на графике</translation>
</message>
<message>
<location filename="masksettingsdialog.ui" line="56"/>
<source>NumBox</source>
<translation>Обработка значения</translation>
</message>
<message>
<location filename="masksettingsdialog.ui" line="62"/>
<source>Decimal integer</source>
<translation>Десятичное значение</translation>
</message>
<message>
<location filename="masksettingsdialog.ui" line="69"/>
<source>Shift</source>
<translation>Сдвиг</translation>
</message>
<message>
<location filename="masksettingsdialog.ui" line="79"/>
<source>*K</source>
<translation>Множитель</translation>
</message>
<message>
<location filename="masksettingsdialog.ui" line="89"/>
<source><waiting new data...></source>
<translation><ожидание новых данных...></translation>
</message>
<message>
<location filename="masksettingsdialog.ui" line="99"/>
<source>Uncheck all</source>
<translation>Снять всё</translation>
</message>
<message>
<location filename="masksettingsdialog.ui" line="106"/>
<source>Check all</source>
<translation>Выбрать всё</translation>
</message>
<message>
<location filename="masksettingsdialog.ui" line="119"/>
<source>BitBox</source>
<translation>Выбор бит</translation>
</message>
<message>
<location filename="masksettingsdialog.ui" line="137"/>
<source>wordInfoLabel</source>
<translation></translation>
</message>
</context>
<context>
<name>newconnect</name>
<message>
<location filename="newconnect.ui" line="26"/>
<source>Form</source>
<translation></translation>
</message>
<message>
<location filename="newconnect.ui" line="46"/>
<source>Settings</source>
<translation>Настройки соединения</translation>
</message>
<message>
<location filename="newconnect.ui" line="62"/>
<location filename="newconnect.cpp" line="191"/>
<source>Connect</source>
<translation>Соединить</translation>
</message>
<message>
<location filename="newconnect.cpp" line="80"/>
<source>Bufferisation...</source>
<translation>Буферизация...</translation>
</message>
<message>
<location filename="newconnect.cpp" line="94"/>
<source>Read file %1</source>
<translation>Чтение файла %1</translation>
</message>
<message>
<location filename="newconnect.cpp" line="108"/>
<source>Connected to %1 : %2, %3, %4, %5, %6, %7</source>
<translation>Соединено с %1 : %2, %3, %4, %5, %6, %7</translation>
</message>
<message>
<location filename="newconnect.cpp" line="112"/>
<source>Error</source>
<translation>Ошибка</translation>
</message>
<message>
<location filename="newconnect.cpp" line="113"/>
<source>Open error</source>
<translation>Ошибка открытия</translation>
</message>
<message>
<location filename="newconnect.cpp" line="128"/>
<source>End of file</source>
<translation>Конец файла</translation>
</message>
<message>
<location filename="newconnect.cpp" line="139"/>
<source>Disconnected</source>
<translation>Соединение закрыто</translation>
</message>
<message>
<source>Start write log file </source>
<translation type="vanished">Начата запись лог файла </translation>
</message>
<message>
<source>Error write bin</source>
<translation type="vanished">Ошибка записи bin файла</translation>
</message>
<message>
<source>Stop write bin file</source>
<translation type="vanished">Стоп записи bin файла</translation>
</message>
<message>
<location filename="newconnect.cpp" line="172"/>
<source>Critical Error</source>
<translation>Критическая ошибка</translation>
</message>
<message>
<location filename="newconnect.cpp" line="192"/>
<source>Connection closed</source>
<translation>Соединение закрыто</translation>
</message>
<message>
<location filename="newconnect.cpp" line="204"/>
<source>Disconnect</source>
<translation>Разъединить</translation>
</message>
</context>
</TS>