This commit is contained in:
flower_linux
2026-06-11 19:00:49 +08:00
parent 710a8c2bd3
commit 0cf0713dc5
73 changed files with 2297 additions and 95 deletions

View File

@@ -58,7 +58,7 @@ build/lib/protocol_canopen.so # CANopen 协议插件
```bash
./build/bin/softbus_daemon \
--config config/daemon_profile.json \
--model config/softbus_model.json
--point-table config/point_table.json
```
命令行参数:
@@ -66,7 +66,8 @@ build/lib/protocol_canopen.so # CANopen 协议插件
| 参数 | 默认值 | 说明 |
|------|--------|------|
| `--config <path>` | `config/daemon_profile.json` | 守护进程运行配置 |
| `--model <path>` | `config/softbus_model.json` | 对象模型定义 |
| `--point-table <path>` | `config/point_table.json` | 点表(含 ValveOpening 等) |
| `--model <path>` | 同 `--point-table` | 兼容旧参数名 |
| `--self-test` | — | 启动后自动下发一条 ExecuteCommand 写值测试 |
守护进程启动后会:
@@ -111,7 +112,7 @@ opc.tcp://localhost:4840
}
```
`config/softbus_model.json` 定义站点/设备/点位层级,守护进程据此构建 OPC UA 地址空间。
`config/point_table.json` 定义设备/点位/主题/OPC UA 映射,由 `softbus_registry` 加载并驱动 OPC UA 地址空间与控制闭环
## 典型联调流程