Browse Source

#247

pull/324/head
648540858 3 years ago
parent
commit
646419e4ad
  1. 2
      src/main/java/com/genersoft/iot/vmp/vmanager/gb28181/ptz/PtzController.java

2
src/main/java/com/genersoft/iot/vmp/vmanager/gb28181/ptz/PtzController.java

@ -152,10 +152,10 @@ public class PtzController {
msg.setData("获取设备预置位超时"); msg.setData("获取设备预置位超时");
resultHolder.invokeResult(msg); resultHolder.invokeResult(msg);
}); });
resultHolder.put(key, uuid, result);
if (resultHolder.exist(key, null)) { if (resultHolder.exist(key, null)) {
return result; return result;
} }
resultHolder.put(key, uuid, result);
cmder.presetQuery(device, channelId, event -> { cmder.presetQuery(device, channelId, event -> {
RequestMessage msg = new RequestMessage(); RequestMessage msg = new RequestMessage();
msg.setId(uuid); msg.setId(uuid);

Loading…
Cancel
Save