1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768 |
- using System;
- using System.Collections.Generic;
- using System.Linq;
- using System.Web;
- using System.Web.Mvc;
- using LeaRun.Application.Busines.PipeNetworkManage;
- namespace LeaRun.Application.Web.Areas.PipeNetworkManage.Controllers
- {
- public class PressureController : Controller
- {
- PressureBLL pressureBll = new PressureBLL();
- /// <summary>
- /// 压力报表
- /// </summary>
- /// <returns></returns>
- public ActionResult PressureReport()
- {
- return View();
- }
- /// <summary>
- /// 压力曲线
- /// </summary>
- /// <returns></returns>
- public ActionResult PressureCurves()
- {
- return View();
- }
- public string GetPressureCuivesData(string devId, string start, string end)
- {
- return pressureBll.GetPressureCuivesData( devId, start, end);
- }
- public string GetPressureReport(string typeFlag, string ids, string time)
- {
- if (string.IsNullOrEmpty(ids))
- {
- return "[]";
- }
- return pressureBll.GetPressureReport(typeFlag, ids, time);
- }
- public string GetPressureReportDayHead(string ids)
- {
- if (string.IsNullOrEmpty(ids))
- {
- return "[]";
- }
- return pressureBll.GetPressureDayReportHead(ids);
- }
- public string GetPressureMonthReportHead(string ids)
- {
- if (string.IsNullOrEmpty(ids))
- {
- return "[]";
- }
- return pressureBll.GetPressureMonthReportHead(ids);
- }
- }
- }
|