From 0c407bdcf2a26d78d2b0740f74af209977f0e7ce Mon Sep 17 00:00:00 2001
From: dengjunjie <dengjunjie@hnkhzn.com>
Date: 星期三, 21 一月 2026 09:58:10 +0800
Subject: [PATCH] 1
---
代码管理/WCS/WIDESEAWCS_Server/WIDESEAWCS_Server/Controllers/AGV/KLSAGVController.cs | 23 ++++++++++++++++++++++-
1 files changed, 22 insertions(+), 1 deletions(-)
diff --git "a/\344\273\243\347\240\201\347\256\241\347\220\206/WCS/WIDESEAWCS_Server/WIDESEAWCS_Server/Controllers/AGV/KLSAGVController.cs" "b/\344\273\243\347\240\201\347\256\241\347\220\206/WCS/WIDESEAWCS_Server/WIDESEAWCS_Server/Controllers/AGV/KLSAGVController.cs"
index 4b4ec80..ec0c524 100644
--- "a/\344\273\243\347\240\201\347\256\241\347\220\206/WCS/WIDESEAWCS_Server/WIDESEAWCS_Server/Controllers/AGV/KLSAGVController.cs"
+++ "b/\344\273\243\347\240\201\347\256\241\347\220\206/WCS/WIDESEAWCS_Server/WIDESEAWCS_Server/Controllers/AGV/KLSAGVController.cs"
@@ -1,5 +1,10 @@
-锘縰sing Microsoft.AspNetCore.Http;
+锘縰sing Microsoft.AspNetCore.Authorization;
+using Microsoft.AspNetCore.Http;
using Microsoft.AspNetCore.Mvc;
+using WIDESEAWCS_Common;
+using WIDESEAWCS_Core;
+using WIDESEAWCS_DTO.WMS;
+using WIDESEAWCS_ITaskInfoService;
namespace WIDESEAWCS_Server.Controllers.AGV
{
@@ -7,5 +12,21 @@
[ApiController]
public class KLSAGVController : ControllerBase
{
+ private readonly ITaskService _taskService;
+ public KLSAGVController(ITaskService taskService)
+ {
+ _taskService = taskService;
+ }
+
+ /// <summary>
+ /// 浠诲姟鐘舵�佹洿鏂�
+ /// </summary>
+ /// <param name="taskDTOs"></param>
+ /// <returns></returns>
+ [HttpPost, Route("UpdateTaskStatus"), AllowAnonymous]
+ public WebResponseContent UpdateTaskStatus(object TaskDTO)
+ {
+ return _taskService.UpdateTaskStatus(TaskDTO, DeviceTypeEnum.GALAXIS);
+ }
}
}
--
Gitblit v1.9.3