优化
This commit is contained in:
@@ -154,18 +154,18 @@ public class LineSsjThread implements Runnable {
|
||||
* 9, "创建工艺入库单失败!"
|
||||
*/
|
||||
//超大,给plc下发错误信息,AGV搬到缓存区 其余人工处理
|
||||
if ((Integer) ajaxResult.get("code") == 5) {
|
||||
int i = writeToSsj(SsjDevice.getPlcDbWriteAddress(), "2222", 1, 1);
|
||||
if (i == 1) {
|
||||
log.info("G1005产线输送机下发超大托盘处理成功");
|
||||
}
|
||||
createMoveToPort(SsjDevice);
|
||||
} else {
|
||||
int i = writeToSsj(SsjDevice.getPlcDbWriteAddress(), "99", Integer.parseInt(ajaxResult.get("code").toString()), 2);
|
||||
if (i == 1) {
|
||||
log.info("G1005产线输送机下发错误信息成功");
|
||||
}
|
||||
}
|
||||
// if ((Integer) ajaxResult.get("code") == 5) {
|
||||
// int i = writeToSsj(SsjDevice.getPlcDbWriteAddress(), "2222", 1, 1);
|
||||
// if (i == 1) {
|
||||
// log.info("G1005产线输送机下发超大托盘处理成功");
|
||||
// }
|
||||
// createMoveToPort(SsjDevice);
|
||||
// } else {
|
||||
// int i = writeToSsj(SsjDevice.getPlcDbWriteAddress(), "99", Integer.parseInt(ajaxResult.get("code").toString()), 2);
|
||||
// if (i == 1) {
|
||||
// log.info("G1005产线输送机下发错误信息成功");
|
||||
// }
|
||||
// }
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user