/// <summary>
        /// 初始化分析模板信息
        /// </summary>
        /// <returns></returns>
        public AnalysisTemplateBusinessModel LoadAnalysisTemplate(string templateId)
        {
            AnalysisTemplateBusinessModel analysisTemplateBusinessModel = new AnalysisTemplateBusinessModel();

            //初始化参数列表
            analysisTemplateBusinessModel.ParameterInfoList = parameterService.GetJC_ParameterList
                                                                  (new ParameterGetListRequest()).Data;

            //初始化因子列表
            analysisTemplateBusinessModel.FactorInfoList = factorService.GetJC_FactorList
                                                               (new FactorGetListRequest()).Data;

            //初始化模板信息
            analysisTemplateBusinessModel.AnalysisTemplateInfo = analysisTemplateService.GetJC_AnalysistemplateByTempleteId(new AnalysisTemplateGetRequest()
            {
                TempleteId = templateId
            }).Data;

            //初始化表达式配置
            analysisTemplateBusinessModel.ExpressionConfigInfoList = expressionconfigService.GetExpressionConfigListByTempleteId(new ExpressionConfigGetListRequest()
            {
                TempleteId = templateId
            }).Data;
            //表达式信息
            analysisTemplateBusinessModel.AnalysisExpressionInfoList = analyticalExpressionService.GetAnalysisTemplateListByTempleteId(new AnalyticalExpressionGetListRequest()
            {
                TempleteId = templateId
            }).Data;

            return(analysisTemplateBusinessModel);
        }
Пример #2
0
 public BasicResponse <List <JC_FactorInfo> > GetJC_FactorList(FactorGetListRequest jC_Factorrequest)
 {
     return(_factorService.GetJC_FactorList(jC_Factorrequest));
 }