| | |
| | | } |
| | | |
| | | /// <summary> |
| | | /// æ´æ°è´§ä½ä»»å¡ç¶æå°ä¸ä¸ä¸ªèç¹ |
| | | /// </summary> |
| | | /// <param name="input">è¯·æ±æ°æ®</param> |
| | | /// <returns></returns> |
| | | [HttpPost, HttpGet, AllowAnonymous, Route("RequestLocationAsync")] |
| | | [TypeFilter(typeof(ThrottleFilter), Arguments = new object[] { 5 })] |
| | | public async Task<WebResponseContent> RequestLocationAsync([FromBody] RequestTaskDto input) |
| | | { |
| | | return await Service.RequestLocationAsync(input); |
| | | } |
| | | |
| | | /// <summary> |
| | | /// 空æç满çåºåºè¯·æ± |
| | | /// </summary> |
| | | /// <param name="request">è¯·æ±æ°æ®</param> |
| | |
| | | } |
| | | |
| | | [HttpPost, AllowAnonymous, Route("AGVIsNeedRelocationAsync")] |
| | | [TypeFilter(typeof(ThrottleFilter), Arguments = new object[] { 5 })] |
| | | public async Task<WebResponseContent> AGVIsNeedRelocationAsync([FromBody] RequestTaskDto taskDto) |
| | | { |
| | | return await Service.AGVIsNeedRelocationAsync(taskDto); |
| | |
| | | { |
| | | return await Service.GetTaskData(); |
| | | } |
| | | |
| | | [HttpPost, AllowAnonymous, Route("UpdateStartLocationInfo")] |
| | | public async Task<WebResponseContent> UpdateStartLocationInfo([FromBody]Dt_Task task) |
| | | { |
| | | return await Service.UpdateStartLocationInfo(task); |
| | | } |
| | | [HttpPost,HttpGet, AllowAnonymous, Route("RequestLocation")] |
| | | public Task<WebResponseContent> RequestLocation(string palletCode) |
| | | { |
| | | return Service.RequestLocation(palletCode); |
| | | } |
| | | } |