This commit is contained in:
2023-01-03 21:52:14 +08:00
parent 197b6a49b8
commit 9887483aa1
5 changed files with 27 additions and 9 deletions

View File

@@ -171,7 +171,6 @@ public class HfStationDeviceDriver extends AbstractOpcDeviceDriver implements De
String message = null;
try {
device_code = this.getDeviceCode();
mode = this.itemProtocol.getMode();
move = this.itemProtocol.getMove();
action = this.itemProtocol.getAction();

View File

@@ -446,6 +446,7 @@ public class HfTwoRGVDeviceDriver extends AbstractOpcDeviceDriver implements Dev
String next_device_code = task.getNext_device_code();
if (repeatDeviceCodeList.contains(startDeviceCode)) {
if (!repeatPutDeviceCodeList.contains(next_device_code)) {
task = null;
continue;
} else {
if (ObjectUtil.isNotEmpty(task)) break;
@@ -552,13 +553,14 @@ public class HfTwoRGVDeviceDriver extends AbstractOpcDeviceDriver implements Dev
String next_device_code = task.getNext_device_code();
if (repeatDeviceCodeList.contains(startDeviceCode)) {
if (!repeatPutDeviceCodeList.contains(next_device_code)) {
task = null;
continue;
} else {
if (ObjectUtil.isNotEmpty(task)) break;
}
}
}
if (ObjectUtil.isNotEmpty(task));
if (ObjectUtil.isNotEmpty(task)) ;
}
}