You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 

1.7 KiB

测试指令

消毒服务

启动消毒

{
    "messageType": "Command",
    "fnName": "start",
    "className": "DisinfectionCtrlServiceExt",
    "messageId":"1234",
    "timeStamp": 1234 ,
    "params":{
        "loglevel":"12"
    }
}

测试模式

启动H2O2假数据自动生成线程

{
  "messageType": "Command",
  "fnName": "fn_ForTest_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假数据自动生成线程

{
    "messageType": "Command",
    "fnName": "fn_ForTest_stopGenFakeH2O2Data",
    "className": "AppCore",
    "messageId":"1234",
    "timeStamp": 1234
}

测试页面

读取配置

{
    "messageType": "Command",
    "fnName": "getTestPageCfgInfo",
    "className": "TestPageMgrService",
    "messageId":"1234",
    "timeStamp": 1234
}

启动上报

{
    "messageType": "Command",
    "fnName": "startReportState",
    "className": "TestPageMgrService",
    "messageId":"1234",
    "timeStamp": 1234
}

停止上报

{
    "messageType": "Command",
    "fnName": "stopReportState",
    "className": "TestPageMgrService",
    "messageId":"1234",
    "timeStamp": 1234
}