终端一体化运控平台
Vous ne pouvez pas sélectionner plus de 25 sujets Les noms de sujets doivent commencer par une lettre ou un nombre, peuvent contenir des tirets ('-') et peuvent comporter jusqu'à 35 caractères.

VariableMonitorModel.cs 1.1 KiB

il y a 2 ans
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. }