|
|
|
@ -31,7 +31,7 @@ public class OrderInfo {
|
|
|
|
|
|
|
|
|
|
|
|
private Integer leftRight;
|
|
|
|
private Integer leftRight;
|
|
|
|
|
|
|
|
|
|
|
|
public OrderInfo(Street street, PlcCmdInfo plcCmdInfo, Integer times){
|
|
|
|
public OrderInfo(Street street, PlcCmdInfo plcCmdInfo, Integer times, String c) {
|
|
|
|
if (street == null) {
|
|
|
|
if (street == null) {
|
|
|
|
return;
|
|
|
|
return;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
@ -52,15 +52,6 @@ public class OrderInfo {
|
|
|
|
row = plcCmdInfo.getRow2();
|
|
|
|
row = plcCmdInfo.getRow2();
|
|
|
|
column = plcCmdInfo.getColumn2();
|
|
|
|
column = plcCmdInfo.getColumn2();
|
|
|
|
}
|
|
|
|
}
|
|
|
|
//找到球机IO配置的预置点
|
|
|
|
|
|
|
|
//todo
|
|
|
|
|
|
|
|
if(!"C6".equals(code)){
|
|
|
|
|
|
|
|
if(leftRight == 1){
|
|
|
|
|
|
|
|
code = code+"-L";
|
|
|
|
|
|
|
|
}else if(leftRight == 2){
|
|
|
|
|
|
|
|
code = code+"-R";
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
if (leftRight == 1) {
|
|
|
|
if (leftRight == 1) {
|
|
|
|
shelveId = street.getLeftShelveId();
|
|
|
|
shelveId = street.getLeftShelveId();
|
|
|
|
} else {
|
|
|
|
} else {
|
|
|
|
@ -68,6 +59,7 @@ public class OrderInfo {
|
|
|
|
}
|
|
|
|
}
|
|
|
|
orderId = 0L;
|
|
|
|
orderId = 0L;
|
|
|
|
orderNum = plcCmdInfo.getOrderNum();
|
|
|
|
orderNum = plcCmdInfo.getOrderNum();
|
|
|
|
|
|
|
|
code = c;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|