Ejemplo n.º 1
0
            /// <summary>
            /// 单题
            /// </summary>
            public string SingleBubbleDiagramChartStatistics(string practiceRecordId, string questionId)
            {
                SingleStudentQuestionStatisticsService singleStudentQuestionStatisticsService = new SingleStudentQuestionStatisticsService();
                List <object> result = singleStudentQuestionStatisticsService.BubbleDiagramChartStatistics(practiceRecordId, questionId);

                return(MLPen.Helpers.JsonHelper.ToJSON(result));
            }
Ejemplo n.º 2
0
 /// <summary>
 /// 多题
 /// </summary>
 public string AllBubbleDiagramChartStatistics(int status, int type)
 {
     if (status == 0)
     {
         SingleStudentPracticeStatisticsService singleStudentPracticeStatisticsService = new SingleStudentPracticeStatisticsService();
         List <object> result = singleStudentPracticeStatisticsService.AllBubbleDiagramChartStatistics(mUCPractice.exerciseRecordId, type);
         return(MLPen.Helpers.JsonHelper.ToJSON(result));
     }
     else
     {
         SingleStudentQuestionStatisticsService singleStudentQuestionStatisticsService = new SingleStudentQuestionStatisticsService();
         List <object> result = singleStudentQuestionStatisticsService.BubbleDiagramChartStatistics(mUCPractice.exerciseRecordId, mUCPractice.questionId);
         return(MLPen.Helpers.JsonHelper.ToJSON(result));
     }
 }