REV 校验扫码
This commit is contained in:
@@ -257,12 +257,12 @@ public class StandardCoveyorControlWithScannerDeviceDriver extends AbstractOpcDe
|
||||
logServer.deviceExecuteLog(this.device_code, "", "", "扫码器扫到的条码为:" + barcode());
|
||||
}
|
||||
//申请任务
|
||||
if (!StrUtil.isEmpty(barcode()) && !StrUtil.equals(barcode(), "NoRead") && !requireSucess) {
|
||||
if (!StrUtil.isEmpty(barcode()) && !StrUtil.equals(barcode(), "NoRead") && barcode().trim().length() == 12 && !requireSucess) {
|
||||
logServer.deviceExecuteLog(this.device_code, "", "", "开始申请任务~~~~~~");
|
||||
instruction_require(barcode());
|
||||
logServer.deviceExecuteLog(this.device_code, "", "", "申请任务成功~~~~~~");
|
||||
}
|
||||
if (!StrUtil.isEmpty(barcode()) && !StrUtil.equals(barcode(), "NoRead") && !applySucess) {
|
||||
if (!StrUtil.isEmpty(barcode()) && !StrUtil.equals(barcode(), "NoRead") && barcode().trim().length() == 12 && !applySucess) {
|
||||
instruction_apply(barcode());
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user