예제 #1
0
        public void OnGet()
        {
            ViewData["Message"] = "Indicadores de demanda de energía";
            ReportViewModel     = ReportHelper.GetReportViewerModel(this.Request);

            ReportViewModel.ReportPath = ReportServiceHelpers.AddCharacterStartEnd(_configuration["Report:DemandaFolder"], true, true, "/")
                                         + _configuration["Report:ReportName_DashBoardBI"]; // "/DemandaBI/DashBoardBI";
            ReportViewModel.Title = "Indicadores de demanda de energía";
        }
예제 #2
0
 private void Init()
 {
     ReportViewModel            = ReportHelper.GetReportViewerModel(this.Request);
     ReportViewModel.ReportPath = ReportServiceHelpers.AddCharacterStartEnd(_configuration["Report:BitacoraFolder"], true, true, "/")
                                  + _configuration["Report:ReportName_Audit_Bitacora"]; // "/DemandaBI/Auditoria/Audit_Bitacora";
     ReportViewModel.Title          = "Bitácora";
     this.ControllerPath            = "/Bitacora/ReportBitacora";
     ReportViewModel.ControllerPath = this.ControllerPath;
 }
예제 #3
0
        public IActionResult OnGetDemandaDepartamento()
        {
            ViewData["Message"] = "DemandaDepartamento";

            if (!ModelState.IsValid)
            {
                return(Page());
            }

            ReportViewModel            = ReportHelper.GetReportViewerModel(this.Request);
            ReportViewModel.ReportPath = ReportServiceHelpers.AddCharacterStartEnd(_configuration["Report:DemandaFolder"], true, true, "/")
                                         + _configuration["Report:ReportName_DemandaDepartamento"]; // "/DemandaBI/DemandaDepartamento";
            ReportViewModel.Title = "Demanda por geografía";

            return(Page());
        }
예제 #4
0
        public IActionResult OnGetDemandaComercialAgente(string agente)
        {
            ViewData["Message"] = "DemandaComercialAgente" + " - Agente: " + agente;

            if (!ModelState.IsValid)
            {
                return(Page());
            }

            ReportViewModel            = ReportHelper.GetReportViewerModel(this.Request);
            ReportViewModel.ReportPath = ReportServiceHelpers.AddCharacterStartEnd(_configuration["Report:DemandaFolder"], true, true, "/")
                                         + _configuration["Report:ReportName_DemandaComercialAgente"]; // "/DemandaBI/DemandaComercialAgente";
            ReportViewModel.Title = "Demanda comercial por agente";

            return(Page());
        }
예제 #5
0
        public IActionResult OnGetDemandaRealComercialPerdida()
        {
            ViewData["Message"] = "DemandaRealComercialPerdida";

            if (!ModelState.IsValid)
            {
                return(Page());
            }

            ReportViewModel            = ReportHelper.GetReportViewerModel(this.Request);
            ReportViewModel.ReportPath = ReportServiceHelpers.AddCharacterStartEnd(_configuration["Report:DemandaFolder"], true, true, "/")
                                         + _configuration["Report:ReportName_DemandaRealComercialPerdida"]; // "/DemandaBI/DemandaRealComercialPerdida";
            ReportViewModel.Title = "Demanda real comercial y pérdidas";

            return(Page());
        }
예제 #6
0
        public IActionResult OnGetBitacoraEstadistica()
        {
            ViewData["Message"] = "BitacoraEstadistica";

            if (!ModelState.IsValid)
            {
                return(Page());
            }

            ReportViewModel            = ReportHelper.GetReportViewerModel(this.Request);
            ReportViewModel.ReportPath = ReportServiceHelpers.AddCharacterStartEnd(_configuration["Report:BitacoraFolder"], true, true, "/")
                                         + _configuration["Report:ReportName_Audit_BitacoraEstadisticas"]; // "/DemandaBI/Auditoria/Audit_BitacoraEstadisticas";
            ReportViewModel.Title = "Bitácora estadísticas de procesos";

            return(Page());
        }