コード例 #1
0
ファイル: UCPractice.xaml.cs プロジェクト: adouv/web-l-w-code
            /// <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));
            }
コード例 #2
0
ファイル: UCPractice.xaml.cs プロジェクト: adouv/web-l-w-code
            public string TableChart(int type)
            {
                SingleStudentQuestionStatisticsService singleStudentQuestionStatisticsService = new SingleStudentQuestionStatisticsService();
                var result = singleStudentQuestionStatisticsService.TableChart(mUCPractice.exerciseRecordId, mUCPractice.questionId.ToString(), type);

                return(MLPen.Helpers.JsonHelper.ToJSON(result));
            }
コード例 #3
0
ファイル: UCPractice.xaml.cs プロジェクト: adouv/web-l-w-code
 /// <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));
     }
 }