diff --git a/TechHelper.Client/Exam/Exam/ExamParse.cs b/TechHelper.Client/Exam/Exam/ExamParse.cs new file mode 100644 index 0000000..1d4f155 --- /dev/null +++ b/TechHelper.Client/Exam/Exam/ExamParse.cs @@ -0,0 +1,627 @@ +using System.Text.RegularExpressions; + +namespace TechHelper.Client.Exam.Parse +{ + public class ExamPaper + { + public string Title { get; set; } = "未识别试卷标题"; + public string Descript { get; set; } = "未识别试卷描述"; + public string SubjectArea { get; set; } = "试卷类别"; + public List MajorQuestionGroups { get; set; } = new List(); + public List TopLevelQuestions { get; set; } = new List(); + } + + public class MajorQuestionGroup + { + public string Title { get; set; } = string.Empty; + public string Descript { get; set; } = string.Empty; + public float Score { get; set; } + public List SubMajorQuestionGroups { get; set; } = new List(); + public List Questions { get; set; } = new List(); + public int Priority { get; set; } + } + + public class Question + { + public string Number { get; set; } = string.Empty; + public string Text { get; set; } = string.Empty; + public float Score { get; set; } + public List