You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
527 lines
12 KiB
527 lines
12 KiB
<?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>800</width>
|
|
<height>507</height>
|
|
</rect>
|
|
</property>
|
|
<property name="windowTitle">
|
|
<string>MainWindow</string>
|
|
</property>
|
|
<widget class="QWidget" name="centralwidget">
|
|
<widget class="QPushButton" name="connect">
|
|
<property name="geometry">
|
|
<rect>
|
|
<x>40</x>
|
|
<y>10</y>
|
|
<width>89</width>
|
|
<height>25</height>
|
|
</rect>
|
|
</property>
|
|
<property name="text">
|
|
<string>Connect</string>
|
|
</property>
|
|
</widget>
|
|
<widget class="QLabel" name="label_5">
|
|
<property name="geometry">
|
|
<rect>
|
|
<x>40</x>
|
|
<y>142</y>
|
|
<width>126</width>
|
|
<height>25</height>
|
|
</rect>
|
|
</property>
|
|
<property name="text">
|
|
<string>Number of values:</string>
|
|
</property>
|
|
</widget>
|
|
<widget class="QLabel" name="label_4">
|
|
<property name="geometry">
|
|
<rect>
|
|
<x>40</x>
|
|
<y>110</y>
|
|
<width>126</width>
|
|
<height>26</height>
|
|
</rect>
|
|
</property>
|
|
<property name="text">
|
|
<string>Start address:</string>
|
|
</property>
|
|
</widget>
|
|
<widget class="QLineEdit" name="startAddress">
|
|
<property name="geometry">
|
|
<rect>
|
|
<x>170</x>
|
|
<y>110</y>
|
|
<width>113</width>
|
|
<height>25</height>
|
|
</rect>
|
|
</property>
|
|
</widget>
|
|
<widget class="QLineEdit" name="readSize">
|
|
<property name="geometry">
|
|
<rect>
|
|
<x>170</x>
|
|
<y>140</y>
|
|
<width>113</width>
|
|
<height>25</height>
|
|
</rect>
|
|
</property>
|
|
</widget>
|
|
<widget class="QLabel" name="label_6">
|
|
<property name="geometry">
|
|
<rect>
|
|
<x>160</x>
|
|
<y>10</y>
|
|
<width>41</width>
|
|
<height>25</height>
|
|
</rect>
|
|
</property>
|
|
<property name="text">
|
|
<string>Table:</string>
|
|
</property>
|
|
</widget>
|
|
<widget class="QComboBox" name="writeTable">
|
|
<property name="geometry">
|
|
<rect>
|
|
<x>207</x>
|
|
<y>10</y>
|
|
<width>86</width>
|
|
<height>25</height>
|
|
</rect>
|
|
</property>
|
|
</widget>
|
|
<widget class="QLabel" name="label_9">
|
|
<property name="geometry">
|
|
<rect>
|
|
<x>40</x>
|
|
<y>167</y>
|
|
<width>126</width>
|
|
<height>17</height>
|
|
</rect>
|
|
</property>
|
|
<property name="text">
|
|
<string>Result:</string>
|
|
</property>
|
|
</widget>
|
|
<widget class="QGroupBox" name="groupBox">
|
|
<property name="geometry">
|
|
<rect>
|
|
<x>10</x>
|
|
<y>70</y>
|
|
<width>311</width>
|
|
<height>381</height>
|
|
</rect>
|
|
</property>
|
|
<property name="title">
|
|
<string>Read Data From Device</string>
|
|
</property>
|
|
<widget class="QTextEdit" name="textEditRead">
|
|
<property name="geometry">
|
|
<rect>
|
|
<x>20</x>
|
|
<y>120</y>
|
|
<width>257</width>
|
|
<height>221</height>
|
|
</rect>
|
|
</property>
|
|
</widget>
|
|
<widget class="QPushButton" name="readButton">
|
|
<property name="geometry">
|
|
<rect>
|
|
<x>100</x>
|
|
<y>350</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>
|
|
<widget class="QGroupBox" name="groupBox_2">
|
|
<property name="geometry">
|
|
<rect>
|
|
<x>340</x>
|
|
<y>70</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_3">
|
|
<property name="geometry">
|
|
<rect>
|
|
<x>540</x>
|
|
<y>70</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>126</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="QGroupBox" name="groupBox_4">
|
|
<property name="geometry">
|
|
<rect>
|
|
<x>340</x>
|
|
<y>250</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_5">
|
|
<property name="geometry">
|
|
<rect>
|
|
<x>530</x>
|
|
<y>250</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>
|
|
<zorder>groupBox</zorder>
|
|
<zorder>connect</zorder>
|
|
<zorder>label_5</zorder>
|
|
<zorder>label_4</zorder>
|
|
<zorder>startAddress</zorder>
|
|
<zorder>readSize</zorder>
|
|
<zorder>label_6</zorder>
|
|
<zorder>writeTable</zorder>
|
|
<zorder>label_9</zorder>
|
|
<zorder>groupBox_2</zorder>
|
|
<zorder>groupBox_3</zorder>
|
|
<zorder>groupBox_4</zorder>
|
|
<zorder>groupBox_5</zorder>
|
|
</widget>
|
|
<widget class="QMenuBar" name="menubar">
|
|
<property name="geometry">
|
|
<rect>
|
|
<x>0</x>
|
|
<y>0</y>
|
|
<width>800</width>
|
|
<height>22</height>
|
|
</rect>
|
|
</property>
|
|
</widget>
|
|
<widget class="QStatusBar" name="statusbar"/>
|
|
</widget>
|
|
<resources/>
|
|
<connections/>
|
|
</ui>
|
|
|