fix: 堆垛机

This commit is contained in:
2024-03-20 15:00:59 +08:00
parent ea9cb45a3a
commit bb012a2c40

View File

@@ -473,9 +473,11 @@ public class StandardStackerDeviceDriver extends AbstractOpcDeviceDriver impleme
case 5:
message = "universal_releasing_completed";
Map<String, Object> map = new HashMap<>();
List list5 = new ArrayList<>();
map.put("code", "to_command");
map.put("value", 5);
list.add(map);
list5.add(map);
this.writing(list5);
Instruction inst = checkInst();
try {
finish_instruction(inst);
@@ -489,7 +491,6 @@ public class StandardStackerDeviceDriver extends AbstractOpcDeviceDriver impleme
if (ObjectUtil.isNotNull(list1)) {
this.writing(list1);
}
list.remove(0);
}
} catch (Exception e) {
e.printStackTrace();