|
@ -166,10 +166,12 @@ public class LampThreecolorDeviceDriver extends AbstractOpcDeviceDriver implemen |
|
|
String[] carArr = {dataList.get(0).getString("id")}; |
|
|
String[] carArr = {dataList.get(0).getString("id")}; |
|
|
JSONObject json = new JSONObject(); |
|
|
JSONObject json = new JSONObject(); |
|
|
json.put("vehicles", carArr); |
|
|
json.put("vehicles", carArr); |
|
|
// 请求下发agv急停
|
|
|
if (ObjectUtil.isNotEmpty(carArr)) { |
|
|
XianGongAgvServiceImpl xianGongAgv = SpringContextHolder.getBean(XianGongAgvServiceImpl.class); |
|
|
// 请求下发agv急停
|
|
|
//创建订单序列
|
|
|
XianGongAgvServiceImpl xianGongAgv = SpringContextHolder.getBean(XianGongAgvServiceImpl.class); |
|
|
xianGongAgv.sendOrderStopToXZ(json); |
|
|
//创建订单序列
|
|
|
|
|
|
xianGongAgv.sendOrderStopToXZ(json); |
|
|
|
|
|
} |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
} |
|
|
} |
|
|