From b7da1f32d5d9997378b5ac535593a3f6144af46b Mon Sep 17 00:00:00 2001
From: huangxiaoqiang <huangxiaoqiang@hnkhzn.com>
Date: 星期三, 15 十月 2025 17:15:38 +0800
Subject: [PATCH] 新增AGV与堆垛机移库判断及缓存优化
---
项目代码/WCS/WIDESEAWCS_Server/WIDESEAWCS_Server/Controllers/Task/TaskController.cs | 21 +++++++--------------
1 files changed, 7 insertions(+), 14 deletions(-)
diff --git "a/\351\241\271\347\233\256\344\273\243\347\240\201/WCS/WIDESEAWCS_Server/WIDESEAWCS_Server/Controllers/Task/TaskController.cs" "b/\351\241\271\347\233\256\344\273\243\347\240\201/WCS/WIDESEAWCS_Server/WIDESEAWCS_Server/Controllers/Task/TaskController.cs"
index d2293fa..279ea05 100644
--- "a/\351\241\271\347\233\256\344\273\243\347\240\201/WCS/WIDESEAWCS_Server/WIDESEAWCS_Server/Controllers/Task/TaskController.cs"
+++ "b/\351\241\271\347\233\256\344\273\243\347\240\201/WCS/WIDESEAWCS_Server/WIDESEAWCS_Server/Controllers/Task/TaskController.cs"
@@ -25,26 +25,13 @@
return Service.ReceiveWMSTask(taskDTOs);
}
- [HttpPost, Route("ReceiveByWMSTask"), AllowAnonymous]
- public WebResponseContent ReceiveByWMSTask([FromBody] WMSTaskDTO taskDTOs)
- {
- return Service.ReceiveByWMSTask(taskDTOs);
- }
-
- [HttpPost, Route("ReceiveByWMSGWTask"), AllowAnonymous]
- public WebResponseContent ReceiveByWMSGWTask([FromBody] WMSTaskDTO taskDTOs)
- {
- return Service.ReceiveByWMSGWTask(taskDTOs);
- }
-
-
[HttpPost, HttpGet, Route("UpdateTaskExceptionMessage")]
public WebResponseContent UpdateTaskExceptionMessage(int taskNum, string message)
{
return Service.UpdateTaskExceptionMessage(taskNum, message);
}
- [HttpPost, HttpGet, Route("UpdateTaskStatusToNext")]
+ [HttpPost, HttpGet, Route("UpdateTaskStatusToNext") ,AllowAnonymous]
public WebResponseContent UpdateTaskStatusToNext(int taskNum)
{
return Service.UpdateTaskStatusToNext(taskNum);
@@ -61,5 +48,11 @@
{
return Service.RollbackTaskStatusToLast(taskNum);
}
+
+ [HttpPost, HttpGet, Route("SendAgvTask"),AllowAnonymous]
+ public Task<WebResponseContent> SendAgvTask(string modelProcessCode, int taskNum)
+ {
+ return Service.SendAgvTask(modelProcessCode, taskNum);
+ }
}
}
--
Gitblit v1.9.3