| | |
| | | errMsg = "右超限"; |
| | | back = true; |
| | | } |
| | | if (!back && staProtocol.isWeightErr()) { |
| | | if (!back && staProtocol.getWeight() > 1000) { |
| | | errMsg = "超重"; |
| | | back = true; |
| | | } |
| | |
| | | errMsg = "扫码失败"; |
| | | back = true; |
| | | } |
| | | // if (!back && staProtocol.getWeight() == 0.0) { |
| | | // errMsg = "重量获取失败"; |
| | | // back = true; |
| | | // } |
| | | |
| | | |
| | | // 退回 |
| | | if (back) { |
| | |
| | | param.setIoType(1); |
| | | param.setSourceStaNo(inSta.getStaNo()); |
| | | param.setLocType1(locTypeDto.getLocType1()); |
| | | param.setWeight(staProtocol.getWeight()); |
| | | String response = new HttpHandler.Builder() |
| | | .setTimeout(30,TimeUnit.SECONDS) |
| | | .setUri(wmsUrl) |