| | |
| | | /// <param name="endTime">ç»ææ¶é´</param> |
| | | /// <param name="resolution">æ¶é´æ¥é¿,é»è®¤300ç§</param> |
| | | /// <returns></returns> |
| | | public static async Task<List<ZyDto.PumpIsopen>> GetPumpIsopen(DateTime StartTime, DateTime EndTime, string resolution = "300") |
| | | public static async Task<List<ZyDto.PumpIsopen>> GetPumpOpenStatusBySingleDay(DateTime StartTime, string resolution = "300") |
| | | { |
| | | List<IsOpen> listopen = new List<IsOpen> { |
| | | new IsOpen |
| | |
| | | { |
| | | search = "history", |
| | | starttime = new DateTime(StartTime.Year, StartTime.Month, StartTime.Day, 0, 0, 0).ToString("G"), |
| | | endtime = new DateTime(EndTime.Year, EndTime.Month, EndTime.Day, 23, 59, 59).ToString("G"), |
| | | endtime = new DateTime(StartTime.Year, StartTime.Month, StartTime.Day, 23, 59, 59).ToString("G"), |
| | | Resolution = resolution, |
| | | taglist = tagDict.Select(x => x.Key).ToArray() |
| | | }; |