From 6cb85536a0b7edf936cfc7b68502c858068c140f Mon Sep 17 00:00:00 2001
From: yangpeixing <yangpeixing@hnkhzn.com>
Date: 星期三, 10 十二月 2025 16:15:46 +0800
Subject: [PATCH] 在WCS中添加监控堆垛机和提升机状态和报警信息功能

---
 项目代码/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/Controllers/Basic/LocationInfoController.cs |   14 +++++++++++---
 1 files changed, 11 insertions(+), 3 deletions(-)

diff --git "a/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/Controllers/Basic/LocationInfoController.cs" "b/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/Controllers/Basic/LocationInfoController.cs"
index 627e3e0..d60da40 100644
--- "a/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/Controllers/Basic/LocationInfoController.cs"
+++ "b/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/Controllers/Basic/LocationInfoController.cs"
@@ -25,9 +25,17 @@
     {
         return Service.CreateLocation(x, y, z, locType, areaId);
     }
-    [HttpPost, AllowAnonymous, Route("initializeLocation")]
-    public async Task<WebResponseContent> initializeLocation(int locationID)
+
+
+    [HttpPost, AllowAnonymous, Route("CreateAGVLocation")]
+    public WebResponseContent CreateLocation(string AreaName, int x, int y, int areaId, string Floor)
     {
-        return await Service.initializeLocation(locationID);
+        return Service.CreateLocation(AreaName,x, y, areaId, Floor);
+    }
+
+    [HttpPost, AllowAnonymous, Route("initializeLocation")]
+    public async Task<WebResponseContent> initializeLocation(string locationCode)
+    {
+        return await Service.initializeLocation(locationCode);
     }
 }
\ No newline at end of file

--
Gitblit v1.9.3