|
|
|
|
@ -629,7 +629,7 @@ public class PlcService {
|
|
|
|
|
* @return
|
|
|
|
|
*/
|
|
|
|
|
@Transactional
|
|
|
|
|
public List<EmptyCheckPic> emptyCheck04(ECResultMessage ecResultMessage ){
|
|
|
|
|
public synchronized List<EmptyCheckPic> emptyCheck04(ECResultMessage ecResultMessage ){
|
|
|
|
|
EmptyCheckPic emptyCheckPic = new EmptyCheckPic(
|
|
|
|
|
ecResultMessage.getEmptyCheckMsg().substring(ecResultMessage.getEmptyCheckMsg()
|
|
|
|
|
.lastIndexOf(";",ecResultMessage.getEmptyCheckMsg().lastIndexOf(";")-1)+1,
|
|
|
|
|
@ -647,7 +647,7 @@ public class PlcService {
|
|
|
|
|
gyrateCameraByCode(cameraId,"C2-IN"+leftOrRight);
|
|
|
|
|
//等待2s再拍照
|
|
|
|
|
try {
|
|
|
|
|
Thread.sleep(1000l);
|
|
|
|
|
Thread.sleep(3000l);
|
|
|
|
|
} catch (InterruptedException e) {
|
|
|
|
|
e.printStackTrace();
|
|
|
|
|
}
|
|
|
|
|
@ -666,7 +666,7 @@ public class PlcService {
|
|
|
|
|
gyrateCameraByCode(cameraId,"C2-OUT"+leftOrRight);
|
|
|
|
|
//等待2s再拍照
|
|
|
|
|
try {
|
|
|
|
|
Thread.sleep(1000l);
|
|
|
|
|
Thread.sleep(3000l);
|
|
|
|
|
} catch (InterruptedException e) {
|
|
|
|
|
e.printStackTrace();
|
|
|
|
|
}
|
|
|
|
|
|