增加连接串加密,粤北安装版本封存
This commit is contained in:
@ -19,8 +19,11 @@ namespace HT.Cloud.Web.Areas.ReportManage.Controllers
|
||||
public class HistoryReportController : BaseController
|
||||
{
|
||||
public HistoryReportService _historyReportService { get; set; }
|
||||
|
||||
[HttpGet]
|
||||
/// <summary>
|
||||
/// 绑定数据仓库的数据库ID
|
||||
/// </summary>
|
||||
private string groupDescription = GlobalContext.SystemConfig.GroupDescription;
|
||||
[HttpGet]
|
||||
public async Task<ActionResult> GetDriverGroupList()
|
||||
{
|
||||
//var StartTime = reportparam.StartTime.ToString("yyyy-MM-dd HH:mm:ss");
|
||||
|
@ -0,0 +1,49 @@
|
||||
using Microsoft.AspNetCore.Mvc;
|
||||
using System;
|
||||
using System.Threading.Tasks;
|
||||
using HT.Cloud.Service.ChartsManage;
|
||||
using HT.Cloud.Service.ReportManage;
|
||||
using HT.Cloud.Code;
|
||||
|
||||
namespace HT.Cloud.Web.Areas.ReportManage.Controllers
|
||||
{
|
||||
[Area("ReportManage")]
|
||||
public class MainPageController : BaseController
|
||||
{
|
||||
public MainPageService _mainPageService { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 绑定数据仓库的数据库ID
|
||||
/// </summary>
|
||||
private string groupDescription = GlobalContext.SystemConfig.GroupDescription;
|
||||
|
||||
[HttpGet]
|
||||
public async Task<ActionResult> GetMainPageInit()
|
||||
{
|
||||
var data = await _mainPageService.GetMainPageInit(groupDescription);
|
||||
return Content(data);
|
||||
}
|
||||
|
||||
[HttpGet]
|
||||
public async Task<ActionResult> GetMainPageChartInit()
|
||||
{
|
||||
var data = await _mainPageService.GetMainPageChartInit(groupDescription);
|
||||
return Content(data);
|
||||
}
|
||||
|
||||
[HttpGet]
|
||||
public async Task<ActionResult> GetRtData()
|
||||
{
|
||||
var data = await _mainPageService.GetRtData(groupDescription);
|
||||
return Content(data);
|
||||
}
|
||||
|
||||
[HttpGet]
|
||||
public async Task<ActionResult> GetRtChartData()
|
||||
{
|
||||
var data = await _mainPageService.GetRtChartData(groupDescription);
|
||||
return Content(data);
|
||||
}
|
||||
|
||||
}
|
||||
}
|
@ -22,7 +22,10 @@ namespace HT.Cloud.Web.Areas.ReportManage.Controllers
|
||||
public class MetaTagAlarmController : BaseController
|
||||
{
|
||||
public MetaTagAlarmService _metaTagAlarmService { get;set;}
|
||||
|
||||
/// <summary>
|
||||
/// 绑定数据仓库的数据库ID
|
||||
/// </summary>
|
||||
private string groupDescription = GlobalContext.SystemConfig.GroupDescription;
|
||||
[HttpGet]
|
||||
public async Task<ActionResult> GetDriverGroupList()
|
||||
{
|
||||
|
@ -3,6 +3,7 @@ using System;
|
||||
using System.Threading.Tasks;
|
||||
using HT.Cloud.Service.ChartsManage;
|
||||
using HT.Cloud.Service.ReportManage;
|
||||
using HT.Cloud.Code;
|
||||
|
||||
namespace HT.Cloud.Web.Areas.ReportManage.Controllers
|
||||
{
|
||||
@ -10,8 +11,11 @@ namespace HT.Cloud.Web.Areas.ReportManage.Controllers
|
||||
public class RtReportController : BaseController
|
||||
{
|
||||
public RtReportService _rtReportService { get; set; }
|
||||
|
||||
[HttpGet]
|
||||
/// <summary>
|
||||
/// 绑定数据仓库的数据库ID
|
||||
/// </summary>
|
||||
private string groupDescription = GlobalContext.SystemConfig.GroupDescription;
|
||||
[HttpGet]
|
||||
public async Task<ActionResult> GetRtData()
|
||||
{
|
||||
var data = await _rtReportService.GetRtSubsysTagValue();
|
||||
|
Reference in New Issue
Block a user