From be484c84a25d1f6c769e7b5e958048d745942e55 Mon Sep 17 00:00:00 2001
From: dengjunjie <dengjunjie@hnkhzn.com>
Date: 星期二, 20 五月 2025 10:32:57 +0800
Subject: [PATCH] 优化出入库逻辑
---
项目代码/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/Controllers/Interface/WCSInterfaceController.cs | 13 +++++++++++--
1 files changed, 11 insertions(+), 2 deletions(-)
diff --git "a/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/Controllers/Interface/WCSInterfaceController.cs" "b/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/Controllers/Interface/WCSInterfaceController.cs"
index 8662a59..b23d75f 100644
--- "a/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/Controllers/Interface/WCSInterfaceController.cs"
+++ "b/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/Controllers/Interface/WCSInterfaceController.cs"
@@ -27,7 +27,7 @@
[HttpPost, Route("GetPosition")]
public WebResponseContent GetPosition(string position, string position1)
{
- return _locationInfoService.GetPosition(position,position1);
+ return _locationInfoService.GetPosition(position, position1);
}
/// <summary>
/// 淇敼浠诲姟鐘舵��
@@ -59,6 +59,15 @@
{
return _taskService.StackerCraneRequestInbound(lineDTO);
}
- ///AGV鐢宠鍑哄簱鍦板潃
+ /// <summary>
+ /// AGV鍙栨秷浠诲姟
+ /// </summary>
+ /// <param name="task"></param>
+ /// <returns></returns>
+ [HttpPost, Route("CancelTask")]
+ public WebResponseContent CancelTask([FromBody] WMSTaskDTO task)
+ {
+ return _taskService.CancelTask(task);
+ }
}
}
--
Gitblit v1.9.3