ExamClassResult.cs 3.4 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586
  1. using System;
  2. using System.Collections.Generic;
  3. using System.Linq;
  4. using System.Threading.Tasks;
  5. using TEAMModelOS.SDK.Context.Attributes.Azure;
  6. using TEAMModelOS.SDK.DI;
  7. namespace TEAMModelOS.SDK.Models
  8. {
  9. public class ExamClassResult : CosmosEntity
  10. {
  11. public ExamClassResult() {
  12. pk = "ExamClassResult";
  13. studentAnswers = new List<List<string>>();
  14. studentScores = new List<List<double>>();
  15. info = new ClassInfo();
  16. studentIds = new List<string>();
  17. sum = new List<double>();
  18. mark = new List<List<List<Details>>>();
  19. ans = new List<List<List<string>>>();
  20. }
  21. public string school { get; set; }
  22. public string examId { get; set; }
  23. public string subjectId { get; set; }
  24. public string gradeId { get; set; }
  25. public int year { get; set; }
  26. public ClassInfo info { get; set; }
  27. public bool progress { get; set; } = false;
  28. //public PaperSimple paper { get; set; }
  29. //public List<double> point { get; set; }
  30. public List<string> studentIds { get; set; }
  31. public List<List<string>> studentAnswers { get; set; }
  32. //记录学生客观题选项内容,便于学情分析
  33. public List<List<List<string>>> ans { get; set; }
  34. public List<List<double>> studentScores { get; set; }
  35. //记录学生原始学校ID
  36. //public List<string> scIds { get; set; } = new List<string>();
  37. //记录学生作答状态
  38. //0 未完成 1缺考 2补考 3补考完成
  39. public List<int> status { get; set; } = new List<int>();
  40. //批注
  41. public List<List<List<Details>>> mark { get; set; }
  42. public string scope { get; set; }
  43. public List<double> sum { get; set; }
  44. public double average { get; set; }
  45. //单科单班得分率
  46. public double srate { get; set; }
  47. //单科单班标准差
  48. public double standard { get; set; }
  49. //知识点结算内容
  50. public List<double> krate { get; set; } = new List<double>();
  51. public List<int> phc { get; set; } = new List<int>();
  52. public List<int> plc { get; set; } = new List<int>();
  53. public List<int> pc { get; set; } = new List<int>();
  54. //认知层次结算内容
  55. public List<double> frate { get; set; } = new List<double>();
  56. public List<int> fphc { get; set; } = new List<int>();
  57. public List<int> fplc { get; set; } = new List<int>();
  58. public List<int> fpc { get; set; } = new List<int>();
  59. }
  60. /* public class PaperSimple {
  61. public string id { get; set; }
  62. public string name { get; set; }
  63. public string code { get; set; }
  64. public string blob { get; set; }
  65. public string scope { get; set; }
  66. }*/
  67. public class ClassInfo {
  68. public string id { get; set; }
  69. public string name { get; set; }
  70. public string periodId { get; set; }
  71. public int year { get; set; }
  72. public string no { get; set; }
  73. //public string from { get; set; }
  74. //public string code { get; set; }
  75. }
  76. public class Details {
  77. public double sc { get; set; }
  78. public string tmdId { get; set; }
  79. //记录老师批注信息
  80. public string mark { get; set; }
  81. //记录老师身份信息
  82. public string identity { get; set; }
  83. public int index { get; set; }
  84. }
  85. }