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();
///
/// 压力报表
///
///
public ActionResult PressureReport()
{
return View();
}
///
/// 压力曲线
///
///
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);
}
}
}