From b579fe0be3bd02ec39d612a62b23901fb852c173 Mon Sep 17 00:00:00 2001 From: Junjie <xjj@123> Date: 星期六, 16 八月 2025 09:02:12 +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