From be484c84a25d1f6c769e7b5e958048d745942e55 Mon Sep 17 00:00:00 2001
From: dengjunjie <dengjunjie@hnkhzn.com>
Date: 星期二, 20 五月 2025 10:32:57 +0800
Subject: [PATCH] 优化出入库逻辑
---
项目代码/WCS/WIDESEAWCS_Server/WIDESEAWCS_Server/Controllers/Task/TaskController.cs | 35 +++++++++++++++++++++++++++++++++++
1 files changed, 35 insertions(+), 0 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 fc5ab5c..9d7fec8 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"
@@ -6,6 +6,7 @@
using WIDESEAWCS_DTO.TaskInfo;
using WIDESEAWCS_ITaskInfoService;
using WIDESEAWCS_Model.Models;
+using WIDESEAWCS_Tasks;
namespace WIDESEAWCS_WCSServer.Controllers.Task
{
@@ -24,6 +25,18 @@
{
return Service.ReceiveWMSTask(taskDTOs);
}
+ [HttpPost, Route("ModifyBarcode"), AllowAnonymous]
+ public WebResponseContent ModifyBarcode([FromBody] WMSTaskDTO taskDTO)
+ {
+ return Service.ModifyBarcode(taskDTO);
+ }
+
+
+ //[HttpPost, Route("ManualTask"),AllowAnonymous]
+ //public WebResponseContent ManualTask([FromBody] SaveModel saveModel)
+ //{
+ // return Service.ManualTask(saveModel);
+ //}
[HttpPost, HttpGet, Route("UpdateTaskExceptionMessage")]
public WebResponseContent UpdateTaskExceptionMessage(int taskNum, string message)
@@ -48,5 +61,27 @@
{
return Service.RollbackTaskStatusToLast(taskNum);
}
+
+ /// <summary>
+ /// AGV鏇存柊浠诲姟鐘舵��
+ /// </summary>
+ /// <param name="saveModel">璇锋眰鍙傛暟</param>
+ /// <returns></returns>
+ [HttpPost, Route("AGVUpdateTaskState"), AllowAnonymous]
+ public WebResponseContent AGVUpdateTaskState([FromBody] AGVUpdateTaskDTO saveModel)
+ {
+ return Service.AGVUpdateTaskState(saveModel);
+ }
+
+ /// <summary>
+ /// 浜哄伐浣跨敤PDA鍑哄簱瀹屾垚锛岄噴鏀惧钩搴撳簱浣�
+ /// </summary>
+ /// <param name="saveModel">璇锋眰鍙傛暟</param>
+ /// <returns></returns>
+ [HttpPost, Route("OutTaskFinish"), AllowAnonymous]
+ public WebResponseContent OutTaskFinish(string Address)
+ {
+ return Service.OutTaskFinish(Address);
+ }
}
}
--
Gitblit v1.9.3