opt: 一期分切行架下发指令优化,二期设备驱动优化

This commit is contained in:
yanps
2025-01-18 13:23:10 +08:00
parent 98d9dfd024
commit ddf73d75e8
9 changed files with 64 additions and 21 deletions

View File

@@ -678,6 +678,13 @@ public class SlitTwoManipulatorDeviceDriver extends AbstractOpcDeviceDriver impl
}
if (!ObjectUtil.isEmpty(taskDto)) {
if (taskDto.getStart_device_code().endsWith("X")) {
Boolean result = this.checkIsSafe(taskDto.getStart_device_code(), taskDto);
if (!result) {
notCreateInstMessage = "该设备存在上工位任务,此任务无法执行!";
return false;
}
}
flag = this.executeReadyBusiness(taskDto, getDeviceCodeList, backGetDeviceCodeList);
if (flag) {
notCreateInstMessage = "";