Browse Source

Update WmsToAcsServiceImpl.java

master^2
张江玮 1 year ago
parent
commit
d93e2bdc27
  1. 3
      acs/nladmin-system/src/main/java/org/nl/acs/ext/wms/service/impl/WmsToAcsServiceImpl.java

3
acs/nladmin-system/src/main/java/org/nl/acs/ext/wms/service/impl/WmsToAcsServiceImpl.java

@ -644,7 +644,6 @@ public class WmsToAcsServiceImpl implements WmsToAcsService {
(byte) 0X00, (byte) 0X01
};
OneNDCSocketConnectionAutoRun.write(bytes1);
System.out.println("下发agv指令数据:" + NDCAgvServiceImpl.Bytes2HexString(bytes1));
break;
case "2":
// 恢复急停AGV车辆
@ -661,7 +660,6 @@ public class WmsToAcsServiceImpl implements WmsToAcsService {
(byte) 0X00, (byte) 0X00
};
OneNDCSocketConnectionAutoRun.write(bytes2);
System.out.println("下发agv指令数据:" + NDCAgvServiceImpl.Bytes2HexString(bytes2));
break;
case "3":
ParamDto sysParam3 = paramService.findByCode(AcsConfig.SEND_INST);
@ -681,6 +679,7 @@ public class WmsToAcsServiceImpl implements WmsToAcsService {
resultJSON.put("status", HttpStatus.OK.value());
resultJSON.put("message", "操作成功");
log.info("deviceOption-----输出参数{}", resultJSON);
return resultJSON;
} finally {
MDC.remove(log_file_type);

Loading…
Cancel
Save