| | |
| | | /// </summary> |
| | | /// <param name="input">è¯·æ±æ°æ®</param> |
| | | /// <returns></returns> |
| | | [HttpPost, AllowAnonymous, Route("RequestTaskAsync")] |
| | | [HttpPost, AllowAnonymous, Route("RequestInboundTaskAsync")] |
| | | [TypeFilter(typeof(ThrottleFilter), Arguments = new object[] { 5 })] |
| | | public async Task<WebResponseContent> RequestTaskAsync([FromBody] RequestTaskDto input) |
| | | public async Task<WebResponseContent> RequestInboundTaskAsync([FromBody] RequestTaskDto input) |
| | | { |
| | | return await Service.RequestTaskAsync(input); |
| | | return await Service.RequestInboundTaskAsync(input); |
| | | } |
| | | |
| | | /// <summary> |
| | |
| | | /// </summary> |
| | | /// <param name="request">è¯·æ±æ°æ®</param> |
| | | /// <returns></returns> |
| | | [HttpPost, AllowAnonymous, Route("RequestOutTaskAsync")] |
| | | [HttpPost, AllowAnonymous, Route("RequestOutboundTaskAsync")] |
| | | [TypeFilter(typeof(ThrottleFilter), Arguments = new object[] { 5 })] |
| | | public async Task<WebResponseContent> RequestOutTaskAsync([FromBody] RequestTaskDto taskDto) |
| | | public async Task<WebResponseContent> RequestOutboundTaskAsync([FromBody] RequestTaskDto taskDto) |
| | | { |
| | | return await Service.RequestOutTaskAsync(taskDto); |
| | | return await Service.RequestOutboundTaskAsync(taskDto); |
| | | } |
| | | |
| | | /// <summary> |
| | |
| | | return await Service.AcrossFloorTaskAsync(taskDto); |
| | | } |
| | | |
| | | /// <summary> |
| | | /// 跨楼å±ä»»å¡è¯·æ± |
| | | /// </summary> |
| | | /// <param name="taskDto"></param> |
| | | /// <returns></returns> |
| | | [HttpPost, AllowAnonymous, Route("RequestAcrossFloorTaskAsync")] |
| | | [TypeFilter(typeof(ThrottleFilter), Arguments = new object[] { 5 })] |
| | | public async Task<WebResponseContent> RequestAcrossFloorTaskAsync([FromBody] RequestTaskDto taskDto) |
| | | { |
| | | return await Service.RequestAcrossFloorTaskAsync(taskDto); |
| | | } |
| | | |
| | | [HttpPost, AllowAnonymous, Route("RequestPointAcrossFloorTaskAsync")] |
| | | [TypeFilter(typeof(ThrottleFilter), Arguments = new object[] { 5 })] |
| | | public async Task<WebResponseContent> RequestPointAcrossFloorTaskAsync([FromBody] RequestTaskDto taskDto) |
| | | { |
| | | return await Service.RequestPointAcrossFloorTaskAsync(taskDto); |
| | | } |
| | | |
| | | /// <summary> |
| | | /// AGVæ¬è¿ä»»å¡è¯·æ± |
| | | /// </summary> |
| | | /// <param name="taskDto"></param> |
| | | /// <returns></returns> |
| | | [HttpPost, AllowAnonymous, Route("RequestAGVCarryTaskAsync")] |
| | | [TypeFilter(typeof(ThrottleFilter), Arguments = new object[] { 5 })] |
| | | public async Task<WebResponseContent> RequestAGVCarryTaskAsync([FromBody] RequestTaskDto taskDto) |
| | | { |
| | | return await Service.RequestAGVCarryTaskAsync(taskDto); |
| | | } |
| | | |
| | | [HttpPost, AllowAnonymous, Route("RequestPointAGVCarryTaskAsync")] |
| | | [TypeFilter(typeof(ThrottleFilter), Arguments = new object[] { 5 })] |
| | | public async Task<WebResponseContent> RequestPointAGVCarryTaskAsync([FromBody] RequestTaskDto taskDto) |
| | | { |
| | | return await Service.RequestPointAGVCarryTaskAsync(taskDto); |
| | | } |
| | | |
| | | [HttpPost, AllowAnonymous, Route("GetEmptyLocation")] |
| | | [TypeFilter(typeof(ThrottleFilter), Arguments = new object[] { 5 })] |