FloorDataConfigUtil.cs 4.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174
  1. using CollaborativePlatformMain.DFEntity;
  2. using DFBIM.CADNETCommon.XmlConfig;
  3. using System;
  4. using System.Collections.Generic;
  5. using System.Collections.ObjectModel;
  6. using System.Linq;
  7. using System.Text;
  8. using System.Threading.Tasks;
  9. namespace CollaborativePlatformMain.CADStartUtil
  10. {
  11. /// <summary>
  12. ///
  13. /// <para>文件名(File Name): FloorDataConfigUtil.cs</para>
  14. ///
  15. /// <para>描述(Description): 楼层数据config文件</para>
  16. ///
  17. /// <para>数据表(Tables): nothing</para>
  18. ///
  19. /// <para>作者(Author): Ou Rui Song</para>
  20. ///
  21. /// <para>日期(Create Date): 2024年5月8日11:10:37</para>
  22. ///
  23. /// 修改记录(Revision History):
  24. /// R1:
  25. /// 修改作者:
  26. /// 修改日期:
  27. /// 修改理由:
  28. ///
  29. /// </summary>
  30. [Serializable]
  31. public class FloorDataConfigUtil: XmlConfigBase
  32. {
  33. public override object InitConfig()
  34. {
  35. return new ObservableCollection<List<FloorLayerData>>();
  36. }
  37. public override void SetConfigFile()
  38. {
  39. ConfigFile = "FloorLayerData.config";
  40. }
  41. ObservableCollection<List<FloorLayerData>> info;
  42. public ObservableCollection<List<FloorLayerData>> Info
  43. {
  44. get { return info == null ? info = new ObservableCollection<List<FloorLayerData>>() : info; }
  45. set { info = value; }
  46. }
  47. }
  48. /// <summary>
  49. ///
  50. /// <para>文件名(File Name): OpenDrawConfigUtil.cs</para>
  51. ///
  52. /// <para>描述(Description): 打开图纸</para>
  53. ///
  54. /// <para>数据表(Tables): nothing</para>
  55. ///
  56. /// <para>作者(Author): Ou Rui Song</para>
  57. ///
  58. /// <para>日期(Create Date): 2024年5月8日11:10:37</para>
  59. ///
  60. /// 修改记录(Revision History):
  61. /// R1:
  62. /// 修改作者:
  63. /// 修改日期:
  64. /// 修改理由:
  65. ///
  66. /// </summary>
  67. [Serializable]
  68. public class OpenDrawConfigUtil : XmlConfigBase
  69. {
  70. public override object InitConfig()
  71. {
  72. return new ObservableCollection<OpenDrawPathData>();
  73. }
  74. public override void SetConfigFile()
  75. {
  76. ConfigFile = "OpenDrawPathData.config";
  77. }
  78. ObservableCollection<OpenDrawPathData> info;
  79. public ObservableCollection<OpenDrawPathData> Info
  80. {
  81. get { return info == null ? info = new ObservableCollection<OpenDrawPathData>() : info; }
  82. set { info = value; }
  83. }
  84. }
  85. /// <summary>
  86. ///
  87. /// <para>文件名(File Name): OpenDrawConfigUtil.cs</para>
  88. ///
  89. /// <para>描述(Description): 打开图纸</para>
  90. ///
  91. /// <para>数据表(Tables): nothing</para>
  92. ///
  93. /// <para>作者(Author): Ou Rui Song</para>
  94. ///
  95. /// <para>日期(Create Date): 2024年5月8日11:10:37</para>
  96. ///
  97. /// 修改记录(Revision History):
  98. /// R1:
  99. /// 修改作者:
  100. /// 修改日期:
  101. /// 修改理由:
  102. ///
  103. /// </summary>
  104. [Serializable]
  105. public class TwoOpenCADConfigUtil : XmlConfigBase
  106. {
  107. public override object InitConfig()
  108. {
  109. return new ObservableCollection<TwoOpenData>();
  110. }
  111. public override void SetConfigFile()
  112. {
  113. ConfigFile = "CMTwoOpenCAD.config";
  114. }
  115. ObservableCollection<TwoOpenData> info;
  116. public ObservableCollection<TwoOpenData> Info
  117. {
  118. get { return info == null ? info = new ObservableCollection<TwoOpenData>() : info; }
  119. set { info = value; }
  120. }
  121. }
  122. /// <summary>
  123. ///
  124. /// <para>文件名(File Name): WholePictureDataConfigUtil.cs</para>
  125. ///
  126. /// <para>描述(Description): 整图地址Config</para>
  127. ///
  128. /// <para>数据表(Tables): nothing</para>
  129. ///
  130. /// <para>作者(Author): Ou Rui Song</para>
  131. ///
  132. /// <para>日期(Create Date): 2024年5月8日11:10:37</para>
  133. ///
  134. /// 修改记录(Revision History):
  135. /// R1:
  136. /// 修改作者:
  137. /// 修改日期:
  138. /// 修改理由:
  139. ///
  140. /// </summary>
  141. [Serializable]
  142. public class WholePictureDataConfigUtil : XmlConfigBase
  143. {
  144. public override object InitConfig()
  145. {
  146. return new ObservableCollection<WholePictureData>();
  147. }
  148. public override void SetConfigFile()
  149. {
  150. ConfigFile = "WholePicture.config";
  151. }
  152. ObservableCollection<WholePictureData> info;
  153. public ObservableCollection<WholePictureData> Info
  154. {
  155. get { return info == null ? info = new ObservableCollection<WholePictureData>() : info; }
  156. set { info = value; }
  157. }
  158. }
  159. }