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