From ec86132114d828f16fc95f1f27bfd64d1289406c Mon Sep 17 00:00:00 2001
From: ytfl <ytfl@qq.com>
Date: 星期一, 11 八月 2025 11:15:39 +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