From c455612b03e6ecac994884dde5b5f4bc4909c181 Mon Sep 17 00:00:00 2001 From: dengjunjie <dengjunjie@hnkhzn.com> Date: 星期二, 11 三月 2025 17:12:52 +0800 Subject: [PATCH] 1 --- 项目代码/WCS/WIDESEAWCS_Server/WIDESEAWCS_Server/Controllers/Task/TaskController.cs | 12 ++++++++++++ 1 files changed, 12 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..3037b83 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 { @@ -48,5 +49,16 @@ { 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); + } } } -- Gitblit v1.9.3