| | |
| | | [DisplayName("获取报警信息表列表")] |
| | | public async Task<List<WcsAlarmInfoOutput>> List([FromQuery] PageWcsAlarmInfoInput input) |
| | | { |
| | | return await _wcsAlarmInfoRep.AsQueryable().Select<WcsAlarmInfoOutput>().ToListAsync(); |
| | | return await _wcsAlarmInfoRep.AsQueryable() |
| | | //.WhereIF(!input.Status.IsNullOrEmpty(), s => s.Status == input.Status) |
| | | .Select<WcsAlarmInfoOutput>().ToListAsync(); |
| | | } |
| | | |
| | | |
| | | |
| | | /// <summary> |
| | | /// 复位报警 |
| | | /// </summary> |
| | | /// <param name="input"></param> |
| | | /// <returns></returns> |
| | | [HttpPost] |
| | | [ApiDescriptionSettings(Name = "Reset")] |
| | | [DisplayName("复位报警")] |
| | | public async Task Reset() |
| | | { |
| | | throw Oops.Bah("开发中"); |
| | | } |
| | | |
| | | |
| | | } |