using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using LeaRun.Application.Service.PipeNetworkManage; using LeaRun.Util.WebControl; namespace LeaRun.Application.Busines.PipeNetworkManage { public class AnalysisBLL { private AnalysisService service = new AnalysisService(); /// /// 月度用水分析 /// /// /// /// /// /// public string GetMonthAnalysis(string devId, string time, Pagination pagination) { return service.GetMonthAnalysis(devId, time, pagination); } /// /// 年度用水分析 /// /// /// /// /// /// public string GetYearAnalysis(string devId, string time, Pagination pagination) { return service.GetYearAnalysis(devId, time, pagination); } /// /// 每小时用水量 /// /// 测点ID /// 时间 /// public string GetHourFlow(string deviceId, string time) { return service.GetHourFlow(deviceId, time); } /// /// 前三天平均用水量 /// /// /// /// public string GetHourAvgFlow(string deviceId, string time) { return service.GetHourAvgFlow(deviceId, time); } /// /// 每日用水量 /// /// /// /// public string GetDayFlow(string deviceId, string time) { return service.GetDayFlow(deviceId, time); } /// /// 每月用水量 /// /// /// /// public string GetMonthFlow(string deviceId, string time) { return service.GetMonthFlow(deviceId, time); } /// /// 瞬时流量 /// /// /// /// /// public string GetFlowRate(string deviceId, string start, string end) { return service.GetFlowRate(deviceId, start, end); } /// /// 最小流量分析 /// /// /// /// /// public string GetMinFlow(string deviceId, string start, string end) { return service.GetMinFlow(deviceId,start,end); } } }