xubinbin
2023-12-12 42a2772d1aa7493bcc4fac3e24ee8eda4eebc23d
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);