MoLocationMap.cs 4.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170
  1. using ProjectBase.Data.BaseDAL;
  2. using ProjectBase.Util;
  3. using System;
  4. using System.Collections.Generic;
  5. using System.Linq;
  6. using System.Text;
  7. using System.Threading.Tasks;
  8. namespace SIASUN.Autopilot.Model
  9. {
  10. /// <summary>
  11. /// 地图初始化三个点的经纬度
  12. /// </summary>
  13. [Serializable]
  14. public class MoLocationMap : BaseEntity
  15. {
  16. public MoLocationMap()
  17. {
  18. this.CurrentLoginUserId = SysEnvironment.CurrentLoginID;
  19. }
  20. #region Field Members
  21. private string m_MapId = ""; // 地图编码
  22. private float m_LocationLon1 = 0; // 第一个点的经度
  23. private float m_LocationLat1 = 0; // 第一个点的纬度
  24. private float m_LocationLon2 = 0; // 第二个点的经度
  25. private float m_LocationLat2 = 0; // 第二个点的纬度
  26. private float m_LocationX1 = 0; // 第一个点的X坐标
  27. private float m_LocationY1 = 0; // 第一个点的Y坐标
  28. private float m_LocationX2 = 0; // 第二个点的X坐标
  29. private float m_LocationY2 = 0; // 第二个点的Y坐标
  30. #endregion
  31. #region Property Members
  32. /// <summary>
  33. /// 地图编码
  34. /// </summary>
  35. public virtual string MapId
  36. {
  37. get
  38. {
  39. return this.m_MapId;
  40. }
  41. set
  42. {
  43. this.m_MapId = value;
  44. }
  45. }
  46. /// <summary>
  47. /// 第一个点的经度
  48. /// </summary>
  49. public virtual float LocationLon1
  50. {
  51. get
  52. {
  53. return this.m_LocationLon1;
  54. }
  55. set
  56. {
  57. this.m_LocationLon1 = value;
  58. }
  59. }
  60. /// <summary>
  61. /// 第一个点的纬度
  62. /// </summary>
  63. public virtual float LocationLat1
  64. {
  65. get
  66. {
  67. return this.m_LocationLat1;
  68. }
  69. set
  70. {
  71. this.m_LocationLat1 = value;
  72. }
  73. }
  74. /// <summary>
  75. /// 第二个点的经度
  76. /// </summary>
  77. public virtual float LocationLon2
  78. {
  79. get
  80. {
  81. return this.m_LocationLon2;
  82. }
  83. set
  84. {
  85. this.m_LocationLon2 = value;
  86. }
  87. }
  88. /// <summary>
  89. /// 第二个点的纬度
  90. /// </summary>
  91. public virtual float LocationLat2
  92. {
  93. get
  94. {
  95. return this.m_LocationLat2;
  96. }
  97. set
  98. {
  99. this.m_LocationLat2 = value;
  100. }
  101. }
  102. /// <summary>
  103. /// 第一个点的X坐标
  104. /// </summary>
  105. public virtual float LocationX1
  106. {
  107. get
  108. {
  109. return this.m_LocationX1;
  110. }
  111. set
  112. {
  113. this.m_LocationX1 = value;
  114. }
  115. }
  116. /// <summary>
  117. /// 第一个点的Y坐标
  118. /// </summary>
  119. public virtual float LocationY1
  120. {
  121. get
  122. {
  123. return this.m_LocationY1;
  124. }
  125. set
  126. {
  127. this.m_LocationY1 = value;
  128. }
  129. }
  130. /// <summary>
  131. /// 第二个点的X坐标
  132. /// </summary>
  133. public virtual float LocationX2
  134. {
  135. get
  136. {
  137. return this.m_LocationX2;
  138. }
  139. set
  140. {
  141. this.m_LocationX2 = value;
  142. }
  143. }
  144. /// <summary>
  145. /// 第二个点的Y坐标
  146. /// </summary>
  147. public virtual float LocationY2
  148. {
  149. get
  150. {
  151. return this.m_LocationY2;
  152. }
  153. set
  154. {
  155. this.m_LocationY2 = value;
  156. }
  157. }
  158. #endregion
  159. }
  160. }