From 63e1ee997a5318e628b992f969bdac2fec6dbf14 Mon Sep 17 00:00:00 2001
From: yangpeixing <yangpeixing@hnkhzn.com>
Date: 星期四, 04 十二月 2025 14:39:00 +0800
Subject: [PATCH] 1

---
 项目代码/WMS/WIDESEA_WMSServer/WIDESEA_StorageTaskServices/Task/Dt_TaskService.cs |   21 +++++++++++++++++++++
 1 files changed, 21 insertions(+), 0 deletions(-)

diff --git "a/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_StorageTaskServices/Task/Dt_TaskService.cs" "b/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_StorageTaskServices/Task/Dt_TaskService.cs"
index 52dad88..7d5d27d 100644
--- "a/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_StorageTaskServices/Task/Dt_TaskService.cs"
+++ "b/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_StorageTaskServices/Task/Dt_TaskService.cs"
@@ -17,6 +17,7 @@
 using System.Reflection;
 using System.Reflection.Metadata;
 using System.Security.Policy;
+using System.Text;
 using System.Text.RegularExpressions;
 using System.Threading.Tasks;
 using WIDESEA_Cache;
@@ -95,6 +96,26 @@
         _wareAreaInfoRepository = wareAreaInfoRepository;
         _inventoryRecordRepository = inventoryRecordRepository;
     }
+    #region 鍒濆鍖栨彁鍗囨満
+    public async Task<WebResponseContent> InitializationElevator()
+    {
+        WebResponseContent content = new WebResponseContent();
+        try
+        {
+            var address = GetWCSIPAddress("WCSIPAddress","InitializationElevator");
+            if (address != null)
+            {
+                await HttpHelper.PostAsync(address, "");
+                return content.OK("鎴愬姛");
+            }
+            return content.Error("澶辫触");
+        }
+        catch (Exception ex)
+        {
+            return content.Error(ex.Message);
+        }
+    }
+    #endregion
 
     #region 澶栭儴鎺ュ彛鏂规硶
 

--
Gitblit v1.9.3