fix: 堆垛机取货完成给任务号、叉车去动作块
This commit is contained in:
@@ -1382,11 +1382,6 @@ public class XianGongAgvServiceImpl implements XianGongAgvService {
|
||||
jo4.put("script_args", script_args1);
|
||||
ja.add(jo4);
|
||||
|
||||
JSONObject jo6 = new JSONObject();
|
||||
jo6.put("blockId", IdUtil.simpleUUID());
|
||||
jo6.put("location", inst.getStart_point_code());
|
||||
jo6.put("binTask", "Script");
|
||||
ja.add(jo6);
|
||||
|
||||
JSONObject jo7 = new JSONObject();
|
||||
jo7.put("blockId", IdUtil.simpleUUID());
|
||||
@@ -1479,11 +1474,7 @@ public class XianGongAgvServiceImpl implements XianGongAgvService {
|
||||
jo4.put("script_args", script_args1);
|
||||
ja.add(jo4);
|
||||
|
||||
JSONObject jo6 = new JSONObject();
|
||||
jo6.put("blockId", IdUtil.simpleUUID());
|
||||
jo6.put("location", inst.getStart_point_code());
|
||||
jo6.put("binTask", "Script");
|
||||
ja.add(jo6);
|
||||
|
||||
|
||||
JSONObject jo7 = new JSONObject();
|
||||
jo7.put("blockId", IdUtil.simpleUUID());
|
||||
|
||||
@@ -455,6 +455,10 @@ public class StandardStackerDeviceDriver extends AbstractOpcDeviceDriver impleme
|
||||
map3.put("value", inst.getTo_y());
|
||||
list.add(map3);
|
||||
}
|
||||
Map<String, Object> map5 = new HashMap<>();
|
||||
map5.put("code", "to_task");
|
||||
map5.put("value", task);
|
||||
list.add(map5);
|
||||
Map<String, Object> map4 = new HashMap<>();
|
||||
map4.put("code", "to_command");
|
||||
map4.put("value", 2);
|
||||
@@ -577,7 +581,7 @@ public class StandardStackerDeviceDriver extends AbstractOpcDeviceDriver impleme
|
||||
.build();
|
||||
logDto.setLog_level(4);
|
||||
luceneExecuteLogService.deviceExecuteLog(logDto);
|
||||
|
||||
|
||||
var17.printStackTrace();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user