DataCollection.cs 5.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154
  1. using Newtonsoft.Json;
  2. using System;
  3. using System.Collections.Generic;
  4. using System.Linq;
  5. using System.Text;
  6. using System.Threading.Tasks;
  7. using System.Windows;
  8. using System.Windows.Media;
  9. namespace HistoryDLL
  10. {
  11. public partial class DataCollect
  12. {
  13. [JsonProperty("MainBackgroundCollect")]
  14. public MainBackground MainBackgroundCollect { get; set; }
  15. [JsonProperty("TimelineCollect")]
  16. public Timeline TimelineCollect { get; set; }
  17. [JsonProperty("TimelineExtentCollect")]
  18. public TimelineExtent TimelineExtentCollect { get; set; }
  19. [JsonProperty("EventCollect")]
  20. public Event EventCollect { get; set; }
  21. [JsonProperty("EventContentCollect")]
  22. public EventContent EventContentCollect { get; set; }
  23. [JsonProperty("ButtonSelectCollect")]
  24. public ButtonSelect ButtonSelectCollect { get; set; }
  25. }
  26. public partial class MainBackground
  27. {
  28. [JsonProperty("BackgroundColor")]
  29. public Color BackgroundColor { get; set; }
  30. [JsonProperty("BackgroundColorPoint")]
  31. public Point? BackgroundColorPoint { get; set; }
  32. [JsonProperty("ImgBackground")]
  33. public string ImgBackground { get; set; }
  34. [JsonProperty("ImgLogo")]
  35. public string ImgLogo { get; set; }
  36. [JsonProperty("LangText")]
  37. public string[] LangText { get; set; }
  38. [JsonProperty("LangFlowDir")]
  39. public FlowDirection[] LangFlowDir { get; set; }
  40. [JsonProperty("DefaultLangIndex")]
  41. public int DefaultLangIndex { get; set; }
  42. [JsonProperty("BackHomeMillisecond")]
  43. public int BackHomeMillisecond { get; set; }
  44. [JsonProperty("ScreenSetting")]
  45. public int ScreenSetting { get; set; }
  46. [JsonProperty("IsUsing4kResolution")]
  47. public bool IsUsing4kResolution { set; get; }
  48. }
  49. public partial class Timeline
  50. {
  51. [JsonProperty("TextColor")]
  52. public Color TextColor { get; set; }
  53. [JsonProperty("TextColorPoint")]
  54. public Point? TextColorPoint { get; set; }
  55. [JsonProperty("BackgroundColor")]
  56. public Color BackgroundColor { get; set; }
  57. [JsonProperty("BackgroundColorPoint")]
  58. public Point? BackgroundColorPoint { get; set; }
  59. [JsonProperty("ThicknessColor")]
  60. public Color ThicknessColor { get; set; }
  61. [JsonProperty("ThicknessColorPoint")]
  62. public Point? ThicknessColorPoint { get; set; }
  63. }
  64. public partial class Event
  65. {
  66. [JsonProperty("TextColor")]
  67. public Color TextColor { get; set; }
  68. [JsonProperty("TextColorPoint")]
  69. public Point? TextColorPoint { get; set; }
  70. [JsonProperty("BackgroundColor")]
  71. public Color BackgroundColor { get; set; }
  72. [JsonProperty("BackgroundColorPoint")]
  73. public Point? BackgroundColorPoint { get; set; }
  74. [JsonProperty("ThicknessColor")]
  75. public Color ThicknessColor { get; set; }
  76. [JsonProperty("ThicknessColorPoint")]
  77. public Point? ThicknessColorPoint { get; set; }
  78. }
  79. public partial class EventContent
  80. {
  81. [JsonProperty("TextColor")]
  82. public Color TextColor { get; set; }
  83. [JsonProperty("TextColorPoint")]
  84. public Point? TextColorPoint { get; set; }
  85. [JsonProperty("BackgroundColor")]
  86. public Color BackgroundColor { get; set; }
  87. [JsonProperty("BackgroundColorPoint")]
  88. public Point? BackgroundColorPoint { get; set; }
  89. [JsonProperty("ThicknessColor")]
  90. public Color ThicknessColor { get; set; }
  91. [JsonProperty("ThicknessColorPoint")]
  92. public Point? ThicknessColorPoint { get; set; }
  93. }
  94. public partial class TimelineExtent
  95. {
  96. [JsonProperty("TextColor")]
  97. public Color TextColor { get; set; }
  98. [JsonProperty("TextColorPoint")]
  99. public Point? TextColorPoint { get; set; }
  100. [JsonProperty("BackgroundColor")]
  101. public Color BackgroundColor { get; set; }
  102. [JsonProperty("BackgroundColorPoint")]
  103. public Point? BackgroundColorPoint { get; set; }
  104. [JsonProperty("ThicknessColor")]
  105. public Color ThicknessColor { get; set; }
  106. [JsonProperty("ThicknessColorPoint")]
  107. public Point? ThicknessColorPoint { get; set; }
  108. }
  109. public partial class ButtonSelect
  110. {
  111. [JsonProperty("TextColor")]
  112. public Color TextColor { get; set; }
  113. [JsonProperty("TextColorPoint")]
  114. public Point? TextColorPoint { get; set; }
  115. [JsonProperty("TextColorUnselect")]
  116. public Color TextColorUnselect { get; set; }
  117. [JsonProperty("TextColorUnselectPoint")]
  118. public Point? TextColorUnselectPoint { get; set; }
  119. [JsonProperty("BackgroundColor")]
  120. public Color BackgroundColor { get; set; }
  121. [JsonProperty("BackgroundColorPoint")]
  122. public Point? BackgroundColorPoint { get; set; }
  123. [JsonProperty("BackgroundColorUnselect")]
  124. public Color BackgroundColorUnselect { get; set; }
  125. [JsonProperty("BackgroundColorUnselectPoint")]
  126. public Point? BackgroundColorUnselectPoint { get; set; }
  127. }
  128. }