no message
parent
5624f0f7d5
commit
5d4a457a63
|
@ -11,7 +11,7 @@
|
||||||
</rect>
|
</rect>
|
||||||
</property>
|
</property>
|
||||||
<property name="windowTitle">
|
<property name="windowTitle">
|
||||||
<string>modbus rtu monitor</string>
|
<string>又一个modbus调试工具</string>
|
||||||
</property>
|
</property>
|
||||||
<widget class="QWidget" name="centralwidget">
|
<widget class="QWidget" name="centralwidget">
|
||||||
<layout class="QHBoxLayout" name="horizontalLayout_2" stretch="1,9">
|
<layout class="QHBoxLayout" name="horizontalLayout_2" stretch="1,9">
|
||||||
|
|
|
@ -0,0 +1,23 @@
|
||||||
|
#### 又一个modbus调试工具
|
||||||
|
特点:
|
||||||
|
- 基于QT5
|
||||||
|
- 基于libmodbus
|
||||||
|
- 完全开源,代码量少
|
||||||
|
- 三方库完全跨平台,linux/windows。
|
||||||
|
|
||||||
|
#### 功能:
|
||||||
|
本软件旨在提供一个简单modbus测试工具。
|
||||||
|
|
||||||
|
##### 寄存器监控功能
|
||||||
|
|
||||||
|
1.
|
||||||
|
2. 返回值导出
|
||||||
|
3. 绘图
|
||||||
|
|
||||||
|
[![image.png](https://www.testingcloud.club/sapi/api/image_download/203b900b-61fa-11ee-8ba6-525400797f57.png)](界面)
|
||||||
|
|
||||||
|
|
||||||
|
#### todo
|
||||||
|
|
||||||
|
1. 主界面配置化,退出后可以保留
|
||||||
|
2.
|
|
@ -24,7 +24,7 @@ SubForm::SubForm(QString addr,int baurate,int device_addr)
|
||||||
QString *com = new QString(addr);
|
QString *com = new QString(addr);
|
||||||
qDebug()<<*com;
|
qDebug()<<*com;
|
||||||
mModel = new QStandardItemModel(this);
|
mModel = new QStandardItemModel(this);
|
||||||
mModel->setHorizontalHeaderLabels(QStringList() << "寄存器地址" << "返回值"<<"读取时间");
|
mModel->setHorizontalHeaderLabels(QStringList() << "寄存器地址" << "返回值"<<"读取时间"<<"操作");
|
||||||
ui->tableView->setModel(mModel);
|
ui->tableView->setModel(mModel);
|
||||||
ui->tableView->setSelectionMode(QAbstractItemView::ContiguousSelection);
|
ui->tableView->setSelectionMode(QAbstractItemView::ContiguousSelection);
|
||||||
ui->tableView->setSelectionBehavior(QAbstractItemView::SelectRows);
|
ui->tableView->setSelectionBehavior(QAbstractItemView::SelectRows);
|
||||||
|
|
Loading…
Reference in New Issue