|
|
# 测试指令
## 消毒服务
### 启动消毒
```json { "messageType": "Command", "fnName": "start", "className": "DisinfectionCtrlServiceExt", "messageId":"1234", "timeStamp": 1234 , "params":{ "loglevel":"12" } }
```
## 测试模式
### 启动H2O2假数据自动生成线程
```json { "messageType": "Command", "fnName": "fn_startGenFakeH2O2Data", "className": "AppCore", "messageId": "1234", "timeStamp": 1234, "params": { "data": [ { "h2o2": 0, "humid": 0, "temp": 0, "saturation": 0, "random": true, "enable": true }, { "h2o2": 0, "humid": 0, "temp": 0, "saturation": 0, "random": true, "enable": true }, { "h2o2": 0, "humid": 0, "temp": 0, "saturation": 0, "random": true, "enable": true } ] } } ``` ### 停止H2O2假数据自动生成线程
```json { "messageType": "Command", "fnName": "fn_stopGenFakeH2O2Data", "className": "AppCore", "messageId":"1234", "timeStamp": 1234 } ```
## 测试页面
### 读取配置
```json { "messageType": "Command", "fnName": "getTestPageCfgInfo", "className": "TestPageMgrService", "messageId":"1234", "timeStamp": 1234 }
```
### 启动上报
```json { "messageType": "Command", "fnName": "startReportState", "className": "TestPageMgrService", "messageId":"1234", "timeStamp": 1234 } ```
### 停止上报
```json { "messageType": "Command", "fnName": "stopReportState", "className": "TestPageMgrService", "messageId":"1234", "timeStamp": 1234 } ```
|