From 225d11e2ddaa55d1d482201cb4d89c9486cdba69 Mon Sep 17 00:00:00 2001
From: wangxinhui <wangxinhui@hnkhzn.com>
Date: 星期五, 20 六月 2025 12:27:52 +0800
Subject: [PATCH] 更新代码

---
 代码管理/WMS/WIDESEA_WMSServer/WIDESEA_External/AGVService/InvokeAGVService.cs |   35 ++++++++++++++++++++++++++++++-----
 1 files changed, 30 insertions(+), 5 deletions(-)

diff --git "a/\344\273\243\347\240\201\347\256\241\347\220\206/WMS/WIDESEA_WMSServer/WIDESEA_External/AGVService/InvokeAGVService.cs" "b/\344\273\243\347\240\201\347\256\241\347\220\206/WMS/WIDESEA_WMSServer/WIDESEA_External/AGVService/InvokeAGVService.cs"
index 979dd92..2a9ecc8 100644
--- "a/\344\273\243\347\240\201\347\256\241\347\220\206/WMS/WIDESEA_WMSServer/WIDESEA_External/AGVService/InvokeAGVService.cs"
+++ "b/\344\273\243\347\240\201\347\256\241\347\220\206/WMS/WIDESEA_WMSServer/WIDESEA_External/AGVService/InvokeAGVService.cs"
@@ -12,6 +12,7 @@
 
 namespace WIDESEA_External.AGVService
 {
+    #region 寮冪敤
     public class InvokeAGVService : IInvokeAGVService
     {
         public static IInvokeAGVService Intance
@@ -19,11 +20,11 @@
             get { return App.GetService<IInvokeAGVService>(); }
         }
         /// <summary>
-        /// 鍙戦�丄GV浠诲姟
+        /// 鍙戦�丄GV浠诲姟 
         /// </summary>
         /// <param name="taskModel"></param>
         /// <returns></returns>
-        public WebResponseContent SendAgvTask(AgvTaskModel taskModel)
+        public WebResponseContent AgvSendTask(AgvTaskModel taskModel)
         {
             WebResponseContent content = new WebResponseContent();
             try
@@ -46,13 +47,26 @@
             }
             return content;
         }
-        public WebResponseContent AGVSecureReply(AgvSecureModel secureModel)
+        /// <summary>
+        /// 瀹夊叏淇″彿鐢宠 AGV-WMS-WCS
+        /// </summary>
+        public AgvResponseContent AgvSecureApply(AgvSecureApplyModel secureApplyModel)
+        {
+
+            return new AgvResponseContent();
+        }
+        /// <summary>
+        /// 瀹夊叏淇″彿鍥炲 WMS-AGV
+        /// </summary>
+        /// <param name="secureModel"></param>
+        /// <returns></returns>
+        public WebResponseContent AgvSecureReply(AgvSecureReplyModel secureReplyModel)
         {
             WebResponseContent content = new WebResponseContent();
             try
             {
-                string apiAddress = AppSettings.Get(APIEnum.AGVSecureReply.ToString());
-                string response = HttpHelper.Post(apiAddress, secureModel.Serialize());
+                string apiAddress = AppSettings.Get(APIEnum.AgvSecureReply.ToString());
+                string response = HttpHelper.Post(apiAddress, secureReplyModel.Serialize());
                 AgvResponseContent agvContent = response.DeserializeObject<AgvResponseContent>();
                 if (agvContent.Code == "200")
                 {
@@ -69,5 +83,16 @@
             }
             return content;
         }
+        /// <summary>
+        /// AGV浠诲姟鐘舵�佸埛鏂�
+        /// </summary>
+        /// <param name="agvUpdateModel"></param>
+        /// <returns></returns>
+        public AgvResponseContent AgvUpdateTask(AgvUpdateModel agvUpdateModel)
+        {
+
+            return new AgvResponseContent();
+        }
     }
+    #endregion
 }

--
Gitblit v1.9.3