648540858
2024-01-10 c25a99d60bef3d3bbd59fee895bd658928fd00db
src/main/java/com/genersoft/iot/vmp/vmanager/gb28181/device/DeviceControl.java
old mode 100644 new mode 100755
@@ -32,7 +32,7 @@
import java.util.UUID;
@Tag(name  = "国标设备控制")
@CrossOrigin
@RestController
@RequestMapping("/api/device/control")
public class DeviceControl {
@@ -268,7 +268,7 @@
      String uuid = UUID.randomUUID().toString();
      Device device = storager.queryVideoDevice(deviceId);
      try {
         cmder.homePositionCmd(device, channelId,null, enabled, resetTime, presetIndex, event -> {
         cmder.homePositionCmd(device, channelId, enabled, resetTime, presetIndex, event -> {
            RequestMessage msg = new RequestMessage();
            msg.setId(uuid);
            msg.setKey(key);