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.
 
 

38 lines
1.3 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 SimOrderVisibleData : ObservableObject
  10. {
  11. //public string ClientDeviceType { get { return _mClientDeviceType; } set { _mClientDeviceType = value; OnPropertyChanged(); } }
  12. //private string _mClientDeviceType;
  13. public ushort Loc { get { return _mLoc; } set { _mLoc = value; OnPropertyChanged(); } }
  14. private ushort _mLoc;
  15. public bool IsEnable { get { return _mIsEnable; } set { _mIsEnable = value; OnPropertyChanged(); } }
  16. private bool _mIsEnable;
  17. public bool IsSelected { get { return _mIsSelected; } set { _mIsSelected = value; OnPropertyChanged(); IsEnable = !value; } }
  18. private bool _mIsSelected;
  19. public string Text { get { return _mText; } set { _mText = value; OnPropertyChanged(); } }
  20. private string _mText;
  21. public ushort MinValue { get { return _mMinValue; } set { _mMinValue = value; OnPropertyChanged(); } }
  22. private ushort _mMinValue;
  23. public ushort MaxValue { get { return _mMaxValue; } set { _mMaxValue = value; OnPropertyChanged(); } }
  24. private ushort _mMaxValue;
  25. }
  26. }