终端一体化运控平台
Non puoi selezionare più di 25 argomenti Gli argomenti devono iniziare con una lettera o un numero, possono includere trattini ('-') e possono essere lunghi fino a 35 caratteri.
 
 
 

43 righe
1.5 KiB

  1. using Microsoft.Toolkit.Mvvm.ComponentModel;
  2. namespace BPASmartClient.FoodStationTest.Model.GVL
  3. {
  4. /// <summary>
  5. /// PLC变量信息
  6. /// </summary>
  7. public class PlcInfos : ObservableObject
  8. {
  9. /// <summary>
  10. /// 变量序号
  11. /// </summary>
  12. public int Count { get { return _Count; } set { _Count = value; OnPropertyChanged(); } }
  13. private int _Count { get; set; }
  14. /// <summary>
  15. /// 变量名称
  16. /// </summary>
  17. public string Name { get { return _Name; } set { _Name = value; OnPropertyChanged(); } }
  18. private string _Name { get; set; }
  19. /// <summary>
  20. /// 变量地址
  21. /// </summary>
  22. public string Address { get { return _Address; } set { _Address = value; OnPropertyChanged(); } }
  23. private string _Address { get; set; }
  24. /// <summary>
  25. /// 变量类型
  26. /// </summary>
  27. public string Type { get { return _Type; } set { _Type = value; OnPropertyChanged(); } }
  28. private string _Type { get; set; }
  29. /// <summary>
  30. /// 变量描述
  31. /// </summary>
  32. public string Describe { get { return _Describe; } set { _Describe = value; OnPropertyChanged(); } }
  33. private string _Describe { get; set; }
  34. /// <summary>
  35. /// 变量值
  36. /// </summary>
  37. public string Value { get { return _Value; } set { _Value = value; OnPropertyChanged(); } }
  38. private string _Value { get; set; }
  39. }
  40. }