rev 条码器
This commit is contained in:
@@ -253,14 +253,16 @@ public class StandardCoveyorControlWithScannerDeviceDriver extends AbstractOpcDe
|
|||||||
log.debug("设备运转模式:等待工作");
|
log.debug("设备运转模式:等待工作");
|
||||||
break;
|
break;
|
||||||
case 2:
|
case 2:
|
||||||
if (!requireSucess){
|
if (!requireSucess && StrUtil.isNotEmpty(barcode())) {
|
||||||
logServer.deviceExecuteLog(this.device_code, "", "", "扫码器扫到的条码为:" + barcode());
|
logServer.deviceExecuteLog(this.device_code, "", "", "扫码器扫到的条码为:" + barcode());
|
||||||
}
|
}
|
||||||
//申请任务
|
//申请任务
|
||||||
if (!StrUtil.isEmpty(barcode()) && !requireSucess) {
|
if (!StrUtil.isEmpty(barcode()) && !StrUtil.equals(barcode(), "NoRead") && !requireSucess) {
|
||||||
|
logServer.deviceExecuteLog(this.device_code, "", "", "开始申请任务~~~~~~");
|
||||||
instruction_require(barcode());
|
instruction_require(barcode());
|
||||||
|
logServer.deviceExecuteLog(this.device_code, "", "", "申请任务成功~~~~~~");
|
||||||
}
|
}
|
||||||
if (!StrUtil.isEmpty(barcode()) && !applySucess) {
|
if (!StrUtil.isEmpty(barcode()) && !StrUtil.equals(barcode(), "NoRead") && !applySucess) {
|
||||||
instruction_apply(barcode());
|
instruction_apply(barcode());
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user