MoProductData.cs 2.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105
  1. using ProjectBase.Data.BaseDAL;
  2. using System;
  3. using System.Collections.Generic;
  4. using System.Linq;
  5. using System.Text;
  6. using System.Threading.Tasks;
  7. namespace SIMDP.Model
  8. {
  9. /// <summary>
  10. /// 产品过程数据
  11. /// </summary>
  12. [Serializable]
  13. public class MoProductData : BaseEntity
  14. {
  15. #region Field Members
  16. private long m_DataId = 0; // 产品过程数据ID
  17. private long m_RuleId = 0; // 规则ID
  18. private string m_DataValue = ""; // 产品过程数据
  19. private DateTime m_RuleTime = DateTime.Now;
  20. private string _Batchid;
  21. #endregion
  22. #region Property Members
  23. /// <summary>
  24. ///过程数据ID
  25. /// </summary>
  26. public virtual long DataId
  27. {
  28. get
  29. {
  30. return this.m_DataId;
  31. }
  32. set
  33. {
  34. this.m_DataId = value;
  35. }
  36. }
  37. /// <summary>
  38. ///规则ID
  39. /// </summary>
  40. public virtual long RuleId
  41. {
  42. get
  43. {
  44. return this.m_RuleId;
  45. }
  46. set
  47. {
  48. this.m_RuleId = value;
  49. }
  50. }
  51. /// <summary>
  52. /// 产品过程数据
  53. /// </summary>
  54. public virtual string DataValue
  55. {
  56. get
  57. {
  58. return this.m_DataValue;
  59. }
  60. set
  61. {
  62. this.m_DataValue = value;
  63. }
  64. }
  65. /// <summary>
  66. /// 产品过程数据产生时间
  67. /// </summary>
  68. public virtual DateTime RuleTime
  69. {
  70. get
  71. {
  72. return this.m_RuleTime;
  73. }
  74. set
  75. {
  76. this.m_RuleTime = value;
  77. }
  78. }
  79. public virtual string Batchid
  80. {
  81. get
  82. {
  83. return _Batchid;
  84. }
  85. set
  86. {
  87. _Batchid = value;
  88. }
  89. }
  90. #endregion
  91. }
  92. }