From 5cf8be1f30878aeb2af568f471949d0b9190036a Mon Sep 17 00:00:00 2001
From: wangxinhui <wangxinhui@hnkhzn.com>
Date: 星期五, 19 十二月 2025 16:12:12 +0800
Subject: [PATCH] CTU故障信息接口查询,故障上报至WMS,任务下发优化

---
 项目代码/WCSServices/WIDESEAWCS_Server/Controllers/AGV/AGVController.cs |   13 +++++++++++--
 1 files changed, 11 insertions(+), 2 deletions(-)

diff --git "a/\351\241\271\347\233\256\344\273\243\347\240\201/WCSServices/WIDESEAWCS_Server/Controllers/AGV/AGVController.cs" "b/\351\241\271\347\233\256\344\273\243\347\240\201/WCSServices/WIDESEAWCS_Server/Controllers/AGV/AGVController.cs"
index 8b7602e..ae54415 100644
--- "a/\351\241\271\347\233\256\344\273\243\347\240\201/WCSServices/WIDESEAWCS_Server/Controllers/AGV/AGVController.cs"
+++ "b/\351\241\271\347\233\256\344\273\243\347\240\201/WCSServices/WIDESEAWCS_Server/Controllers/AGV/AGVController.cs"
@@ -141,11 +141,11 @@
 
                 if (stationManger.StationType == StationTypeEnum.StationType_OnlyOutbound.ObjToInt())
                 {
-                    commonConveyorLine.Communicator.Write("21", (short)256);
+                    commonConveyorLine.Communicator.Write("21", new byte[] { 1, 0 });
                 }
                 else
                 {
-                    commonConveyorLine.Communicator.Write("23", (short)256);
+                    commonConveyorLine.Communicator.Write("23", new byte[] { 1, 0 });
                 }
                 content.OK();
             }
@@ -155,5 +155,14 @@
             }
             return content;
         }
+        /// <summary>
+        /// AGV浣滀笟瀹屾垚
+        /// </summary>
+        /// <returns></returns>
+        [HttpPost, HttpGet, Route("AgvSearchStatus"), AllowAnonymous]
+        public void AgvSearchStatus()
+        {
+            _taskService.AgvSearchStatus();
+        }
     }
 }

--
Gitblit v1.9.3