| | |
| | | |
| | | //入库口 |
| | | public static final List<Integer> STA_WORK_IN = new ArrayList<Integer>() {{ |
| | | add(1042);add(1043);add(1104);add(1105);add(1038);add(1036);add(2037); |
| | | add(1042);add(1043);add(1044);add(1104);add(1105);add(1103);add(1038);add(1036);add(2037); |
| | | }}; |
| | | |
| | | //出库口 |
| | |
| | | put(1105,1105);put(1104,1105);put(1043,1042);put(1042,1042); |
| | | }}; |
| | | public static final Map<Integer, Integer> siteInMap = new HashMap<Integer, Integer>() {{ |
| | | put(1043, 1042);put(1042, 1042);put(1105, 1105);put(1104, 1105);put(1036, 1036);put(1038, 1038);put(2037,2037); |
| | | put(1043, 1042);put(1042, 1042);put(1044, 1042);put(1105, 1105);put(1104, 1105); |
| | | put(1103, 1105);put(1036, 1036);put(1038, 1038);put(2037,2037); |
| | | }}; |
| | | |
| | | // 异常出库口 |
| | | public static final List<Integer> STA_WORK_Exception = new ArrayList<Integer>() {{ |
| | | add(1042);add(1105);add(1104);add(1043); |
| | | add(1042);add(1105);add(1104);add(1043);add(1044);add(1103); |
| | | }}; |
| | | |
| | | // public static final List<Integer> STA_WORK_CU_CAR_TWO = new ArrayList<Integer>() {{ |
| | |
| | | return SUCCESS; |
| | | } |
| | | switch (type){ |
| | | // case 13://出 3:取放 |
| | | // if (Cools.isEmpty(wrkMastSta)){ |
| | | // WrkMastSta wrkMastSta1 = new WrkMastSta(wrkMast,new Date(),basDevp); |
| | | // wrkMastSta1.setWrkNo(Long.valueOf(wrkMast.getWrkNo())); |
| | | // wrkMastSta1.setType(1); //类型 1:非空 2:空板 |
| | | // wrkMastSta1.setWrkType(3); //工作类型 1:取(叠盘) 2:拆盘 3:取放 5:满取 6:满放 |
| | | // wrkMastStaService.insert(wrkMastSta1); |
| | | // } |
| | | // break; |
| | | case 21://入库 |
| | | if (Cools.isEmpty(wrkMastSta)){ |
| | | WrkMastSta wrkMastSta1 = new WrkMastSta(wrkMast,new Date(),basDevp); |
| | |
| | | if (Cools.isEmpty(wrkMastSta)){ |
| | | WrkMastSta wrkMastSta1 = new WrkMastSta(wrkMast,new Date(),basDevp); |
| | | wrkMastSta1.setWrkNo(Long.valueOf(wrkMast.getWrkNo())); |
| | | if(wrkMast.getIoType() == 57){ |
| | | if(wrkMast.getIoType() == 57 || wrkMast.getIoType() == 53){ |
| | | switch (wrkMast.getCrnNo()) { |
| | | case 1: |
| | | if (wrkMast.getSourceStaNo() < 2000) { |