Ejemplo n.º 1
0
            /// <summary>
            /// 单次练习答题基本情况统计 知识点维度
            /// </summary>
            /// <returns></returns>
            public string OnePracticeKnowledgeBaseInfo()
            {
                AllStudentKnowledgeStatisticsService allStudentKnowledgeStatisticsService = new AllStudentKnowledgeStatisticsService();
                var result = allStudentKnowledgeStatisticsService.OnePracticeKnowledgeBaseStatistics(mUCPractice.exerciseRecordId);

                return(MLPen.Helpers.JsonHelper.ToJSON(result));
            }
Ejemplo n.º 2
0
            /// <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));
            }
Ejemplo n.º 3
0
            /// <summary>
            /// 更新知识点作答分析
            /// </summary>
            public void SaveAllStudentKnowledgeRecord(string exerciseRecordId)
            {
                AllStudentKnowledgeStatisticsService allStudentKnowledgeStatisticsService = new AllStudentKnowledgeStatisticsService();

                allStudentKnowledgeStatisticsService.SaveAllStudentKnowledgeRecord(exerciseRecordId);
            }