2023-09-27 17:30:27 +00:00
|
|
|
<?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>1058</width>
|
|
|
|
<height>758</height>
|
|
|
|
</rect>
|
|
|
|
</property>
|
|
|
|
<property name="windowTitle">
|
|
|
|
<string>modbus rtu monitor</string>
|
|
|
|
</property>
|
|
|
|
<widget class="QWidget" name="centralwidget">
|
|
|
|
<layout class="QHBoxLayout" name="horizontalLayout_2" stretch="1,9">
|
|
|
|
<item>
|
|
|
|
<layout class="QVBoxLayout" name="verticalLayout_3">
|
|
|
|
<item>
|
|
|
|
<widget class="QLabel" name="label_4">
|
|
|
|
<property name="font">
|
|
|
|
<font>
|
|
|
|
<pointsize>12</pointsize>
|
|
|
|
</font>
|
|
|
|
</property>
|
|
|
|
<property name="text">
|
|
|
|
<string>地址:</string>
|
|
|
|
</property>
|
|
|
|
</widget>
|
|
|
|
</item>
|
|
|
|
<item>
|
|
|
|
<widget class="QLineEdit" name="lineEdit_2">
|
|
|
|
<property name="font">
|
|
|
|
<font>
|
|
|
|
<pointsize>12</pointsize>
|
|
|
|
</font>
|
|
|
|
</property>
|
|
|
|
</widget>
|
|
|
|
</item>
|
|
|
|
<item>
|
|
|
|
<widget class="QLabel" name="label_5">
|
|
|
|
<property name="font">
|
|
|
|
<font>
|
|
|
|
<pointsize>12</pointsize>
|
|
|
|
</font>
|
|
|
|
</property>
|
|
|
|
<property name="text">
|
|
|
|
<string>串口:</string>
|
|
|
|
</property>
|
|
|
|
</widget>
|
|
|
|
</item>
|
|
|
|
<item>
|
|
|
|
<widget class="QComboBox" name="comboBox_2">
|
|
|
|
<property name="font">
|
|
|
|
<font>
|
2023-10-01 09:15:57 +00:00
|
|
|
<family>Arial</family>
|
2023-09-27 17:30:27 +00:00
|
|
|
<pointsize>12</pointsize>
|
|
|
|
</font>
|
|
|
|
</property>
|
|
|
|
</widget>
|
|
|
|
</item>
|
2023-09-30 04:06:01 +00:00
|
|
|
<item>
|
|
|
|
<widget class="QLabel" name="label">
|
|
|
|
<property name="font">
|
|
|
|
<font>
|
|
|
|
<family>Arial</family>
|
|
|
|
<pointsize>12</pointsize>
|
|
|
|
</font>
|
|
|
|
</property>
|
|
|
|
<property name="text">
|
|
|
|
<string>波特率:</string>
|
|
|
|
</property>
|
|
|
|
</widget>
|
|
|
|
</item>
|
|
|
|
<item>
|
|
|
|
<widget class="QComboBox" name="comboBox">
|
|
|
|
<property name="font">
|
|
|
|
<font>
|
|
|
|
<family>Arial</family>
|
|
|
|
<pointsize>12</pointsize>
|
|
|
|
</font>
|
|
|
|
</property>
|
|
|
|
</widget>
|
|
|
|
</item>
|
2023-09-27 17:30:27 +00:00
|
|
|
<item>
|
|
|
|
<widget class="QLabel" name="label_6">
|
|
|
|
<property name="font">
|
|
|
|
<font>
|
|
|
|
<pointsize>12</pointsize>
|
|
|
|
</font>
|
|
|
|
</property>
|
|
|
|
<property name="text">
|
|
|
|
<string>采样间隔(秒):</string>
|
|
|
|
</property>
|
|
|
|
</widget>
|
|
|
|
</item>
|
|
|
|
<item>
|
|
|
|
<widget class="QLineEdit" name="lineEdit_3">
|
|
|
|
<property name="font">
|
|
|
|
<font>
|
|
|
|
<pointsize>12</pointsize>
|
|
|
|
</font>
|
|
|
|
</property>
|
|
|
|
</widget>
|
|
|
|
</item>
|
|
|
|
<item>
|
|
|
|
<widget class="QPushButton" name="pushButton_3">
|
|
|
|
<property name="font">
|
|
|
|
<font>
|
|
|
|
<pointsize>14</pointsize>
|
|
|
|
</font>
|
|
|
|
</property>
|
|
|
|
<property name="text">
|
|
|
|
<string>添加</string>
|
|
|
|
</property>
|
|
|
|
</widget>
|
|
|
|
</item>
|
|
|
|
<item>
|
|
|
|
<spacer name="verticalSpacer_2">
|
|
|
|
<property name="orientation">
|
|
|
|
<enum>Qt::Vertical</enum>
|
|
|
|
</property>
|
|
|
|
<property name="sizeHint" stdset="0">
|
|
|
|
<size>
|
|
|
|
<width>20</width>
|
|
|
|
<height>40</height>
|
|
|
|
</size>
|
|
|
|
</property>
|
|
|
|
</spacer>
|
|
|
|
</item>
|
|
|
|
</layout>
|
|
|
|
</item>
|
|
|
|
<item>
|
|
|
|
<widget class="QTabWidget" name="tabWidget">
|
|
|
|
<property name="currentIndex">
|
|
|
|
<number>-1</number>
|
|
|
|
</property>
|
|
|
|
</widget>
|
|
|
|
</item>
|
|
|
|
</layout>
|
|
|
|
</widget>
|
|
|
|
<widget class="QStatusBar" name="statusbar"/>
|
|
|
|
</widget>
|
|
|
|
<resources/>
|
|
|
|
<connections/>
|
|
|
|
</ui>
|