diff --git a/pictrue/实现框架.png b/pictrue/实现框架.png new file mode 100644 index 0000000..613f291 Binary files /dev/null and b/pictrue/实现框架.png differ diff --git a/pictrue/框架-实现思路.svg b/pictrue/框架-实现思路.svg new file mode 100644 index 0000000..b5281c7 --- /dev/null +++ b/pictrue/框架-实现思路.svg @@ -0,0 +1,2 @@ + +

配置与监控接口

网络连接

供电与核心

工业输入/输出

单路UART转
4路RS485电路

4个双口接线端子

电源电路

ESP32-S3最小系统

CH395以太网模块
SPI接口

ESP32内置Wi-Fi
AP模式

本地Web服务器

串口Shell调试

传感器/设备

MQTT云平台

用户浏览器

\ No newline at end of file diff --git a/web_control/index.html b/web_control/index.html new file mode 100644 index 0000000..2c5b005 --- /dev/null +++ b/web_control/index.html @@ -0,0 +1,2416 @@ + + + + + + 分布式数据采集网关设备控制 + + + + + + +
+ +
+ +
+
+
+ 未连接 +
+
+ + +
+

设备状态信息

+
+
暂无设备状态信息
+
+
+ + +
+

Modbus数据解析展示

+ + + +
+
+
+
暂无数据
+
+
+
+
+
原始报文
+
+
暂无报文
+
+
+
+
+
+ + +
+ +
+

Modbus动态参数配置

+ +
+
+ +
从机地址 (1-247)
+ +
+
+ +
起始寄存器地址
+ +
+
+ +
读取寄存器数量 (1-125)
+ +
+
+ +
RS485通道 (0或1)
+ +
+
+ +
轮询间隔(ms, 最小100)
+ +
+
+ +
是否启用轮询
+ +
+
+ +
+ + +
+

指令预览与控制

+
+ +
{}
+
+
+ +
+
+
+ + +
+

寄存器显示参数设置

+ + +
+
+ + +
+
+ + +
+
+
请先配置Modbus参数
+
+
+ + + +
+
+ + +
+

MQTT连接配置

+ + +
+ MQTT服务器地址说明 +

请输入MQTT服务器的域名或IP地址。系统将自动使用ws://协议、8083端口、/mqtt路径进行连接。

+
+ + +
+ + +
+
+ + +
+ + + + +
+
+ +
+
+ +
+ +
+
+
+ +
+ + +
+
+
+ +
+ +
+
+
+ +
+ +
+
+
+ + +
+
+ + +
+
+ +
+ + +
+
+
+ + + + diff --git a/web_control/mqtt_configs_1769757685603.json b/web_control/mqtt_configs_1769757685603.json new file mode 100644 index 0000000..714f063 --- /dev/null +++ b/web_control/mqtt_configs_1769757685603.json @@ -0,0 +1,22 @@ +[ + { + "name": "beihong.wang_2026/01/30 15:21", + "serverAddress": "beihong.wang", + "clientId": "web_control_1769756762678", + "subscribeTopic": "/device/DistributedCollectorGateway/pub", + "publishTopic": "/device/DistributedCollectorGateway/sub", + "username": "DCG-user", + "password": "DCG-user123", + "lastUsed": 1769757676614 + }, + { + "name": "beihong.wang_2026/01/30 15:06", + "serverAddress": "beihong.wang", + "clientId": "web_control_1769756762678", + "subscribeTopic": "/device/DistributedCollectorGateway/pub", + "publishTopic": "/device/DistributedCollectorGateway/sub", + "username": "DCG-user", + "password": "DCG-user123", + "lastUsed": 1769757592763 + } +] \ No newline at end of file diff --git a/分布式数据采集网关设备控制WEB页面.pdf b/分布式数据采集网关设备控制WEB页面.pdf new file mode 100644 index 0000000..f13dc1a Binary files /dev/null and b/分布式数据采集网关设备控制WEB页面.pdf differ