/// <summary> /// 认知诊断指数 /// </summary> public string CognitiveIndexChartStatistics(int type) { Dictionary <string, object> result = new Dictionary <string, object>(); if (type == 1) { AllStudentKnowledgeStatisticsService allStudentKnowledgeStatisticsService = new AllStudentKnowledgeStatisticsService(); result = allStudentKnowledgeStatisticsService.CognitiveIndexChartStatistics(mUCPractice.exerciseRecordId); } else { AllStudentQuestionStatisticsService allStudentQuestionStatisticsService = new AllStudentQuestionStatisticsService(); result = allStudentQuestionStatisticsService.CognitiveIndexChartStatistics(mUCPractice.exerciseRecordId); } return(MLPen.Helpers.JsonHelper.ToJSON(result)); }