From e22952465f1ab08a58f84c2f01e7d4e89b6bd61e Mon Sep 17 00:00:00 2001 From: Junjie <xjj@123> Date: 星期一, 18 八月 2025 17:10:34 +0800 Subject: [PATCH] # --- src/main/java/com/zy/asrs/controller/OpenController.java | 3 +++ 1 files changed, 3 insertions(+), 0 deletions(-) diff --git a/src/main/java/com/zy/asrs/controller/OpenController.java b/src/main/java/com/zy/asrs/controller/OpenController.java index 90d2e08..272e105 100644 --- a/src/main/java/com/zy/asrs/controller/OpenController.java +++ b/src/main/java/com/zy/asrs/controller/OpenController.java @@ -19,6 +19,7 @@ @RequestMapping("/open/toOutSta") public R toOutSta(@RequestBody ToOutStaParam param) { + log.info("toOutSta:{}",param); Integer sourceStaNo = param.getSourceStaNo(); SiemensDevpThread siemensDevpThread = (SiemensDevpThread) SlaveConnection.get(SlaveType.Devp, 1); if(siemensDevpThread == null) { @@ -40,7 +41,9 @@ staProtocol.setWorkNo(param.getWrkNo().shortValue()); staProtocol.setStaNo(param.getStaNo().shortValue()); + staProtocol.setPalletSize((short) 1); boolean result = MessageQueue.offer(SlaveType.Devp, 1, new Task(2, staProtocol)); + log.info("鍙戠敓鎴愬姛:{}",result); return R.ok().add(result); } -- Gitblit v1.9.1