opt: 一期分切行架下发指令优化,二期设备驱动优化
This commit is contained in:
@@ -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 = "";
|
||||
|
||||
Reference in New Issue
Block a user