fix:内包间行架rgv问题修复

This commit is contained in:
2023-12-27 15:47:09 +08:00
parent d53c970bf0
commit c5915c8434

View File

@@ -831,22 +831,21 @@ public class IndoorManipulatorDeviceDriver extends AbstractOpcDeviceDriver imple
//按照优先级排序 优先级相等按照创建时间排序
taskDtoList = this.sortTask(taskDtoList);
for (int j = 0; j < taskDtoList.size(); j++) {
for (int i1 = 0; i1 < taskDtoList.size(); i1++) {
task = taskDtoList.get(i1);
task = taskDtoList.get(j);
Boolean flag;
if ("6".equals(task.getTruss_type())) {
flag = checkAgv(task);
if (flag) {
break;
}
if (!flag && i1 == taskDtoList.size()-1) {
if (!flag && j == taskDtoList.size() - 1) {
notCreateInstMessage = "rgv条件不匹配" + "任务号为:" + task.getTask_code();
return false;
}
} else {
break;
}
}
// 9 行架任务
if (!StrUtil.equals(task.getTask_type(), "9")) {
task = null;