BasPlcItemConfigDto.cs 1.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172
  1. using Model.Entities;
  2. using System;
  3. using System.Collections.Generic;
  4. using System.Linq;
  5. using System.Text;
  6. using System.Threading.Tasks;
  7. namespace Model.Dto
  8. {
  9. public class BasPlcItemConfigDto:BaseDto
  10. {
  11. public long Id { get; set; }
  12. /// <summary>
  13. /// Desc:
  14. /// Default:
  15. /// Nullable:True
  16. /// </summary>
  17. public string PlcCode { get; set; }
  18. /// <summary>
  19. /// Desc:
  20. /// Default:
  21. /// Nullable:True
  22. /// </summary>
  23. private string plcItem { get; set; }
  24. public string PlcItem
  25. {
  26. get { return plcItem; }
  27. set { plcItem = value; OnPropertyChanged(); }
  28. }
  29. /// <summary>
  30. /// Desc:
  31. /// Default:
  32. /// Nullable:True
  33. /// </summary>
  34. private string plcAddress { get; set; }
  35. public string PlcAddress
  36. {
  37. get { return plcAddress; }
  38. set { plcAddress = value; OnPropertyChanged(); }
  39. }
  40. private string plcValue { get; set; }
  41. public string PlcValue
  42. {
  43. get { return plcValue; }
  44. set { plcValue = value; OnPropertyChanged(); }
  45. }
  46. /// <summary>
  47. /// plc实时值(数据库中没有的字段,方便测试时绑定使用)
  48. /// </summary>
  49. private string realValue { get; set; }
  50. public string RealValue
  51. {
  52. get { return realValue; }
  53. set { realValue = value; OnPropertyChanged(); }
  54. }
  55. /// <summary>
  56. /// Desc:
  57. /// Default:
  58. /// Nullable:True
  59. /// </summary>
  60. private string remark { get; set; }
  61. public string Remark
  62. {
  63. get { return remark; }
  64. set { remark = value; OnPropertyChanged(); }
  65. }
  66. }
  67. }