Beispiel #1
0
        /// <summary>
        /// 获取关联有报警配置的分析模型 2017-06-26
        /// 2017-07-13 追加分页
        /// </summary>
        /// <param name="analysisModelName">分析模型名称</param>
        /// <returns>获取关联有报警配置的分析模型</returns>
        public LargedataAnalysisConfigBusinessModel GetLargeDataAnalysisConfigWithRegionOutagePage(string analysisModelName, int pageIndex = 1, int pageSize = 0)
        {
            LargedataAnalysisConfigBusinessModel model = new LargedataAnalysisConfigBusinessModel();

            Basic.Framework.Web.BasicResponse <List <JC_LargedataAnalysisConfigInfo> > response =
                largedataAnalysisConfigService.GetLargeDataAnalysisConfigWithRegionOutagePage(new LargedataAnalysisConfigGetListWithRegionOutageRequest()
            {
                AnalysisModelName = analysisModelName,
                PagerInfo         = new PagerInfo()
                {
                    PageSize  = pageSize,
                    PageIndex = pageIndex
                }
            });

            model.pagerInfo = response.PagerInfo;
            if (response.Data != null && response.Data.Count > 0)
            {
                model.LargedataAnalysisConfigInfoList = response.Data;
            }
            else
            {
                model.LargedataAnalysisConfigInfoList = new List <JC_LargedataAnalysisConfigInfo>();
            }

            return(model);
        }
Beispiel #2
0
 public BasicResponse <List <JC_LargedataAnalysisConfigInfo> > GetLargeDataAnalysisConfigWithRegionOutagePage(LargedataAnalysisConfigGetListWithRegionOutageRequest largedataAnalysisConfigGetListWithRegionOutageRequest)
 {
     return(_largedataAnalysisConfigService.GetLargeDataAnalysisConfigWithRegionOutagePage(largedataAnalysisConfigGetListWithRegionOutageRequest));
 }