| | |
| | | staProtocol.setSegApply(status2[2]); |
| | | staProtocol.setApplyErr(status2[3]); |
| | | |
| | | if (!status2[1] && !status[0]) { |
| | | if (!status2[1] && !status[1]) { |
| | | staProtocol.setStartUpFlag(true); |
| | | } |
| | | |
| | |
| | | content, seg[1] + i * DeviceField.BARCODE.getByteLength(), |
| | | DeviceField.BARCODE.getByteLength()-seg[1] , "UTF-8").trim(); |
| | | |
| | | if (!Cools.isEmpty(barcode) && !barcode.contains("Default") && staNo != 0) { |
| | | if (!Cools.isEmpty(barcode) && !barcode.contains("Default") && !barcode.contains("Error") && staNo != 0) { |
| | | StaProtocol staProtocol = station.get(staNo); |
| | | if (staProtocol == null) { |
| | | log.warn("扫码站点不存在 [id:{}] [staNo:{}]", slave.getId(), staNo); |