| | |
| | | } |
| | | String barcode11 = barcodeThread.getBarcode(); |
| | | if (Cools.isEmpty(barcode11)) { |
| | | System.out.println("0000"); |
| | | if (staProtocol.isAutoing() && !staProtocol.isEmptyMk() && staProtocol.getWorkNo() == 9999 && staProtocol.isPakMk() && staProtocol.getStamp() == 2) { |
| | | staProtocol.setStamp(3); |
| | | News.info("" + mark + " - 7" + " - 扫码失败2 ===>> {}号条码扫描器检测条码信息:{},站点:{}", inSta.getBarcode(), barcode11, inSta.getStaNo()); |
| | |
| | | param.setIoType(10); |
| | | param.setSourceStaNo(emptyInSta.getStaNo()); |
| | | param.setLocType1(locTypeDto.getLocType1()); |
| | | if (emptyInSta.getStaNo() == 102) { |
| | | param.setLocType2((short) 3); |
| | | } else if (emptyInSta.getStaNo() == 211) { |
| | | param.setLocType1((short) 5); |
| | | param.setLocType2((short) 4); |
| | | } else if (emptyInSta.getStaNo() == 201) { |
| | | param.setLocType2((short) 4); |
| | | } |
| | | String response = new HttpHandler.Builder() |
| | | .setUri(wmsUrl) |
| | | .setPath("/rpc/pakin/loc/v1") |