phase 2
This commit is contained in:
@@ -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 地址空间与控制闭环。
|
||||
|
||||
## 典型联调流程
|
||||
|
||||
|
||||
Reference in New Issue
Block a user