添加制粉喷煤选择框
This commit is contained in:
@ -10,6 +10,7 @@ using Microsoft.AspNetCore.Authorization;
|
||||
using HT.Cloud.Service.ChartsManage;
|
||||
using HT.Cloud.Service.ReportManage;
|
||||
using Serenity.Services;
|
||||
using HT.Cloud.Domain.DevicesManage;
|
||||
|
||||
namespace HT.Cloud.Web.Areas.ChartsManage.Controllers
|
||||
{
|
||||
@ -23,17 +24,22 @@ namespace HT.Cloud.Web.Areas.ChartsManage.Controllers
|
||||
{
|
||||
public HistoryChartsService _historyChartsService { get;set;}
|
||||
|
||||
[HttpGet]
|
||||
public async Task<ActionResult> GetDriverGroupList()
|
||||
{
|
||||
//var StartTime = reportparam.StartTime.ToString("yyyy-MM-dd HH:mm:ss");
|
||||
//var EndTime = reportparam.EndTime.ToString("yyyy-MM-dd HH:mm:ss");
|
||||
|
||||
var data = await _historyChartsService.GetDriverGroupList();
|
||||
return Content(data);
|
||||
}
|
||||
|
||||
[HttpGet]
|
||||
[HttpGet]
|
||||
public async Task<ActionResult> GetDriverGroupList()
|
||||
{
|
||||
var data = await _historyChartsService.GetDriverGroupList();
|
||||
return Content(data);
|
||||
}
|
||||
[HttpPost]
|
||||
public async Task<ActionResult> GetGroupSubsystemTag(ChartGroupDescription chartGroupDescription)
|
||||
{
|
||||
|
||||
var data = await _historyChartsService.GetGroupSubsystemTag(chartGroupDescription.GroupDescription);
|
||||
return Content(data);
|
||||
}
|
||||
[HttpGet]
|
||||
public async Task<ActionResult> GetAllSubsystemTag()
|
||||
{
|
||||
|
||||
@ -44,7 +50,7 @@ namespace HT.Cloud.Web.Areas.ChartsManage.Controllers
|
||||
[HttpPost]
|
||||
public async Task<ActionResult> GetSubsystemAllTag(ChartSubsysytemName chartSubsysytemName)
|
||||
{
|
||||
var data = await _historyChartsService.GetSubsystemAllTag(chartSubsysytemName.SubsysytemName);
|
||||
var data = await _historyChartsService.GetSubsystemAllTag(chartSubsysytemName.SubsysytemName, chartSubsysytemName.GroupDescription);
|
||||
return Content(data);
|
||||
}
|
||||
|
||||
@ -84,10 +90,17 @@ namespace HT.Cloud.Web.Areas.ChartsManage.Controllers
|
||||
|
||||
public class ChartSubsysytemName
|
||||
{
|
||||
public string SubsysytemName { get; set; }
|
||||
}
|
||||
public string GroupDescription { get; set; }
|
||||
public string SubsysytemName { get; set; }
|
||||
|
||||
public class HDATETIMEVALUE
|
||||
}
|
||||
public class ChartGroupDescription
|
||||
{
|
||||
public string GroupDescription { get; set; }
|
||||
}
|
||||
|
||||
|
||||
public class HDATETIMEVALUE
|
||||
{
|
||||
public String HDATETIME { get; set; }
|
||||
public decimal VALUE { get; set; }
|
||||
|
Reference in New Issue
Block a user