| | |
| | | using WIDESEA_DTO; |
| | | using Org.BouncyCastle.Asn1.Mozilla; |
| | | using WIDESEA_DTO; |
| | | |
| | | namespace WIDESEA_WMSServer.Controllers.Task; |
| | | |
| | |
| | | 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> |
| | | /// 空æç满çåºåºè¯·æ± |
| | | /// </summary> |
| | |
| | | /// <returns></returns> |
| | | [HttpPost, HttpGet, AllowAnonymous, Route("OutBoundTaskAsync")] |
| | | [TypeFilter(typeof(ThrottleFilter), Arguments = new object[] { 2 })] |
| | | public Task<WebResponseContent> OutBoundTaskAsync(string palletCode, string remark) |
| | | public Task<WebResponseContent> OutBoundTaskAsync(string palletCode, string remark, int doubleTray) |
| | | { |
| | | return Service.OutBoundTaskAsync(palletCode, remark); |
| | | return Service.OutBoundTaskAsync(palletCode, remark, doubleTray); |
| | | } |
| | | |
| | | [HttpPost, HttpGet, AllowAnonymous, Route("OtherOutBoundTaskAsync")] |
| | |
| | | return await Service.AGVIsNeedRelocationAsync(taskDto); |
| | | } |
| | | |
| | | [HttpPost, AllowAnonymous, Route("GetTaskData")] |
| | | public async Task<WebResponseContent> GetTaskData() |
| | | { |
| | | return await Service.GetTaskData(); |
| | | } |
| | | |
| | | [HttpPost, AllowAnonymous, Route("UpdateStartLocationInfo")] |
| | | public async Task<WebResponseContent> UpdateStartLocationInfo([FromBody]Dt_Task task) |
| | | { |
| | |
| | | { |
| | | return Service.RequestLocation(palletCode); |
| | | } |
| | | |
| | | /// <summary> |
| | | /// åå§åæåæº |
| | | /// </summary> |
| | | [HttpGet, HttpPost, AllowAnonymous, Route("elevator")] |
| | | public Task<WebResponseContent> InitializationElevator() |
| | | { |
| | | return Service.InitializationElevator(); |
| | | } |
| | | } |