| | |
| | | 锘縰sing Microsoft.AspNetCore.Authorization; |
| | | using Microsoft.AspNetCore.Http; |
| | | using Microsoft.AspNetCore.Mvc; |
| | | using System.Diagnostics.CodeAnalysis; |
| | | using WIDESEAWCS_Core; |
| | | using WIDESEAWCS_Core.BaseController; |
| | | using WIDESEAWCS_DTO.TaskInfo; |
| | |
| | | { |
| | | return Service.RollbackTaskStatusToLast(taskNum); |
| | | } |
| | | |
| | | /// <summary> |
| | | /// 鎺ユ敹WMS浠诲姟淇℃伅 |
| | | /// </summary> |
| | | /// <param name="taskDTO">MES浠诲姟瀵硅薄</param> |
| | | /// <returns>杩斿洖澶勭悊缁撴灉</returns> |
| | | [HttpPost, Route("/WCS/V1/CMD"), AllowAnonymous] |
| | | public WebResponseContent ReceiveMESTask([FromBody] MESTaskDTO taskDTO) |
| | | { |
| | | return Service.ReceiveMESTask(taskDTO); |
| | | } |
| | | } |
| | | } |