Browse Source

更新

master
gengby 2 years ago
parent
commit
b2c183cd86
  1. 4
      acs/nladmin-system/src/main/java/org/nl/acs/agv/server/impl/NDCAgvServiceImpl.java
  2. 8
      acs/nladmin-system/src/main/java/org/nl/acs/ext/wms/service/impl/AcsToWmsServiceImpl.java

4
acs/nladmin-system/src/main/java/org/nl/acs/agv/server/impl/NDCAgvServiceImpl.java

@ -63,8 +63,10 @@ public class NDCAgvServiceImpl implements NDCAgvService {
};
log.info("下发删除AGV指令--{}", Bytes2HexString(b));
// NDCSocketConnectionAutoRun.write(b);
OneNDCSocketConnectionAutoRun.write(b);
System.out.println("下发删除agv指令数据:" + Bytes2HexString(b));
} else {
log.info("下发AGV删除指令失败:{}", "参数表中forkagv值不等于1");
}
}

8
acs/nladmin-system/src/main/java/org/nl/acs/ext/wms/service/impl/AcsToWmsServiceImpl.java

@ -130,9 +130,9 @@ public class AcsToWmsServiceImpl implements AcsToWmsService {
.header("Content-Type", "application/json")
.body(String.valueOf(reqData))
.execute();
log.info("反馈WMS任务状态,请求参数:{},响应参数:{}", String.valueOf(reqData), String.valueOf(result));
log.info("反馈WMS任务状态,请求路径:{},请求参数:{},响应参数:{}", url + taskcode, String.valueOf(reqData), String.valueOf(result));
} catch (Exception e) {
log.error("反馈WMS任务状态,请求参数:{},响应参数:{}", String.valueOf(reqData), e.getMessage());
log.error("反馈WMS任务状态,请求路径:{},请求参数:{},响应参数:{}", url + taskcode, String.valueOf(reqData), e.getMessage());
}
}
String type = "";
@ -567,9 +567,9 @@ public class AcsToWmsServiceImpl implements AcsToWmsService {
result = HttpRequest.post(url + "?token=" + token)
.body(JSON.toJSONString(from))
.execute();
log.info("反馈WMS取放货状态,请求参数:{},响应参数:{}", JSON.toJSONString(from), String.valueOf(result));
log.info("反馈WMS取放货状态,请求路径:{},请求参数:{},响应参数:{}", url, JSON.toJSONString(from), String.valueOf(result));
} catch (Exception e) {
log.info("反馈WMS取放货状态,请求参数:{},响应参数:{}", JSON.toJSONString(from), e.getMessage());
log.info("反馈WMS取放货状态,请求路径:{},请求参数:{},响应参数:{}", url, JSON.toJSONString(from), e.getMessage());
}
return result;
}

Loading…
Cancel
Save