|
|
|
|
@ -571,6 +571,7 @@ public class PlcService {
|
|
|
|
|
log.info("camera ptz"+c);
|
|
|
|
|
gyrateCameraByCode(cameraIdTop, c);
|
|
|
|
|
}else {
|
|
|
|
|
log.info("camera ptz"+cmdCode);
|
|
|
|
|
gyrateCameraByCode(cameraIdTop, cmdCode);
|
|
|
|
|
try {
|
|
|
|
|
Thread.sleep(configProperties.getCameraConfig().getDelayCaptureTime());
|
|
|
|
|
@ -583,7 +584,7 @@ public class PlcService {
|
|
|
|
|
String path = PathUtil.createFileNameByRowColumn("jpg",cameraId,plcCmdInfo.getRow1(),plcCmdInfo.getColumn1());
|
|
|
|
|
//拍照暂停1s再拍
|
|
|
|
|
try {
|
|
|
|
|
Thread.sleep(1000l);
|
|
|
|
|
Thread.sleep(configProperties.getCameraConfig().getEDelayCaptureTime());
|
|
|
|
|
} catch (InterruptedException e) {
|
|
|
|
|
e.printStackTrace();
|
|
|
|
|
}
|
|
|
|
|
@ -593,7 +594,7 @@ public class PlcService {
|
|
|
|
|
log.info("camera ptz"+e2);
|
|
|
|
|
gyrateCameraByCode(cameraId, e2);
|
|
|
|
|
try {
|
|
|
|
|
Thread.sleep(1500l);
|
|
|
|
|
Thread.sleep(configProperties.getCameraConfig().getEDelayCaptureTime());
|
|
|
|
|
} catch (InterruptedException e) {
|
|
|
|
|
e.printStackTrace();
|
|
|
|
|
}
|
|
|
|
|
|