| | |
| | | using Microsoft.AspNetCore.Http; |
| | | 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 |
| | | { |
| | |
| | | [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); |
| | | } |
| | | } |
| | | } |