|
|
@ -2,9 +2,17 @@
|
|
|
|
<!-- Generated with glade 3.40.0 -->
|
|
|
|
<!-- Generated with glade 3.40.0 -->
|
|
|
|
<interface>
|
|
|
|
<interface>
|
|
|
|
<requires lib="gtk+" version="3.24"/>
|
|
|
|
<requires lib="gtk+" version="3.24"/>
|
|
|
|
|
|
|
|
<object class="GtkEntryBuffer" id="entrybuffer_numbers">
|
|
|
|
|
|
|
|
<property name="text" translatable="yes">16</property>
|
|
|
|
|
|
|
|
</object>
|
|
|
|
|
|
|
|
<object class="GtkEntryBuffer" id="entrybuffer_offset"/>
|
|
|
|
|
|
|
|
<object class="GtkEntryBuffer" id="entrybuffer_unitid">
|
|
|
|
|
|
|
|
<property name="text" translatable="yes">255</property>
|
|
|
|
|
|
|
|
</object>
|
|
|
|
<object class="GtkWindow" id="testmodbus-client">
|
|
|
|
<object class="GtkWindow" id="testmodbus-client">
|
|
|
|
<property name="can-focus">False</property>
|
|
|
|
<property name="can-focus">False</property>
|
|
|
|
<signal name="destroy" handler="gtk_main_quit" swapped="no"/>
|
|
|
|
<signal name="destroy" handler="gtk_main_quit" swapped="no"/>
|
|
|
|
|
|
|
|
<signal name="show" handler="mbcli_cb_show" swapped="no"/>
|
|
|
|
<child>
|
|
|
|
<child>
|
|
|
|
<object class="GtkBox">
|
|
|
|
<object class="GtkBox">
|
|
|
|
<property name="visible">True</property>
|
|
|
|
<property name="visible">True</property>
|
|
|
@ -128,7 +136,7 @@
|
|
|
|
</packing>
|
|
|
|
</packing>
|
|
|
|
</child>
|
|
|
|
</child>
|
|
|
|
<child>
|
|
|
|
<child>
|
|
|
|
<object class="GtkEntry">
|
|
|
|
<object class="GtkEntry" id="cli_refreshtime">
|
|
|
|
<property name="visible">True</property>
|
|
|
|
<property name="visible">True</property>
|
|
|
|
<property name="can-focus">True</property>
|
|
|
|
<property name="can-focus">True</property>
|
|
|
|
<property name="width-chars">4</property>
|
|
|
|
<property name="width-chars">4</property>
|
|
|
@ -209,19 +217,64 @@
|
|
|
|
</packing>
|
|
|
|
</packing>
|
|
|
|
</child>
|
|
|
|
</child>
|
|
|
|
<child>
|
|
|
|
<child>
|
|
|
|
<object class="GtkLabel" id="cli_statusbar">
|
|
|
|
<object class="GtkBox">
|
|
|
|
<property name="visible">True</property>
|
|
|
|
<property name="visible">True</property>
|
|
|
|
<property name="can-focus">False</property>
|
|
|
|
<property name="can-focus">False</property>
|
|
|
|
<property name="margin-left">8</property>
|
|
|
|
<child>
|
|
|
|
<property name="margin-right">8</property>
|
|
|
|
<object class="GtkLabel" id="cli_statusbar">
|
|
|
|
<property name="margin-start">8</property>
|
|
|
|
<property name="visible">True</property>
|
|
|
|
<property name="margin-end">8</property>
|
|
|
|
<property name="can-focus">False</property>
|
|
|
|
<property name="margin-top">8</property>
|
|
|
|
<property name="margin-left">8</property>
|
|
|
|
<property name="margin-bottom">8</property>
|
|
|
|
<property name="margin-right">8</property>
|
|
|
|
<attributes>
|
|
|
|
<property name="margin-start">8</property>
|
|
|
|
<attribute name="style" value="normal"/>
|
|
|
|
<property name="margin-end">8</property>
|
|
|
|
<attribute name="weight" value="bold"/>
|
|
|
|
<property name="margin-top">8</property>
|
|
|
|
</attributes>
|
|
|
|
<property name="margin-bottom">8</property>
|
|
|
|
|
|
|
|
<attributes>
|
|
|
|
|
|
|
|
<attribute name="style" value="normal"/>
|
|
|
|
|
|
|
|
<attribute name="weight" value="bold"/>
|
|
|
|
|
|
|
|
</attributes>
|
|
|
|
|
|
|
|
</object>
|
|
|
|
|
|
|
|
<packing>
|
|
|
|
|
|
|
|
<property name="expand">True</property>
|
|
|
|
|
|
|
|
<property name="fill">True</property>
|
|
|
|
|
|
|
|
<property name="position">0</property>
|
|
|
|
|
|
|
|
</packing>
|
|
|
|
|
|
|
|
</child>
|
|
|
|
|
|
|
|
<child>
|
|
|
|
|
|
|
|
<object class="GtkLabel" id="cli_rate">
|
|
|
|
|
|
|
|
<property name="visible">True</property>
|
|
|
|
|
|
|
|
<property name="can-focus">False</property>
|
|
|
|
|
|
|
|
<property name="label" translatable="yes">0 / 0</property>
|
|
|
|
|
|
|
|
<attributes>
|
|
|
|
|
|
|
|
<attribute name="weight" value="bold"/>
|
|
|
|
|
|
|
|
</attributes>
|
|
|
|
|
|
|
|
</object>
|
|
|
|
|
|
|
|
<packing>
|
|
|
|
|
|
|
|
<property name="expand">False</property>
|
|
|
|
|
|
|
|
<property name="fill">True</property>
|
|
|
|
|
|
|
|
<property name="padding">5</property>
|
|
|
|
|
|
|
|
<property name="pack-type">end</property>
|
|
|
|
|
|
|
|
<property name="position">1</property>
|
|
|
|
|
|
|
|
</packing>
|
|
|
|
|
|
|
|
</child>
|
|
|
|
|
|
|
|
<child>
|
|
|
|
|
|
|
|
<object class="GtkLabel" id="Error / Requests:">
|
|
|
|
|
|
|
|
<property name="visible">True</property>
|
|
|
|
|
|
|
|
<property name="can-focus">False</property>
|
|
|
|
|
|
|
|
<property name="halign">end</property>
|
|
|
|
|
|
|
|
<property name="valign">center</property>
|
|
|
|
|
|
|
|
<property name="label" translatable="yes">Rate
|
|
|
|
|
|
|
|
Errors / Requests:</property>
|
|
|
|
|
|
|
|
</object>
|
|
|
|
|
|
|
|
<packing>
|
|
|
|
|
|
|
|
<property name="expand">False</property>
|
|
|
|
|
|
|
|
<property name="fill">True</property>
|
|
|
|
|
|
|
|
<property name="padding">5</property>
|
|
|
|
|
|
|
|
<property name="pack-type">end</property>
|
|
|
|
|
|
|
|
<property name="position">2</property>
|
|
|
|
|
|
|
|
</packing>
|
|
|
|
|
|
|
|
</child>
|
|
|
|
</object>
|
|
|
|
</object>
|
|
|
|
<packing>
|
|
|
|
<packing>
|
|
|
|
<property name="expand">False</property>
|
|
|
|
<property name="expand">False</property>
|
|
|
@ -340,6 +393,7 @@
|
|
|
|
<property name="can-focus">True</property>
|
|
|
|
<property name="can-focus">True</property>
|
|
|
|
<property name="receives-default">False</property>
|
|
|
|
<property name="receives-default">False</property>
|
|
|
|
<property name="draw-indicator">True</property>
|
|
|
|
<property name="draw-indicator">True</property>
|
|
|
|
|
|
|
|
<signal name="toggled" handler="mbcli_cb_updateread" swapped="no"/>
|
|
|
|
</object>
|
|
|
|
</object>
|
|
|
|
<packing>
|
|
|
|
<packing>
|
|
|
|
<property name="expand">False</property>
|
|
|
|
<property name="expand">False</property>
|
|
|
@ -355,6 +409,7 @@
|
|
|
|
<property name="receives-default">False</property>
|
|
|
|
<property name="receives-default">False</property>
|
|
|
|
<property name="active">True</property>
|
|
|
|
<property name="active">True</property>
|
|
|
|
<property name="draw-indicator">True</property>
|
|
|
|
<property name="draw-indicator">True</property>
|
|
|
|
|
|
|
|
<property name="group">cli_FC1</property>
|
|
|
|
</object>
|
|
|
|
</object>
|
|
|
|
<packing>
|
|
|
|
<packing>
|
|
|
|
<property name="expand">False</property>
|
|
|
|
<property name="expand">False</property>
|
|
|
@ -371,6 +426,7 @@
|
|
|
|
<property name="receives-default">False</property>
|
|
|
|
<property name="receives-default">False</property>
|
|
|
|
<property name="active">True</property>
|
|
|
|
<property name="active">True</property>
|
|
|
|
<property name="draw-indicator">True</property>
|
|
|
|
<property name="draw-indicator">True</property>
|
|
|
|
|
|
|
|
<property name="group">cli_FC1</property>
|
|
|
|
</object>
|
|
|
|
</object>
|
|
|
|
<packing>
|
|
|
|
<packing>
|
|
|
|
<property name="expand">False</property>
|
|
|
|
<property name="expand">False</property>
|
|
|
@ -387,6 +443,7 @@
|
|
|
|
<property name="receives-default">False</property>
|
|
|
|
<property name="receives-default">False</property>
|
|
|
|
<property name="active">True</property>
|
|
|
|
<property name="active">True</property>
|
|
|
|
<property name="draw-indicator">True</property>
|
|
|
|
<property name="draw-indicator">True</property>
|
|
|
|
|
|
|
|
<property name="group">cli_FC1</property>
|
|
|
|
</object>
|
|
|
|
</object>
|
|
|
|
<packing>
|
|
|
|
<packing>
|
|
|
|
<property name="expand">False</property>
|
|
|
|
<property name="expand">False</property>
|
|
|
@ -420,7 +477,7 @@
|
|
|
|
</packing>
|
|
|
|
</packing>
|
|
|
|
</child>
|
|
|
|
</child>
|
|
|
|
<child>
|
|
|
|
<child>
|
|
|
|
<!-- n-columns=4 n-rows=2 -->
|
|
|
|
<!-- n-columns=7 n-rows=2 -->
|
|
|
|
<object class="GtkGrid">
|
|
|
|
<object class="GtkGrid">
|
|
|
|
<property name="visible">True</property>
|
|
|
|
<property name="visible">True</property>
|
|
|
|
<property name="can-focus">False</property>
|
|
|
|
<property name="can-focus">False</property>
|
|
|
@ -430,14 +487,17 @@
|
|
|
|
<property name="row-spacing">4</property>
|
|
|
|
<property name="row-spacing">4</property>
|
|
|
|
<property name="column-spacing">4</property>
|
|
|
|
<property name="column-spacing">4</property>
|
|
|
|
<child>
|
|
|
|
<child>
|
|
|
|
<object class="GtkLabel">
|
|
|
|
<object class="GtkEntry" id="cli_number">
|
|
|
|
<property name="visible">True</property>
|
|
|
|
<property name="visible">True</property>
|
|
|
|
<property name="can-focus">False</property>
|
|
|
|
<property name="can-focus">True</property>
|
|
|
|
<property name="label" translatable="yes">Register / Flag:</property>
|
|
|
|
<property name="buffer">entrybuffer_numbers</property>
|
|
|
|
|
|
|
|
<property name="max-length">5</property>
|
|
|
|
|
|
|
|
<property name="width-chars">5</property>
|
|
|
|
|
|
|
|
<property name="placeholder-text" translatable="yes">16</property>
|
|
|
|
</object>
|
|
|
|
</object>
|
|
|
|
<packing>
|
|
|
|
<packing>
|
|
|
|
<property name="left-attach">0</property>
|
|
|
|
<property name="left-attach">4</property>
|
|
|
|
<property name="top-attach">0</property>
|
|
|
|
<property name="top-attach">1</property>
|
|
|
|
</packing>
|
|
|
|
</packing>
|
|
|
|
</child>
|
|
|
|
</child>
|
|
|
|
<child>
|
|
|
|
<child>
|
|
|
@ -447,32 +507,33 @@
|
|
|
|
<property name="label" translatable="yes">Numbers:</property>
|
|
|
|
<property name="label" translatable="yes">Numbers:</property>
|
|
|
|
</object>
|
|
|
|
</object>
|
|
|
|
<packing>
|
|
|
|
<packing>
|
|
|
|
<property name="left-attach">0</property>
|
|
|
|
<property name="left-attach">3</property>
|
|
|
|
<property name="top-attach">1</property>
|
|
|
|
<property name="top-attach">1</property>
|
|
|
|
</packing>
|
|
|
|
</packing>
|
|
|
|
</child>
|
|
|
|
</child>
|
|
|
|
<child>
|
|
|
|
<child>
|
|
|
|
<object class="GtkEntry">
|
|
|
|
<object class="GtkLabel">
|
|
|
|
<property name="visible">True</property>
|
|
|
|
<property name="visible">True</property>
|
|
|
|
<property name="can-focus">True</property>
|
|
|
|
<property name="can-focus">False</property>
|
|
|
|
<property name="max-length">5</property>
|
|
|
|
<property name="label" translatable="yes">Register / Flag:</property>
|
|
|
|
<property name="width-chars">5</property>
|
|
|
|
|
|
|
|
</object>
|
|
|
|
</object>
|
|
|
|
<packing>
|
|
|
|
<packing>
|
|
|
|
<property name="left-attach">1</property>
|
|
|
|
<property name="left-attach">3</property>
|
|
|
|
<property name="top-attach">0</property>
|
|
|
|
<property name="top-attach">0</property>
|
|
|
|
</packing>
|
|
|
|
</packing>
|
|
|
|
</child>
|
|
|
|
</child>
|
|
|
|
<child>
|
|
|
|
<child>
|
|
|
|
<object class="GtkEntry">
|
|
|
|
<object class="GtkEntry" id="cli_register">
|
|
|
|
<property name="visible">True</property>
|
|
|
|
<property name="visible">True</property>
|
|
|
|
<property name="can-focus">True</property>
|
|
|
|
<property name="can-focus">True</property>
|
|
|
|
|
|
|
|
<property name="buffer">entrybuffer_offset</property>
|
|
|
|
<property name="max-length">5</property>
|
|
|
|
<property name="max-length">5</property>
|
|
|
|
<property name="width-chars">5</property>
|
|
|
|
<property name="width-chars">5</property>
|
|
|
|
|
|
|
|
<property name="placeholder-text" translatable="yes">0</property>
|
|
|
|
</object>
|
|
|
|
</object>
|
|
|
|
<packing>
|
|
|
|
<packing>
|
|
|
|
<property name="left-attach">1</property>
|
|
|
|
<property name="left-attach">4</property>
|
|
|
|
<property name="top-attach">1</property>
|
|
|
|
<property name="top-attach">0</property>
|
|
|
|
</packing>
|
|
|
|
</packing>
|
|
|
|
</child>
|
|
|
|
</child>
|
|
|
|
<child>
|
|
|
|
<child>
|
|
|
@ -485,10 +546,47 @@
|
|
|
|
<property name="draw-indicator">True</property>
|
|
|
|
<property name="draw-indicator">True</property>
|
|
|
|
</object>
|
|
|
|
</object>
|
|
|
|
<packing>
|
|
|
|
<packing>
|
|
|
|
<property name="left-attach">3</property>
|
|
|
|
<property name="left-attach">6</property>
|
|
|
|
|
|
|
|
<property name="top-attach">0</property>
|
|
|
|
|
|
|
|
</packing>
|
|
|
|
|
|
|
|
</child>
|
|
|
|
|
|
|
|
<child>
|
|
|
|
|
|
|
|
<object class="GtkLabel">
|
|
|
|
|
|
|
|
<property name="visible">True</property>
|
|
|
|
|
|
|
|
<property name="can-focus">False</property>
|
|
|
|
|
|
|
|
<property name="label" translatable="yes">Unit:</property>
|
|
|
|
|
|
|
|
</object>
|
|
|
|
|
|
|
|
<packing>
|
|
|
|
|
|
|
|
<property name="left-attach">0</property>
|
|
|
|
<property name="top-attach">0</property>
|
|
|
|
<property name="top-attach">0</property>
|
|
|
|
</packing>
|
|
|
|
</packing>
|
|
|
|
</child>
|
|
|
|
</child>
|
|
|
|
|
|
|
|
<child>
|
|
|
|
|
|
|
|
<object class="GtkEntry" id="cli_unitid">
|
|
|
|
|
|
|
|
<property name="visible">True</property>
|
|
|
|
|
|
|
|
<property name="can-focus">True</property>
|
|
|
|
|
|
|
|
<property name="buffer">entrybuffer_unitid</property>
|
|
|
|
|
|
|
|
<property name="max-length">5</property>
|
|
|
|
|
|
|
|
<property name="width-chars">5</property>
|
|
|
|
|
|
|
|
<property name="placeholder-text" translatable="yes">255</property>
|
|
|
|
|
|
|
|
</object>
|
|
|
|
|
|
|
|
<packing>
|
|
|
|
|
|
|
|
<property name="left-attach">1</property>
|
|
|
|
|
|
|
|
<property name="top-attach">0</property>
|
|
|
|
|
|
|
|
</packing>
|
|
|
|
|
|
|
|
</child>
|
|
|
|
|
|
|
|
<child>
|
|
|
|
|
|
|
|
<placeholder/>
|
|
|
|
|
|
|
|
</child>
|
|
|
|
|
|
|
|
<child>
|
|
|
|
|
|
|
|
<placeholder/>
|
|
|
|
|
|
|
|
</child>
|
|
|
|
|
|
|
|
<child>
|
|
|
|
|
|
|
|
<placeholder/>
|
|
|
|
|
|
|
|
</child>
|
|
|
|
|
|
|
|
<child>
|
|
|
|
|
|
|
|
<placeholder/>
|
|
|
|
|
|
|
|
</child>
|
|
|
|
<child>
|
|
|
|
<child>
|
|
|
|
<placeholder/>
|
|
|
|
<placeholder/>
|
|
|
|
</child>
|
|
|
|
</child>
|
|
|
|