| | |
| | | /// <param name="input">请求数据</param> |
| | | /// <returns></returns> |
| | | [HttpPost, AllowAnonymous, Route("GetFROutTrayToCW")] |
| | | [TypeFilter(typeof(ThrottleFilter), Arguments = new object[] { 5 })] // 5秒节流 |
| | | [TypeFilter(typeof(ThrottleFilter), Arguments = new object[] { 15 })] // 5秒节流 |
| | | public async Task<WebResponseContent> GetFROutTrayToCW([FromBody] RequestTaskDto input) |
| | | { |
| | | return await Service.GetFROutTrayToCW(input); |
| | |
| | | /// <param name="input">请求数据</param> |
| | | /// <returns></returns> |
| | | [HttpPost, AllowAnonymous, Route("EmergencyTask")] |
| | | [TypeFilter(typeof(ThrottleFilter), Arguments = new object[] { 5 })] // 5秒节流 |
| | | public WebResponseContent EmergencyTask([FromBody] object input) |
| | | { |
| | | return Service.EmergencyTask(input); |
| | |
| | | { |
| | | return await Service.SetEmptyOutbyInToOutOneAsync(input); |
| | | } |
| | | [HttpPost, AllowAnonymous, Route("GetTaskInfo")] |
| | | public WebResponseContent GetTaskInfo() |
| | | { |
| | | return Service.GetTaskInfo(); |
| | | } |
| | | [HttpPost, AllowAnonymous, Route("GetStockInfo")] |
| | | public WebResponseContent GetStockInfo() |
| | | { |
| | | return Service.GetStockInfo(); |
| | | } |
| | | |
| | | /// <summary> |
| | | /// 获取库存信息 |
| | | /// </summary> |
| | | /// <returns></returns> |
| | | [HttpPost, AllowAnonymous, Route("GetStockQuantity")] |
| | | public WebResponseContent GetStockQuantity() |
| | | { |
| | | return Service.GetStockQuantity(); |
| | | } |
| | | [HttpPost, AllowAnonymous, Route("Getproductionvolume")] |
| | | public WebResponseContent Getproductionvolume() |
| | | { |
| | | return Service.Getproductionvolume(); |
| | | } |
| | | [HttpPost, AllowAnonymous, Route("Getoutput")] |
| | | public WebResponseContent Getoutput() |
| | | { |
| | | return Service.Getoutput(); |
| | | } |
| | | |
| | | [HttpPost, AllowAnonymous, Route("GetTimeoutgetPageData")] |
| | | public WebResponseContent GetTimeout() |
| | | { |
| | | return Service.GetTimeout(); |
| | | } |
| | | |
| | | |
| | | /// <summary> |
| | | /// 产量统计 |
| | | /// </summary> |
| | | /// <returns></returns> |
| | | [HttpPost,AllowAnonymous,Route("GetproductionstatisticsgetPageData")] |
| | | public WebResponseContent Getproductionstatistics() |
| | | { |
| | | return Service.Getproductionstatistics(); |
| | | } |
| | | } |