| | |
| | | 锘縰sing WIDESEA_DTO; |
| | | 锘縰sing Org.BouncyCastle.Asn1.Mozilla; |
| | | using WIDESEA_DTO; |
| | | |
| | | namespace WIDESEA_WMSServer.Controllers.Task; |
| | | |
| | |
| | | public async Task<WebResponseContent> RequestInboundTaskAsync([FromBody] RequestTaskDto input) |
| | | { |
| | | return await Service.RequestInboundTaskAsync(input); |
| | | } |
| | | |
| | | [HttpPost, HttpGet, AllowAnonymous, Route("RequestRelocationTaskAsync")] |
| | | [TypeFilter(typeof(ThrottleFilter), Arguments = new object[] { 5 })] |
| | | public Task<WebResponseContent> RequestRelocationTaskAsync(string SourceAddress, string TargetAddress) |
| | | { |
| | | return Service.RequestRelocationTaskAsync(SourceAddress, TargetAddress); |
| | | } |
| | | |
| | | /// <summary> |
| | |
| | | public async Task<WebResponseContent> AGVIsNeedRelocationAsync([FromBody] RequestTaskDto taskDto) |
| | | { |
| | | return await Service.AGVIsNeedRelocationAsync(taskDto); |
| | | } |
| | | |
| | | [HttpPost, AllowAnonymous, Route("GetTaskData")] |
| | | public async Task<WebResponseContent> GetTaskData() |
| | | { |
| | | return await Service.GetTaskData(); |
| | | } |
| | | |
| | | [HttpPost, AllowAnonymous, Route("UpdateStartLocationInfo")] |