MoSystemParameter.cs 3.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171
  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 SIMDP.Model
  9. {
  10. /// <summary>
  11. /// 系统参数
  12. /// </summary>
  13. [Serializable]
  14. public class MoSystemParameter : BaseEntity
  15. {
  16. public MoSystemParameter()
  17. {
  18. this.CurrentLoginUserId = SysEnvironment.CurrentLoginID;
  19. }
  20. #region Field Members
  21. private int m_ParameterId = 0; // 参数编码
  22. private string m_ParameterName = ""; // 参数名称
  23. private string m_ParameterType = ""; // 参数类型
  24. private string m_ParameterScope = ""; // 参数范围
  25. private string m_ParameterUnit = ""; // 参数单位
  26. private string m_ParameterDescription = ""; // 参数描述
  27. private string m_ParameterValue = ""; // 参数值
  28. private bool m_ParameterValid = false; // 参数是否有效
  29. private DateTime m_ParameterTime = DateTime.Now; // 参数生效时间
  30. #endregion
  31. /// <summary>
  32. /// 参数编码
  33. /// </summary>
  34. public virtual int ParameterId
  35. {
  36. get
  37. {
  38. return this.m_ParameterId;
  39. }
  40. set
  41. {
  42. this.m_ParameterId = value;
  43. }
  44. }
  45. /// <summary>
  46. /// 参数名称
  47. /// </summary>
  48. public virtual string ParameterName
  49. {
  50. get
  51. {
  52. return this.m_ParameterName;
  53. }
  54. set
  55. {
  56. this.m_ParameterName = value;
  57. }
  58. }
  59. /// <summary>
  60. /// 参数类型
  61. /// </summary>
  62. public virtual string ParameterType
  63. {
  64. get
  65. {
  66. return this.m_ParameterType;
  67. }
  68. set
  69. {
  70. this.m_ParameterType = value;
  71. }
  72. }
  73. /// <summary>
  74. /// 参数范围
  75. /// </summary>
  76. public virtual string ParameterScope
  77. {
  78. get
  79. {
  80. return this.m_ParameterScope;
  81. }
  82. set
  83. {
  84. this.m_ParameterScope = value;
  85. }
  86. }
  87. /// <summary>
  88. /// 参数单位
  89. /// </summary>
  90. public virtual string ParameterUnit
  91. {
  92. get
  93. {
  94. return this.m_ParameterUnit;
  95. }
  96. set
  97. {
  98. this.m_ParameterUnit = value;
  99. }
  100. }
  101. /// <summary>
  102. /// 参数描述
  103. /// </summary>
  104. public virtual string ParameterDescription
  105. {
  106. get
  107. {
  108. return this.m_ParameterDescription;
  109. }
  110. set
  111. {
  112. this.m_ParameterDescription = value;
  113. }
  114. }
  115. /// <summary>
  116. /// 参数值
  117. /// </summary>
  118. public virtual string ParameterValue
  119. {
  120. get
  121. {
  122. return this.m_ParameterValue;
  123. }
  124. set
  125. {
  126. this.m_ParameterValue = value;
  127. }
  128. }
  129. /// <summary>
  130. /// 参数是否有效
  131. /// </summary>
  132. public virtual bool ParameterValid
  133. {
  134. get
  135. {
  136. return this.m_ParameterValid;
  137. }
  138. set
  139. {
  140. this.m_ParameterValid = value;
  141. }
  142. }
  143. /// <summary>
  144. ///参数生效时间
  145. /// </summary>
  146. public virtual DateTime ParameterTime
  147. {
  148. get
  149. {
  150. return this.m_ParameterTime;
  151. }
  152. set
  153. {
  154. this.m_ParameterTime = value;
  155. }
  156. }
  157. }
  158. }