Browse Source

事件确认代码补全

develop
Mr.Wang 1 year ago
parent
commit
957d1ad501
  1. 5
      zc-business/src/main/java/com/zc/business/service/impl/DcEmergencyPlansServiceImpl.java

5
zc-business/src/main/java/com/zc/business/service/impl/DcEmergencyPlansServiceImpl.java

@ -487,6 +487,7 @@ public class DcEmergencyPlansServiceImpl implements DcEmergencyPlansService {
// 2:执行13功能码
HashMap<String, Object> props11 = new HashMap<>();
functionId = DeviceFunctionIdConstants.VARIABLE_INFORMATION_FLAG_13;
List<Map<String,String>> list = new ArrayList<>();
Map<String,String> parameters = new HashMap<>();
// stopTime
parameters.put("STAY",otherConfig.get("STAY").toString());
@ -507,8 +508,8 @@ public class DcEmergencyPlansServiceImpl implements DcEmergencyPlansService {
parameters.put("height",otherConfig.get("height").toString());
// formatStyle
parameters.put("formatStyle",otherConfig.get("formatStyle").toString());
props11.put("parameters",parameters);
list.add(parameters);
props11.put("parameters",list);
AjaxResult ajaxResult13 = dcDeviceController.invokedFunction(iotDeviceId, functionId, props11);
JSONObject result = new JSONObject();
if (ajaxResult13.get("code").equals(200)) {

Loading…
Cancel
Save