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