|
|
@ -2181,26 +2181,26 @@ public class AgvServiceImpl implements AgvService { |
|
|
|
jo4.put("operation", "JackUnload"); |
|
|
|
ja.add(jo4); |
|
|
|
|
|
|
|
// if ("true".equals(nextDevice.getExtraValue().get("ignore_release_check"))) {
|
|
|
|
// //放货完成等待
|
|
|
|
// com.alibaba.fastjson.JSONObject jo5 = new com.alibaba.fastjson.JSONObject();
|
|
|
|
// jo5.put("blockId", IdUtil.simpleUUID());
|
|
|
|
// jo5.put("location", inst.getNext_point_code() + "OUTPUT");
|
|
|
|
// jo5.put("operation", "script");
|
|
|
|
// jo5.put("id", inst.getNext_point_code() + "OUTPUT");
|
|
|
|
// jo5.put("script_name", "userpy/interact.py");
|
|
|
|
// com.alibaba.fastjson.JSONObject script_args5 = new com.alibaba.fastjson.JSONObject();
|
|
|
|
// script_args5.put("addr", addr);
|
|
|
|
// com.alibaba.fastjson.JSONObject data5 = new com.alibaba.fastjson.JSONObject();
|
|
|
|
// com.alibaba.fastjson.JSONObject reach5 = new com.alibaba.fastjson.JSONObject();
|
|
|
|
// reach5.put("task_code", inst.getInstruction_code());
|
|
|
|
// reach5.put("address", inst.getNext_point_code() + "OUTPUT");
|
|
|
|
// data5.put("reach", reach5);
|
|
|
|
// script_args5.put("data", data5);
|
|
|
|
// script_args5.put("protocol", "HTTP");
|
|
|
|
// jo5.put("script_args", script_args5);
|
|
|
|
// ja.add(jo5);
|
|
|
|
// }
|
|
|
|
if ("true".equals(nextDevice.getExtraValue().get("ignore_release_check"))) { |
|
|
|
//放货完成等待
|
|
|
|
com.alibaba.fastjson.JSONObject jo5 = new com.alibaba.fastjson.JSONObject(); |
|
|
|
jo5.put("blockId", IdUtil.simpleUUID()); |
|
|
|
jo5.put("location", inst.getNext_point_code() + "OUTPUT"); |
|
|
|
jo5.put("operation", "script"); |
|
|
|
jo5.put("id", inst.getNext_point_code() + "OUTPUT"); |
|
|
|
jo5.put("script_name", "userpy/interact.py"); |
|
|
|
com.alibaba.fastjson.JSONObject script_args5 = new com.alibaba.fastjson.JSONObject(); |
|
|
|
script_args5.put("addr", addr); |
|
|
|
com.alibaba.fastjson.JSONObject data5 = new com.alibaba.fastjson.JSONObject(); |
|
|
|
com.alibaba.fastjson.JSONObject reach5 = new com.alibaba.fastjson.JSONObject(); |
|
|
|
reach5.put("task_code", inst.getInstruction_code()); |
|
|
|
reach5.put("address", inst.getNext_point_code() + "OUTPUT"); |
|
|
|
data5.put("reach", reach5); |
|
|
|
script_args5.put("data", data5); |
|
|
|
script_args5.put("protocol", "HTTP"); |
|
|
|
jo5.put("script_args", script_args5); |
|
|
|
ja.add(jo5); |
|
|
|
} |
|
|
|
|
|
|
|
return ja; |
|
|
|
} |
|
|
|