|
|
|
|
@ -190,7 +190,7 @@ public class PlcService {
|
|
|
|
|
/**
|
|
|
|
|
* 拍照是C2 C4拍照(取货完成、放货完成)
|
|
|
|
|
*/
|
|
|
|
|
Boolean needCapture = doNeedCaptureByCode(code);
|
|
|
|
|
Boolean needCapture = doNeedCaptureByCode(orderInfo.getCmdCode());
|
|
|
|
|
/***
|
|
|
|
|
* 判断该巷道有几个相机
|
|
|
|
|
* 如果有一个相机,就一个相机转
|
|
|
|
|
@ -199,7 +199,7 @@ public class PlcService {
|
|
|
|
|
* 没有就不管了
|
|
|
|
|
*/
|
|
|
|
|
Integer cameraId = getCameraByPlcCmd(plcCmdInfo,orderInfo.getLeftRight());
|
|
|
|
|
gyrateCameraByCode(cameraId,code);
|
|
|
|
|
gyrateCameraByCode(cameraId,orderInfo.getCmdCode());
|
|
|
|
|
if(needCapture){
|
|
|
|
|
Boolean delay = false;
|
|
|
|
|
if(code.startsWith("C1") || code.startsWith("C3")){
|
|
|
|
|
|