pangshenghao 1 year ago
parent
commit
43299dbcb6
  1. 2
      acs/nladmin-system/src/main/java/org/nl/acs/device_driver/basedriver/agv/ndcone/AgvNdcOneDeviceDriver.java

2
acs/nladmin-system/src/main/java/org/nl/acs/device_driver/basedriver/agv/ndcone/AgvNdcOneDeviceDriver.java

@ -190,7 +190,7 @@ public class AgvNdcOneDeviceDriver extends AbstractDeviceDriver implements Devic
req.add(map);
HttpResponse httpResponse = acsToWmsService.feedAgvTaskStatus(req);
if (ObjectUtil.isNotEmpty(httpResponse) && httpResponse.getStatus() == 200) {
JSONObject resp = JSONObject.parseObject(httpResponse.body());
JSONObject resp = JSONObject.parseObject(httpResponse.body()).getJSONObject("data");
if (resp.getInteger("status") == 200) {
start_height=resp.getInteger("start_height");
next_height=resp.getInteger("next_height");

Loading…
Cancel
Save