FixAuth
This commit is contained in:
@@ -24,9 +24,9 @@ namespace TechHelper.Client.Exam
|
||||
|
||||
public class QuestionAnswerStatus
|
||||
{
|
||||
public string QuestionSequence { get; set; } = string.Empty; // 题目序号,例如 "1.1"
|
||||
public string QuestionText { get; set; } = string.Empty; // 题目文本
|
||||
public float QuestionScore { get; set; } // 题目分值
|
||||
public string QuestionSequence { get; set; } = string.Empty; // 题目序号,例如 "1.1"
|
||||
public string QuestionText { get; set; } = string.Empty; // 题目文本
|
||||
public float QuestionScore { get; set; } // 题目分值
|
||||
public Dictionary<Guid, bool> StudentCorrectStatus { get; set; } = new Dictionary<Guid, bool>();
|
||||
// Key: Student.Id, Value: true 表示正确,false 表示错误
|
||||
}
|
||||
|
@@ -1,36 +0,0 @@
|
||||
using System.Xml.Serialization;
|
||||
|
||||
namespace TechHelper.Client.Exam.QuestionSimple
|
||||
{
|
||||
|
||||
[XmlRoot("QG")]
|
||||
public class QuestionGroup
|
||||
{
|
||||
[XmlElement("T")]
|
||||
public string Title { get; set; }
|
||||
[XmlElement("QR")]
|
||||
public string QuestionReference { get; set; } = "";
|
||||
[XmlArray("SQs")]
|
||||
[XmlArrayItem("SQ")]
|
||||
public List<SubQuestion> SubQuestions { get; set; } = new List<SubQuestion>();
|
||||
[XmlArray("SQGs")]
|
||||
[XmlArrayItem("QG")]
|
||||
public List<QuestionGroup> SubQuestionGroups { get; set; } = new List<QuestionGroup>();
|
||||
}
|
||||
public class SubQuestion
|
||||
{
|
||||
[XmlElement("T")]
|
||||
public string Stem { get; set; }
|
||||
[XmlArray("Os")]
|
||||
[XmlArrayItem("O")]
|
||||
public List<Option> Options { get; set; } = new List<Option>();
|
||||
[XmlElement("SA")]
|
||||
public string SampleAnswer { get; set; } = "";
|
||||
}
|
||||
public class Option
|
||||
{
|
||||
[XmlAttribute("V")]
|
||||
public string Value { get; set; }
|
||||
}
|
||||
|
||||
}
|
Reference in New Issue
Block a user