feat: MQTT 样例遥测入库可查(M1 联调闭环) #1

Open
opened 2026-10-13 10:58:29 +08:00 by Lijianping · 0 comments
Collaborator

目标

对照 PRD IOT / 落地方案 M1:启用 Broker(或注入遥测)后,设备点数据可入库并在 PC 物联/监测可见。目标仓:backend

范围

  • txys.mqtt 配置与 TxysMqttGateway / IotMqttService
  • 样例遥测注入或订阅入库
  • deploy/baota-docker 的 mqtt profile 说明可另开 deploy 文档卡;本卡以后端与配置为主

不做

  • 不接真 RTU 全量点表(C 类专项)
  • 不改 frontend 大页面(仅保证 API)

验收

  • /txys/iot/mqtt/status 可反映连接或明确未启用原因
  • 注入/订阅至少 1 条遥测后监测或物联接口可查
  • Broker 断开时总览/诊断有可查记录或降级提示(对齐 IOT.01)

相关文档

  • docs/汀溪原水调度平台-全新开发落地方案.md M1
  • docs/汀溪原水调度平台-PRD-v0.1.md IOT
## 目标 对照 PRD IOT / 落地方案 M1:启用 Broker(或注入遥测)后,设备点数据可入库并在 PC 物联/监测可见。目标仓:backend ## 范围 - `txys.mqtt` 配置与 `TxysMqttGateway` / `IotMqttService` - 样例遥测注入或订阅入库 - `deploy/baota-docker` 的 mqtt profile 说明可另开 deploy 文档卡;本卡以后端与配置为主 ## 不做 - 不接真 RTU 全量点表(C 类专项) - 不改 frontend 大页面(仅保证 API) ## 验收 - [ ] `/txys/iot/mqtt/status` 可反映连接或明确未启用原因 - [ ] 注入/订阅至少 1 条遥测后监测或物联接口可查 - [ ] Broker 断开时总览/诊断有可查记录或降级提示(对齐 IOT.01) ## 相关文档 - `docs/汀溪原水调度平台-全新开发落地方案.md` M1 - `docs/汀溪原水调度平台-PRD-v0.1.md` IOT
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
jiaoce/xm_txys2_back#1
No description provided.