1
dengjunjie
2026-01-21 0c407bdcf2a26d78d2b0740f74af209977f0e7ce
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
using 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
{
    [Route("api/[controller]")]
    [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);
        }
    }
}