|
|
|
<?xml version="1.0" encoding="UTF-8"?>
|
|
|
|
<ui version="4.0">
|
|
|
|
<class>MainWindow</class>
|
|
|
|
<widget class="QMainWindow" name="MainWindow">
|
|
|
|
<property name="geometry">
|
|
|
|
<rect>
|
|
|
|
<x>0</x>
|
|
|
|
<y>0</y>
|
|
|
|
<width>879</width>
|
|
|
|
<height>725</height>
|
|
|
|
</rect>
|
|
|
|
</property>
|
|
|
|
<property name="windowTitle">
|
|
|
|
<string>MainWindow</string>
|
|
|
|
</property>
|
|
|
|
<widget class="QWidget" name="centralwidget">
|
|
|
|
<widget class="QTabWidget" name="tabWidget">
|
|
|
|
<property name="geometry">
|
|
|
|
<rect>
|
|
|
|
<x>10</x>
|
|
|
|
<y>20</y>
|
|
|
|
<width>811</width>
|
|
|
|
<height>621</height>
|
|
|
|
</rect>
|
|
|
|
</property>
|
|
|
|
<widget class="QWidget" name="tab_5">
|
|
|
|
<attribute name="title">
|
|
|
|
<string>Tab 1</string>
|
|
|
|
</attribute>
|
|
|
|
<widget class="QPushButton" name="connect">
|
|
|
|
<property name="geometry">
|
|
|
|
<rect>
|
|
|
|
<x>10</x>
|
|
|
|
<y>10</y>
|
|
|
|
<width>89</width>
|
|
|
|
<height>25</height>
|
|
|
|
</rect>
|
|
|
|
</property>
|
|
|
|
<property name="text">
|
|
|
|
<string>Connect</string>
|
|
|
|
</property>
|
|
|
|
</widget>
|
|
|
|
<widget class="QLabel" name="errorMonitoring">
|
|
|
|
<property name="geometry">
|
|
|
|
<rect>
|
|
|
|
<x>20</x>
|
|
|
|
<y>420</y>
|
|
|
|
<width>761</width>
|
|
|
|
<height>91</height>
|
|
|
|
</rect>
|
|
|
|
</property>
|
|
|
|
<property name="text">
|
|
|
|
<string>Error Monitoring</string>
|
|
|
|
</property>
|
|
|
|
</widget>
|
|
|
|
<widget class="QGroupBox" name="groupBox_4">
|
|
|
|
<property name="geometry">
|
|
|
|
<rect>
|
|
|
|
<x>370</x>
|
|
|
|
<y>180</y>
|
|
|
|
<width>181</width>
|
|
|
|
<height>201</height>
|
|
|
|
</rect>
|
|
|
|
</property>
|
|
|
|
<property name="title">
|
|
|
|
<string>Write Single Register</string>
|
|
|
|
</property>
|
|
|
|
<widget class="QLineEdit" name="writeSingleRegisterAddress">
|
|
|
|
<property name="geometry">
|
|
|
|
<rect>
|
|
|
|
<x>70</x>
|
|
|
|
<y>30</y>
|
|
|
|
<width>101</width>
|
|
|
|
<height>25</height>
|
|
|
|
</rect>
|
|
|
|
</property>
|
|
|
|
</widget>
|
|
|
|
<widget class="QLabel" name="label_11">
|
|
|
|
<property name="geometry">
|
|
|
|
<rect>
|
|
|
|
<x>10</x>
|
|
|
|
<y>30</y>
|
|
|
|
<width>71</width>
|
|
|
|
<height>26</height>
|
|
|
|
</rect>
|
|
|
|
</property>
|
|
|
|
<property name="text">
|
|
|
|
<string>address:</string>
|
|
|
|
</property>
|
|
|
|
</widget>
|
|
|
|
<widget class="QLineEdit" name="writeSingleRegisterValue">
|
|
|
|
<property name="geometry">
|
|
|
|
<rect>
|
|
|
|
<x>60</x>
|
|
|
|
<y>70</y>
|
|
|
|
<width>111</width>
|
|
|
|
<height>25</height>
|
|
|
|
</rect>
|
|
|
|
</property>
|
|
|
|
</widget>
|
|
|
|
<widget class="QLabel" name="Values_2">
|
|
|
|
<property name="geometry">
|
|
|
|
<rect>
|
|
|
|
<x>10</x>
|
|
|
|
<y>70</y>
|
|
|
|
<width>51</width>
|
|
|
|
<height>25</height>
|
|
|
|
</rect>
|
|
|
|
</property>
|
|
|
|
<property name="text">
|
|
|
|
<string>Value</string>
|
|
|
|
</property>
|
|
|
|
</widget>
|
|
|
|
<widget class="QPushButton" name="writeSingleRegister">
|
|
|
|
<property name="geometry">
|
|
|
|
<rect>
|
|
|
|
<x>10</x>
|
|
|
|
<y>110</y>
|
|
|
|
<width>161</width>
|
|
|
|
<height>25</height>
|
|
|
|
</rect>
|
|
|
|
</property>
|
|
|
|
<property name="text">
|
|
|
|
<string>Write Single Register</string>
|
|
|
|
</property>
|
|
|
|
</widget>
|
|
|
|
</widget>
|
|
|
|
<widget class="QGroupBox" name="groupBox_3">
|
|
|
|
<property name="geometry">
|
|
|
|
<rect>
|
|
|
|
<x>560</x>
|
|
|
|
<y>10</y>
|
|
|
|
<width>241</width>
|
|
|
|
<height>161</height>
|
|
|
|
</rect>
|
|
|
|
</property>
|
|
|
|
<property name="title">
|
|
|
|
<string>Write Multiple Coil</string>
|
|
|
|
</property>
|
|
|
|
<widget class="QLabel" name="label_8">
|
|
|
|
<property name="geometry">
|
|
|
|
<rect>
|
|
|
|
<x>10</x>
|
|
|
|
<y>60</y>
|
|
|
|
<width>126</width>
|
|
|
|
<height>25</height>
|
|
|
|
</rect>
|
|
|
|
</property>
|
|
|
|
<property name="text">
|
|
|
|
<string>Number of values:</string>
|
|
|
|
</property>
|
|
|
|
</widget>
|
|
|
|
<widget class="QLineEdit" name="writeMultiCoilStartAddress">
|
|
|
|
<property name="geometry">
|
|
|
|
<rect>
|
|
|
|
<x>110</x>
|
|
|
|
<y>30</y>
|
|
|
|
<width>121</width>
|
|
|
|
<height>25</height>
|
|
|
|
</rect>
|
|
|
|
</property>
|
|
|
|
</widget>
|
|
|
|
<widget class="QLabel" name="label_10">
|
|
|
|
<property name="geometry">
|
|
|
|
<rect>
|
|
|
|
<x>10</x>
|
|
|
|
<y>30</y>
|
|
|
|
<width>91</width>
|
|
|
|
<height>26</height>
|
|
|
|
</rect>
|
|
|
|
</property>
|
|
|
|
<property name="text">
|
|
|
|
<string>Start address:</string>
|
|
|
|
</property>
|
|
|
|
</widget>
|
|
|
|
<widget class="QLineEdit" name="writeMultiCoilQty">
|
|
|
|
<property name="geometry">
|
|
|
|
<rect>
|
|
|
|
<x>140</x>
|
|
|
|
<y>60</y>
|
|
|
|
<width>91</width>
|
|
|
|
<height>25</height>
|
|
|
|
</rect>
|
|
|
|
</property>
|
|
|
|
</widget>
|
|
|
|
<widget class="QLineEdit" name="writeMultiCoilValue">
|
|
|
|
<property name="geometry">
|
|
|
|
<rect>
|
|
|
|
<x>60</x>
|
|
|
|
<y>90</y>
|
|
|
|
<width>171</width>
|
|
|
|
<height>25</height>
|
|
|
|
</rect>
|
|
|
|
</property>
|
|
|
|
</widget>
|
|
|
|
<widget class="QLabel" name="Values">
|
|
|
|
<property name="geometry">
|
|
|
|
<rect>
|
|
|
|
<x>10</x>
|
|
|
|
<y>90</y>
|
|
|
|
<width>51</width>
|
|
|
|
<height>25</height>
|
|
|
|
</rect>
|
|
|
|
</property>
|
|
|
|
<property name="text">
|
|
|
|
<string>Values</string>
|
|
|
|
</property>
|
|
|
|
</widget>
|
|
|
|
<widget class="QPushButton" name="writeMultiCoil">
|
|
|
|
<property name="geometry">
|
|
|
|
<rect>
|
|
|
|
<x>50</x>
|
|
|
|
<y>130</y>
|
|
|
|
<width>141</width>
|
|
|
|
<height>25</height>
|
|
|
|
</rect>
|
|
|
|
</property>
|
|
|
|
<property name="text">
|
|
|
|
<string>Write Multi Coil</string>
|
|
|
|
</property>
|
|
|
|
</widget>
|
|
|
|
</widget>
|
|
|
|
<widget class="QComboBox" name="writeTable">
|
|
|
|
<property name="geometry">
|
|
|
|
<rect>
|
|
|
|
<x>250</x>
|
|
|
|
<y>10</y>
|
|
|
|
<width>86</width>
|
|
|
|
<height>25</height>
|
|
|
|
</rect>
|
|
|
|
</property>
|
|
|
|
</widget>
|
|
|
|
<widget class="QGroupBox" name="groupBox_2">
|
|
|
|
<property name="geometry">
|
|
|
|
<rect>
|
|
|
|
<x>360</x>
|
|
|
|
<y>10</y>
|
|
|
|
<width>191</width>
|
|
|
|
<height>161</height>
|
|
|
|
</rect>
|
|
|
|
</property>
|
|
|
|
<property name="title">
|
|
|
|
<string>Write Single Coil</string>
|
|
|
|
</property>
|
|
|
|
<widget class="QCheckBox" name="coilData">
|
|
|
|
<property name="geometry">
|
|
|
|
<rect>
|
|
|
|
<x>10</x>
|
|
|
|
<y>30</y>
|
|
|
|
<width>61</width>
|
|
|
|
<height>23</height>
|
|
|
|
</rect>
|
|
|
|
</property>
|
|
|
|
<property name="text">
|
|
|
|
<string>Coil</string>
|
|
|
|
</property>
|
|
|
|
</widget>
|
|
|
|
<widget class="QLineEdit" name="writeSingleCoilAddress">
|
|
|
|
<property name="geometry">
|
|
|
|
<rect>
|
|
|
|
<x>70</x>
|
|
|
|
<y>60</y>
|
|
|
|
<width>113</width>
|
|
|
|
<height>25</height>
|
|
|
|
</rect>
|
|
|
|
</property>
|
|
|
|
</widget>
|
|
|
|
<widget class="QLabel" name="label_7">
|
|
|
|
<property name="geometry">
|
|
|
|
<rect>
|
|
|
|
<x>10</x>
|
|
|
|
<y>60</y>
|
|
|
|
<width>71</width>
|
|
|
|
<height>26</height>
|
|
|
|
</rect>
|
|
|
|
</property>
|
|
|
|
<property name="text">
|
|
|
|
<string>address:</string>
|
|
|
|
</property>
|
|
|
|
</widget>
|
|
|
|
<widget class="QPushButton" name="writeSingleCoil">
|
|
|
|
<property name="geometry">
|
|
|
|
<rect>
|
|
|
|
<x>20</x>
|
|
|
|
<y>120</y>
|
|
|
|
<width>141</width>
|
|
|
|
<height>25</height>
|
|
|
|
</rect>
|
|
|
|
</property>
|
|
|
|
<property name="text">
|
|
|
|
<string>Write Single Coil</string>
|
|
|
|
</property>
|
|
|
|
</widget>
|
|
|
|
</widget>
|
|
|
|
<widget class="QGroupBox" name="groupBox_5">
|
|
|
|
<property name="geometry">
|
|
|
|
<rect>
|
|
|
|
<x>560</x>
|
|
|
|
<y>180</y>
|
|
|
|
<width>261</width>
|
|
|
|
<height>201</height>
|
|
|
|
</rect>
|
|
|
|
</property>
|
|
|
|
<property name="title">
|
|
|
|
<string>Write Multiple Register</string>
|
|
|
|
</property>
|
|
|
|
<widget class="QPushButton" name="writeMultiRegister">
|
|
|
|
<property name="geometry">
|
|
|
|
<rect>
|
|
|
|
<x>50</x>
|
|
|
|
<y>170</y>
|
|
|
|
<width>141</width>
|
|
|
|
<height>25</height>
|
|
|
|
</rect>
|
|
|
|
</property>
|
|
|
|
<property name="text">
|
|
|
|
<string>Write Multi Register</string>
|
|
|
|
</property>
|
|
|
|
</widget>
|
|
|
|
<widget class="QLabel" name="Values_3">
|
|
|
|
<property name="geometry">
|
|
|
|
<rect>
|
|
|
|
<x>10</x>
|
|
|
|
<y>110</y>
|
|
|
|
<width>51</width>
|
|
|
|
<height>25</height>
|
|
|
|
</rect>
|
|
|
|
</property>
|
|
|
|
<property name="text">
|
|
|
|
<string>Values</string>
|
|
|
|
</property>
|
|
|
|
</widget>
|
|
|
|
<widget class="QLabel" name="label_12">
|
|
|
|
<property name="geometry">
|
|
|
|
<rect>
|
|
|
|
<x>10</x>
|
|
|
|
<y>60</y>
|
|
|
|
<width>126</width>
|
|
|
|
<height>25</height>
|
|
|
|
</rect>
|
|
|
|
</property>
|
|
|
|
<property name="text">
|
|
|
|
<string>Number of values:</string>
|
|
|
|
</property>
|
|
|
|
</widget>
|
|
|
|
<widget class="QLineEdit" name="writeMultiRegisterStartAddress">
|
|
|
|
<property name="geometry">
|
|
|
|
<rect>
|
|
|
|
<x>110</x>
|
|
|
|
<y>30</y>
|
|
|
|
<width>121</width>
|
|
|
|
<height>25</height>
|
|
|
|
</rect>
|
|
|
|
</property>
|
|
|
|
</widget>
|
|
|
|
<widget class="QLineEdit" name="writeMultiRegisterQty">
|
|
|
|
<property name="geometry">
|
|
|
|
<rect>
|
|
|
|
<x>140</x>
|
|
|
|
<y>60</y>
|
|
|
|
<width>91</width>
|
|
|
|
<height>25</height>
|
|
|
|
</rect>
|
|
|
|
</property>
|
|
|
|
</widget>
|
|
|
|
<widget class="QLineEdit" name="writeMultiRegisterValue">
|
|
|
|
<property name="geometry">
|
|
|
|
<rect>
|
|
|
|
<x>60</x>
|
|
|
|
<y>110</y>
|
|
|
|
<width>171</width>
|
|
|
|
<height>51</height>
|
|
|
|
</rect>
|
|
|
|
</property>
|
|
|
|
</widget>
|
|
|
|
<widget class="QLabel" name="label_13">
|
|
|
|
<property name="geometry">
|
|
|
|
<rect>
|
|
|
|
<x>10</x>
|
|
|
|
<y>30</y>
|
|
|
|
<width>126</width>
|
|
|
|
<height>26</height>
|
|
|
|
</rect>
|
|
|
|
</property>
|
|
|
|
<property name="text">
|
|
|
|
<string>Start address:</string>
|
|
|
|
</property>
|
|
|
|
</widget>
|
|
|
|
<widget class="QLabel" name="label">
|
|
|
|
<property name="geometry">
|
|
|
|
<rect>
|
|
|
|
<x>90</x>
|
|
|
|
<y>90</y>
|
|
|
|
<width>91</width>
|
|
|
|
<height>21</height>
|
|
|
|
</rect>
|
|
|
|
</property>
|
|
|
|
<property name="font">
|
|
|
|
<font>
|
|
|
|
<family>Ubuntu Condensed</family>
|
|
|
|
<pointsize>8</pointsize>
|
|
|
|
<weight>75</weight>
|
|
|
|
<bold>true</bold>
|
|
|
|
</font>
|
|
|
|
</property>
|
|
|
|
<property name="text">
|
|
|
|
<string>Comma Delimiter</string>
|
|
|
|
</property>
|
|
|
|
</widget>
|
|
|
|
</widget>
|
|
|
|
<widget class="QGroupBox" name="groupBox">
|
|
|
|
<property name="geometry">
|
|
|
|
<rect>
|
|
|
|
<x>40</x>
|
|
|
|
<y>50</y>
|
|
|
|
<width>301</width>
|
|
|
|
<height>341</height>
|
|
|
|
</rect>
|
|
|
|
</property>
|
|
|
|
<property name="title">
|
|
|
|
<string>Read Data From Device</string>
|
|
|
|
</property>
|
|
|
|
<widget class="QTextEdit" name="textEditRead">
|
|
|
|
<property name="geometry">
|
|
|
|
<rect>
|
|
|
|
<x>16</x>
|
|
|
|
<y>120</y>
|
|
|
|
<width>281</width>
|
|
|
|
<height>181</height>
|
|
|
|
</rect>
|
|
|
|
</property>
|
|
|
|
</widget>
|
|
|
|
<widget class="QPushButton" name="readButton">
|
|
|
|
<property name="geometry">
|
|
|
|
<rect>
|
|
|
|
<x>110</x>
|
|
|
|
<y>310</y>
|
|
|
|
<width>80</width>
|
|
|
|
<height>25</height>
|
|
|
|
</rect>
|
|
|
|
</property>
|
|
|
|
<property name="sizePolicy">
|
|
|
|
<sizepolicy hsizetype="Maximum" vsizetype="Fixed">
|
|
|
|
<horstretch>0</horstretch>
|
|
|
|
<verstretch>0</verstretch>
|
|
|
|
</sizepolicy>
|
|
|
|
</property>
|
|
|
|
<property name="text">
|
|
|
|
<string>Read</string>
|
|
|
|
</property>
|
|
|
|
</widget>
|
|
|
|
<widget class="QLineEdit" name="startAddress">
|
|
|
|
<property name="geometry">
|
|
|
|
<rect>
|
|
|
|
<x>180</x>
|
|
|
|
<y>30</y>
|
|
|
|
<width>113</width>
|
|
|
|
<height>25</height>
|
|
|
|
</rect>
|
|
|
|
</property>
|
|
|
|
</widget>
|
|
|
|
<widget class="QLineEdit" name="readSize">
|
|
|
|
<property name="geometry">
|
|
|
|
<rect>
|
|
|
|
<x>180</x>
|
|
|
|
<y>60</y>
|
|
|
|
<width>113</width>
|
|
|
|
<height>25</height>
|
|
|
|
</rect>
|
|
|
|
</property>
|
|
|
|
</widget>
|
|
|
|
<widget class="QLabel" name="label_4">
|
|
|
|
<property name="geometry">
|
|
|
|
<rect>
|
|
|
|
<x>50</x>
|
|
|
|
<y>30</y>
|
|
|
|
<width>126</width>
|
|
|
|
<height>26</height>
|
|
|
|
</rect>
|
|
|
|
</property>
|
|
|
|
<property name="text">
|
|
|
|
<string>Start address:</string>
|
|
|
|
</property>
|
|
|
|
</widget>
|
|
|
|
<widget class="QLabel" name="label_5">
|
|
|
|
<property name="geometry">
|
|
|
|
<rect>
|
|
|
|
<x>40</x>
|
|
|
|
<y>60</y>
|
|
|
|
<width>126</width>
|
|
|
|
<height>25</height>
|
|
|
|
</rect>
|
|
|
|
</property>
|
|
|
|
<property name="text">
|
|
|
|
<string>Number of values:</string>
|
|
|
|
</property>
|
|
|
|
</widget>
|
|
|
|
<widget class="QLabel" name="label_9">
|
|
|
|
<property name="geometry">
|
|
|
|
<rect>
|
|
|
|
<x>20</x>
|
|
|
|
<y>100</y>
|
|
|
|
<width>126</width>
|
|
|
|
<height>17</height>
|
|
|
|
</rect>
|
|
|
|
</property>
|
|
|
|
<property name="text">
|
|
|
|
<string>Result:</string>
|
|
|
|
</property>
|
|
|
|
</widget>
|
|
|
|
</widget>
|
|
|
|
<widget class="QLabel" name="label_6">
|
|
|
|
<property name="geometry">
|
|
|
|
<rect>
|
|
|
|
<x>200</x>
|
|
|
|
<y>10</y>
|
|
|
|
<width>41</width>
|
|
|
|
<height>25</height>
|
|
|
|
</rect>
|
|
|
|
</property>
|
|
|
|
<property name="text">
|
|
|
|
<string>Table:</string>
|
|
|
|
</property>
|
|
|
|
</widget>
|
|
|
|
</widget>
|
|
|
|
<widget class="QWidget" name="tab_6">
|
|
|
|
<attribute name="title">
|
|
|
|
<string>Tab 2</string>
|
|
|
|
</attribute>
|
|
|
|
</widget>
|
|
|
|
</widget>
|
|
|
|
</widget>
|
|
|
|
<widget class="QMenuBar" name="menubar">
|
|
|
|
<property name="geometry">
|
|
|
|
<rect>
|
|
|
|
<x>0</x>
|
|
|
|
<y>0</y>
|
|
|
|
<width>879</width>
|
|
|
|
<height>22</height>
|
|
|
|
</rect>
|
|
|
|
</property>
|
|
|
|
</widget>
|
|
|
|
<widget class="QStatusBar" name="statusbar"/>
|
|
|
|
</widget>
|
|
|
|
<resources/>
|
|
|
|
<connections/>
|
|
|
|
</ui>
|