From f949c8886b5881fdd19c7cc46a7ea44ff5f2e011 Mon Sep 17 00:00:00 2001
From: hutongqing <hutongqing@hnkhzn.com>
Date: 星期五, 13 十二月 2024 10:49:19 +0800
Subject: [PATCH] Merge branch 'master' of http://115.159.85.185:8098/r/MeiRuiAn/HuaiAn

---
 代码管理/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/Controllers/Basic/LocationInfoController.cs |   27 ++++++++++++++++++++++++++-
 1 files changed, 26 insertions(+), 1 deletions(-)

diff --git "a/\344\273\243\347\240\201\347\256\241\347\220\206/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/Controllers/Basic/LocationInfoController.cs" "b/\344\273\243\347\240\201\347\256\241\347\220\206/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/Controllers/Basic/LocationInfoController.cs"
index b58266b..3b6853e 100644
--- "a/\344\273\243\347\240\201\347\256\241\347\220\206/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/Controllers/Basic/LocationInfoController.cs"
+++ "b/\344\273\243\347\240\201\347\256\241\347\220\206/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/Controllers/Basic/LocationInfoController.cs"
@@ -1,7 +1,9 @@
-锘縰sing Microsoft.AspNetCore.Authorization;
+锘縰sing HslCommunication.WebSocket;
+using Microsoft.AspNetCore.Authorization;
 using Microsoft.AspNetCore.Http;
 using Microsoft.AspNetCore.Mvc;
 using System.Collections.Generic;
+using WIDESEA_Common.CommonEnum;
 using WIDESEA_Core;
 using WIDESEA_Core.BaseController;
 using WIDESEA_Core.Enums;
@@ -21,5 +23,28 @@
         {
             _repository = repository;
         }
+
+        [HttpPost, Route("InitializationLocation"), AllowAnonymous]
+        public WebResponseContent InitializationLocation([FromBody] InitializationLocationDTO initializationLocationDTO)
+        {
+            return Service.InitializationLocation(initializationLocationDTO);
+        }
+
+        [HttpPost, HttpGet, Route("AssignLocation"), AllowAnonymous]
+        public Dt_LocationInfo? AssignLocation(string roadwayNo, PalletTypeEnum palletType)
+        {
+            return Service.AssignLocation(roadwayNo, palletType);
+        }
+
+        [HttpPost, Route("LocationEnableStatus")]
+        public WebResponseContent LocationEnableStatus([FromBody] int[] keys)
+        {
+            return Service.LocationEnableStatus(keys); ;
+        }
+        [HttpPost, Route("LocationDisableStatus")]
+        public WebResponseContent LocationDisableStatus([FromBody] int[] keys)
+        {
+            return Service.LocationDisableStatus(keys); ;
+        }
     }
 }

--
Gitblit v1.9.3