终端一体化运控平台
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.

преди 2 години
12345678910111213141516171819202122232425262728293031323334
  1. using Microsoft.Toolkit.Mvvm.ComponentModel;
  2. using System;
  3. using System.Collections.Generic;
  4. using System.Linq;
  5. using System.Text;
  6. using System.Threading.Tasks;
  7. namespace FryPot_DosingSystem.Model
  8. {
  9. internal class VariableMonitorModel: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 _currentValue; }set { _currentValue = value;OnPropertyChanged(); } }
  22. private string _currentValue;
  23. }
  24. }