You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 

39 lines
1.1 KiB

  1. using System;
  2. using System.Collections.Generic;
  3. using System.Linq;
  4. using System.Text;
  5. using System.Threading.Tasks;
  6. using Microsoft.Toolkit.Mvvm.ComponentModel;
  7. namespace HBLConsole.Model
  8. {
  9. public class VariableMonitor : ObservableObject
  10. {
  11. public int Id { get { return _mId; } set { _mId = value; OnPropertyChanged(); } }
  12. private int _mId;
  13. public string VarName { get { return _mVarName; } set { _mVarName = value; OnPropertyChanged(); } }
  14. private string _mVarName;
  15. public string PLCAddress { get { return _mPLCAddress; } set { _mPLCAddress = value; OnPropertyChanged(); } }
  16. private string _mPLCAddress;
  17. public string Notes { get { return _mNotes; } set { _mNotes = value; OnPropertyChanged(); } }
  18. private string _mNotes;
  19. public string ModbusTcpAddress { get { return _mModbusTcpAddress; } set { _mModbusTcpAddress = value; OnPropertyChanged(); } }
  20. private string _mModbusTcpAddress;
  21. public string CurrentValue { get { return _mCurrentValue; } set { _mCurrentValue = value; OnPropertyChanged(); } }
  22. private string _mCurrentValue;
  23. }
  24. }