From c84f5178fd389904dc2dc58fe1d584a9bf159336 Mon Sep 17 00:00:00 2001
From: wangxinhui <wangxinhui@hnkhzn.com>
Date: 星期四, 05 二月 2026 09:10:29 +0800
Subject: [PATCH] 同步代码

---
 代码管理/WCS/WCSServices/WIDESEAWCS_Server/Controllers/Task/TaskController.cs |   67 ---------------------------------
 1 files changed, 0 insertions(+), 67 deletions(-)

diff --git "a/\344\273\243\347\240\201\347\256\241\347\220\206/WCS/WCSServices/WIDESEAWCS_Server/Controllers/Task/TaskController.cs" "b/\344\273\243\347\240\201\347\256\241\347\220\206/WCS/WCSServices/WIDESEAWCS_Server/Controllers/Task/TaskController.cs"
index 08cbc07..3ddee5e 100644
--- "a/\344\273\243\347\240\201\347\256\241\347\220\206/WCS/WCSServices/WIDESEAWCS_Server/Controllers/Task/TaskController.cs"
+++ "b/\344\273\243\347\240\201\347\256\241\347\220\206/WCS/WCSServices/WIDESEAWCS_Server/Controllers/Task/TaskController.cs"
@@ -52,12 +52,6 @@
             return Service.UpdateTaskExceptionMessage(taskNum, message);
         }
 
-        //[HttpPost, HttpGet, Route("UpdateTaskStatusToNext")]
-        //public WebResponseContent UpdateTaskStatusToNext(int taskNum)
-        //{
-        //    return Service.UpdateTaskStatusToNext(taskNum);
-        //}
-
         [HttpPost, HttpGet, Route("TaskStatusRecovery")]
         public WebResponseContent TaskStatusRecovery(int taskNum)
         {
@@ -75,44 +69,10 @@
         {
             return WebResponseContent.Instance.OK(data: _routerExtension.GetEndPoint(startPoint, routeType));
         }
-        /// <summary>
-        /// 娴嬭瘯鍫嗗灈鏈哄嚭搴�
-        /// </summary>
-        [HttpPost, HttpGet, Route("SCOUT"), AllowAnonymous]
-        public WebResponseContent SCCarrying(string sourceAddress, string roadWay, int taskType)
-        {
-            WMSTaskDTO taskDTO = new WMSTaskDTO()
-            {
-                Id = 1,
-                SourceAddress = sourceAddress,
-                TaskNum = DateTime.Now.ToString("mmss").ObjToInt(),
-                PalletCode= roadWay+ DateTime.Now.ToString("mmss"),
-                RoadWay = roadWay,
-                TaskType = taskType,
-                TaskStatus = TaskStatusEnum.New.ObjToInt(),
-                TargetAddress = "",
-                Grade = 0,
-                WarehouseId = 1,
-                PalletType = 1
-            };
-            return Service.ReceiveWMSTask(new List<WMSTaskDTO> { taskDTO });
-        }
         [HttpPost, HttpGet, Route("AssignCPRoadwayNo"), AllowAnonymous]
         public WebResponseContent AssignCPRoadwayNo()
         {
             return Service.AssignCPRoadwayNo();
-        }
-        /// <summary>
-        /// 璇锋眰鍏ュ簱浠诲姟
-        /// </summary>
-        /// <param name="palletCode">鎵樼洏鍙�</param>
-        /// <param name="sourceAddress">璧峰鍦板潃</param>
-        /// <param name="roadWay">宸烽亾</param>
-        /// <returns></returns>
-        [HttpPost, HttpGet, Route("SCIN"), AllowAnonymous]
-        public WebResponseContent RequestWMSTaskSimple(string palletCode, string sourceAddress, string roadWay, int taskType = 0)
-        {
-            return Service.RequestWMSTaskSimple(palletCode,sourceAddress, roadWay, taskType);
         }
         /// <summary>
         /// WMS浠诲姟瀹屾垚鍚屾
@@ -123,33 +83,6 @@
         public WebResponseContent RecWMSTaskCompleted(int taskNum)
         {
             return Service.RecWMSTaskCompleted(taskNum);
-        }
-        [HttpPost, HttpGet, Route("YLPurchasePush"), AllowAnonymous]
-        public WebResponseContent YLPurchasePush(string code)
-        {
-            WebResponseContent content = new WebResponseContent();
-            try
-            {
-                Dt_StationManger stationManger = _stationMangerRepository.QueryFirst(x => x.StationCode == code);
-
-                IDevice? device = Storage.Devices.FirstOrDefault(x => x.DeviceCode == stationManger.StationDeviceCode);
-                if (device == null)
-                {
-                    return content.Error($"鏈壘鍒板搴旇澶�");
-                }
-                OtherDevice otherDevice = (OtherDevice)device;
-                short request = otherDevice.GetValue<WR_CLineYLDB, short>(WR_CLineYLDB.WR_Request, stationManger.StationCode);
-                if (request!=86)
-                {
-                    return content.Error($"璁惧鐘舵�佷笉鍏佽鍚姩");
-                }
-                otherDevice.SetValue(WR_CLineYLDB.WR_Reresult, 86, stationManger.StationCode);
-                return content.OK();
-            }
-            catch (Exception ex)
-            {
-                return content.Error(ex.Message);
-            }
         }
     }
 }

--
Gitblit v1.9.3