|
@ -638,7 +638,11 @@ public class XianGongAgvServiceImpl implements XianGongAgvService { |
|
|
JSONObject block = new JSONObject(); |
|
|
JSONObject block = new JSONObject(); |
|
|
block.put("blockId", IdUtil.simpleUUID()); |
|
|
block.put("blockId", IdUtil.simpleUUID()); |
|
|
block.put("location", inst.getStart_point_code() + "INGET"); |
|
|
block.put("location", inst.getStart_point_code() + "INGET"); |
|
|
block.put("operation", "ForkHeight"); |
|
|
if ("CPJSSX,BZXXL".contains(inst.getStart_device_code())) { |
|
|
|
|
|
block.put("operation", "script"); |
|
|
|
|
|
} else { |
|
|
|
|
|
block.put("operation", "ForkHeight"); |
|
|
|
|
|
} |
|
|
block.put("id", inst.getStart_point_code() + "INGET"); |
|
|
block.put("id", inst.getStart_point_code() + "INGET"); |
|
|
block.put("script_name", "userpy/interact.py"); |
|
|
block.put("script_name", "userpy/interact.py"); |
|
|
JSONObject scriptArgs = new JSONObject(); |
|
|
JSONObject scriptArgs = new JSONObject(); |
|
@ -668,7 +672,11 @@ public class XianGongAgvServiceImpl implements XianGongAgvService { |
|
|
block = new JSONObject(); |
|
|
block = new JSONObject(); |
|
|
block.put("blockId", IdUtil.simpleUUID()); |
|
|
block.put("blockId", IdUtil.simpleUUID()); |
|
|
block.put("location", inst.getStart_point_code() + "OUTGET"); |
|
|
block.put("location", inst.getStart_point_code() + "OUTGET"); |
|
|
block.put("operation", "ForkHeight"); |
|
|
if ("CPJSSX,BZXXL".contains(inst.getStart_device_code())) { |
|
|
|
|
|
block.put("operation", "script"); |
|
|
|
|
|
} else { |
|
|
|
|
|
block.put("operation", "ForkHeight"); |
|
|
|
|
|
} |
|
|
block.put("id", inst.getStart_point_code() + "OUTGET"); |
|
|
block.put("id", inst.getStart_point_code() + "OUTGET"); |
|
|
block.put("script_name", "userpy/interact.py"); |
|
|
block.put("script_name", "userpy/interact.py"); |
|
|
JSONObject scriptArgs = new JSONObject(); |
|
|
JSONObject scriptArgs = new JSONObject(); |
|
@ -699,7 +707,11 @@ public class XianGongAgvServiceImpl implements XianGongAgvService { |
|
|
block = new JSONObject(); |
|
|
block = new JSONObject(); |
|
|
block.put("blockId", IdUtil.simpleUUID()); |
|
|
block.put("blockId", IdUtil.simpleUUID()); |
|
|
block.put("location", inst.getNext_point_code() + "INPUT"); |
|
|
block.put("location", inst.getNext_point_code() + "INPUT"); |
|
|
block.put("operation", "ForkHeight"); |
|
|
if ("CPJSSX,BZXXL".contains(inst.getNext_device_code())) { |
|
|
|
|
|
block.put("operation", "script"); |
|
|
|
|
|
} else { |
|
|
|
|
|
block.put("operation", "ForkHeight"); |
|
|
|
|
|
} |
|
|
block.put("id", inst.getNext_point_code() + "INPUT"); |
|
|
block.put("id", inst.getNext_point_code() + "INPUT"); |
|
|
block.put("script_name", "userpy/interact.py"); |
|
|
block.put("script_name", "userpy/interact.py"); |
|
|
JSONObject scriptArgs = new JSONObject(); |
|
|
JSONObject scriptArgs = new JSONObject(); |
|
@ -726,7 +738,11 @@ public class XianGongAgvServiceImpl implements XianGongAgvService { |
|
|
block = new JSONObject(); |
|
|
block = new JSONObject(); |
|
|
block.put("blockId", IdUtil.simpleUUID()); |
|
|
block.put("blockId", IdUtil.simpleUUID()); |
|
|
block.put("location", inst.getNext_point_code() + "OUTPUT"); |
|
|
block.put("location", inst.getNext_point_code() + "OUTPUT"); |
|
|
block.put("operation", "ForkHeight"); |
|
|
if ("CPJSSX,BZXXL".contains(inst.getNext_device_code())) { |
|
|
|
|
|
block.put("operation", "script"); |
|
|
|
|
|
} else { |
|
|
|
|
|
block.put("operation", "ForkHeight"); |
|
|
|
|
|
} |
|
|
block.put("id", inst.getNext_point_code() + "OUTPUT"); |
|
|
block.put("id", inst.getNext_point_code() + "OUTPUT"); |
|
|
block.put("script_name", "userpy/interact.py"); |
|
|
block.put("script_name", "userpy/interact.py"); |
|
|
JSONObject scriptArgs = new JSONObject(); |
|
|
JSONObject scriptArgs = new JSONObject(); |
|
@ -758,7 +774,11 @@ public class XianGongAgvServiceImpl implements XianGongAgvService { |
|
|
block = new JSONObject(); |
|
|
block = new JSONObject(); |
|
|
block.put("blockId", IdUtil.simpleUUID()); |
|
|
block.put("blockId", IdUtil.simpleUUID()); |
|
|
block.put("location", inst.getStart_point_code2() + "INGET"); |
|
|
block.put("location", inst.getStart_point_code2() + "INGET"); |
|
|
block.put("operation", "ForkHeight"); |
|
|
if ("CPJSSX,BZXXL".contains(inst.getStart_device_code2())) { |
|
|
|
|
|
block.put("operation", "script"); |
|
|
|
|
|
} else { |
|
|
|
|
|
block.put("operation", "ForkHeight"); |
|
|
|
|
|
} |
|
|
block.put("id", inst.getStart_point_code2() + "INGET"); |
|
|
block.put("id", inst.getStart_point_code2() + "INGET"); |
|
|
block.put("script_name", "userpy/interact.py"); |
|
|
block.put("script_name", "userpy/interact.py"); |
|
|
JSONObject scriptArgs = new JSONObject(); |
|
|
JSONObject scriptArgs = new JSONObject(); |
|
@ -788,7 +808,11 @@ public class XianGongAgvServiceImpl implements XianGongAgvService { |
|
|
block = new JSONObject(); |
|
|
block = new JSONObject(); |
|
|
block.put("blockId", IdUtil.simpleUUID()); |
|
|
block.put("blockId", IdUtil.simpleUUID()); |
|
|
block.put("location", inst.getStart_point_code2() + "OUTGET"); |
|
|
block.put("location", inst.getStart_point_code2() + "OUTGET"); |
|
|
block.put("operation", "ForkHeight"); |
|
|
if ("CPJSSX,BZXXL".contains(inst.getStart_device_code2())) { |
|
|
|
|
|
block.put("operation", "script"); |
|
|
|
|
|
} else { |
|
|
|
|
|
block.put("operation", "ForkHeight"); |
|
|
|
|
|
} |
|
|
block.put("id", inst.getStart_point_code2() + "OUTGET"); |
|
|
block.put("id", inst.getStart_point_code2() + "OUTGET"); |
|
|
block.put("script_name", "userpy/interact.py"); |
|
|
block.put("script_name", "userpy/interact.py"); |
|
|
JSONObject scriptArgs = new JSONObject(); |
|
|
JSONObject scriptArgs = new JSONObject(); |
|
@ -821,7 +845,11 @@ public class XianGongAgvServiceImpl implements XianGongAgvService { |
|
|
block = new JSONObject(); |
|
|
block = new JSONObject(); |
|
|
block.put("blockId", IdUtil.simpleUUID()); |
|
|
block.put("blockId", IdUtil.simpleUUID()); |
|
|
block.put("location", inst.getNext_point_code2() + "INPUT"); |
|
|
block.put("location", inst.getNext_point_code2() + "INPUT"); |
|
|
block.put("operation", "ForkHeight"); |
|
|
if ("CPJSSX,BZXXL".contains(inst.getNext_device_code2())) { |
|
|
|
|
|
block.put("operation", "script"); |
|
|
|
|
|
} else { |
|
|
|
|
|
block.put("operation", "ForkHeight"); |
|
|
|
|
|
} |
|
|
block.put("id", inst.getNext_point_code2() + "INPUT"); |
|
|
block.put("id", inst.getNext_point_code2() + "INPUT"); |
|
|
block.put("script_name", "userpy/interact.py"); |
|
|
block.put("script_name", "userpy/interact.py"); |
|
|
JSONObject scriptArgs = new JSONObject(); |
|
|
JSONObject scriptArgs = new JSONObject(); |
|
@ -848,7 +876,11 @@ public class XianGongAgvServiceImpl implements XianGongAgvService { |
|
|
block = new JSONObject(); |
|
|
block = new JSONObject(); |
|
|
block.put("blockId", IdUtil.simpleUUID()); |
|
|
block.put("blockId", IdUtil.simpleUUID()); |
|
|
block.put("location", inst.getNext_point_code2() + "OUTPUT"); |
|
|
block.put("location", inst.getNext_point_code2() + "OUTPUT"); |
|
|
block.put("operation", "ForkHeight"); |
|
|
if ("CPJSSX,BZXXL".contains(inst.getNext_device_code2())) { |
|
|
|
|
|
block.put("operation", "script"); |
|
|
|
|
|
} else { |
|
|
|
|
|
block.put("operation", "ForkHeight"); |
|
|
|
|
|
} |
|
|
block.put("id", inst.getNext_point_code2() + "OUTPUT"); |
|
|
block.put("id", inst.getNext_point_code2() + "OUTPUT"); |
|
|
block.put("script_name", "userpy/interact.py"); |
|
|
block.put("script_name", "userpy/interact.py"); |
|
|
JSONObject scriptArgs = new JSONObject(); |
|
|
JSONObject scriptArgs = new JSONObject(); |
|
|