From b7951bdbb8925131cbc76be4902fcef0e88d0506 Mon Sep 17 00:00:00 2001
From: ytfl <ytfl@qq.com>
Date: 星期二, 19 八月 2025 18:22:03 +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