AiPointData.cs 1.6 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576
  1. using System;
  2. using System.Collections.Generic;
  3. using System.Linq;
  4. using System.Text;
  5. using System.Threading.Tasks;
  6. namespace NEIntelligentControl2.Models.WinForms
  7. {
  8. public class AiPointData
  9. {
  10. private string pointName = "";
  11. /// <summary>
  12. /// 测点名称
  13. /// </summary>
  14. public string PointName
  15. {
  16. get { return this.pointName; }
  17. set
  18. {
  19. if (value != this.pointName)
  20. {
  21. pointName = value;
  22. }
  23. }
  24. }
  25. private string tagName = "";
  26. /// <summary>
  27. /// 点名
  28. /// </summary>
  29. public string TagName
  30. {
  31. get { return this.tagName; }
  32. set
  33. {
  34. if (value != this.tagName)
  35. {
  36. tagName = value;
  37. }
  38. }
  39. }
  40. private string pointValue = "0.0";
  41. /// <summary>
  42. /// 测点值
  43. /// </summary>
  44. public string PointValue
  45. {
  46. get { return this.pointValue; }
  47. set
  48. {
  49. if (value != this.pointValue)
  50. {
  51. pointValue = value;
  52. }
  53. }
  54. }
  55. private string uniformCode = "";
  56. /// <summary>
  57. /// 统一编码
  58. /// </summary>
  59. public string UniformCode
  60. {
  61. get { return this.uniformCode; }
  62. set
  63. {
  64. if (value != this.uniformCode)
  65. {
  66. uniformCode = value;
  67. }
  68. }
  69. }
  70. }
  71. }