Update HfStationDeviceDriver.java

This commit is contained in:
张江玮
2023-09-26 08:39:40 +08:00
parent f65c57964b
commit f9e58f9c36

View File

@@ -270,12 +270,6 @@ public class HfStationDeviceDriver extends AbstractOpcDeviceDriver implements De
applyMoveEmpty(); applyMoveEmpty();
} }
if (!updateBarcodeRequireSucess || !moveUpdateSuccess) {
if (device_code.startsWith("MLZ") || "GT03".equals(device_code)) {
updateBarcode();
}
}
} catch (Exception var17) { } catch (Exception var17) {
return; return;
@@ -310,6 +304,11 @@ public class HfStationDeviceDriver extends AbstractOpcDeviceDriver implements De
log.debug("设备运转模式:等待工作"); log.debug("设备运转模式:等待工作");
break; break;
case 2: case 2:
if (!updateBarcodeRequireSucess || !moveUpdateSuccess) {
if (device_code.startsWith("MLZ") || "GT03".equals(device_code)) {
updateBarcode();
}
}
break; break;
case 3: case 3:
//人工排产确认 //人工排产确认