|
|
@ -714,7 +714,10 @@ public class DcEmergencyPlansServiceImpl implements DcEmergencyPlansService { |
|
|
|
resultArray.add(result); |
|
|
|
// 操作时长
|
|
|
|
String operationDuration = "SETTM" + otherConfig.get("operationDuration").toString(); |
|
|
|
AjaxResult ajaxResult = dcDeviceController.invokedFunction(iotDeviceId, operationDuration, new HashMap<>()); |
|
|
|
HashMap<String, Object> propsTime = new HashMap<>(); |
|
|
|
propsTime.put("SET",operationDuration); |
|
|
|
functionId = DeviceFunctionIdConstants.VARIABLE_INFORMATION_FLAG_SETTM; |
|
|
|
AjaxResult ajaxResult = dcDeviceController.invokedFunction(iotDeviceId, functionId, propsTime); |
|
|
|
JSONObject resultTime = new JSONObject(); |
|
|
|
resultTime.put("device", device.getId()); |
|
|
|
resultTime.put("result", ajaxResult); |
|
|
|