From 261ec6b250b3aea2d26e629203c7d699747c27ea Mon Sep 17 00:00:00 2001
From: wangxinhui <wangxinhui@hnkhzn.com>
Date: 星期二, 03 二月 2026 17:02:04 +0800
Subject: [PATCH] 空托回流区分叠盘或直接回立库
---
项目代码/WMS/WMSServices/WIDESEA_WMSServer/Controllers/TaskInfo/TaskController.cs | 61 ++++++++++++++++++++++++++----
1 files changed, 52 insertions(+), 9 deletions(-)
diff --git "a/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WMSServices/WIDESEA_WMSServer/Controllers/TaskInfo/TaskController.cs" "b/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WMSServices/WIDESEA_WMSServer/Controllers/TaskInfo/TaskController.cs"
index 6b27ca9..8f05be9 100644
--- "a/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WMSServices/WIDESEA_WMSServer/Controllers/TaskInfo/TaskController.cs"
+++ "b/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WMSServices/WIDESEA_WMSServer/Controllers/TaskInfo/TaskController.cs"
@@ -30,12 +30,11 @@
/// WCS鐢宠鍏ュ簱浠诲姟(涓嶅垎閰嶈揣浣�)
/// </summary>
/// <param name="stationCode"></param>
- /// <param name="palletCode"></param>
/// <returns></returns>
[HttpPost, HttpGet, Route("DeviceRequestInboundTaskSimple"), AllowAnonymous]
- public WebResponseContent DeviceRequestInboundTaskSimple(string stationCode, string palletCode)
+ public WebResponseContent DeviceRequestInboundTaskSimple(string stationCode)
{
- return Service.DeviceRequestInboundTaskSimple(stationCode, palletCode);
+ return Service.DeviceRequestInboundTaskSimple(stationCode);
}
/// <summary>
@@ -70,7 +69,7 @@
[HttpPost, HttpGet, Route("EmptyBackTask"), AllowAnonymous]
public WebResponseContent EmptyBackTask(string barCode, string startPoint,int target)
{
- return Service.EmptyBackTask(barCode, startPoint);
+ return Service.EmptyBackTask(barCode, startPoint, target);
}
/// <summary>
@@ -201,9 +200,9 @@
/// <param name="palletCode"></param>
/// <returns></returns>
[HttpPost, HttpGet, Route("AssignYLRoadwayNo"), AllowAnonymous]
- public WebResponseContent AssignYLRoadwayNo(string palletCode)
+ public WebResponseContent AssignYLRoadwayNo(string palletCode,int wide = 0, int thickness = 0, int weight = 0)
{
- string roadWay= Service.AssignYLRoadwayNo(palletCode);
+ string roadWay= Service.AssignYLRoadwayNo(palletCode, wide, thickness, wide);
if (string.IsNullOrEmpty(roadWay))
{
return WebResponseContent.Instance.Error("鏈壘鍒板彲鍒嗛厤宸烽亾");
@@ -251,13 +250,13 @@
}
/// <summary>
- /// 鍘熸枡绉诲簱浠诲姟
+ /// 绉诲簱浠诲姟
/// </summary>
/// <returns></returns>
[HttpPost, HttpGet, Route("Relocation"), AllowAnonymous]
- public WebResponseContent IsRelocation(string startAddress, string endAddress, string roadWay)
+ public WebResponseContent IsRelocation([FromBody] RelocationDTO relocationDTO)
{
- return Service.IsRelocation(startAddress, endAddress, roadWay);
+ return Service.IsRelocation(relocationDTO);
}
/// <summary>
/// 鍘熸枡宸烽亾闂寸Щ搴撲换鍔�
@@ -300,5 +299,49 @@
{
return Service.PrintInbound(saveModel);
}
+
+ /// <summary>
+ /// 绌烘墭鍙犵洏鍑哄簱
+ /// </summary>
+ /// <returns></returns>
+ [HttpPost, HttpGet, Route("PlateOutbound"), AllowAnonymous]
+ public WebResponseContent PlateOutbound(string stationCode)
+ {
+ return Service.PlateOutbound(stationCode);
+ }
+
+ /// <summary>
+ /// 鍚敤AGV绔欑偣
+ /// </summary>
+ /// <param name="keys"></param>
+ /// <returns></returns>
+ [HttpPost, HttpGet, Route("EnableStatus")]
+ public WebResponseContent EnableStatus([FromBody] int[] keys)
+ {
+ return Service.EnableStatus(keys);
+ }
+ [HttpPost, HttpGet, Route("DisableStatus")]
+ public WebResponseContent DisableStatus([FromBody] int[] keys)
+ {
+ return Service.DisableStatus(keys);
+ }
+ /// <summary>
+ /// 鎴愬搧缁勭洏
+ /// </summary>
+ /// <returns></returns>
+ [HttpPost, HttpGet, Route("BoxingInBound"), AllowAnonymous]
+ public WebResponseContent BoxingInBound(string stationCode, [FromBody] List<string> barCodes)
+ {
+ return Service.BoxingInBound(stationCode, barCodes);
+ }
+ /// <summary>
+ /// 鎴愬搧鍏ュ簱鎵爜璇锋眰鏇存柊鎵樼洏鏉$爜
+ /// </summary>
+ /// <returns></returns>
+ [HttpPost, HttpGet, Route("InBoundPalletCode"), AllowAnonymous]
+ public WebResponseContent InBoundPalletCode(int taskNum, string barCode)
+ {
+ return Service.InBoundPalletCode(taskNum, barCode);
+ }
}
}
--
Gitblit v1.9.3