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.
 
 

33 lines
1.0 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 Alarm : ObservableObject
  10. {
  11. public int Id { get { return _mId; } set { _mId = value; OnPropertyChanged(); } }
  12. private int _mId;
  13. public string Date { get { return _mDate; } set { _mDate = value; OnPropertyChanged(); } }
  14. private string _mDate;
  15. public string Time { get { return _mTime; } set { _mTime = value; OnPropertyChanged(); } }
  16. private string _mTime;
  17. public string Info { get { return _mInfo; } set { _mInfo = value; OnPropertyChanged(); } }
  18. private string _mInfo;
  19. public string Value { get { return _mValue; } set { _mValue = value; OnPropertyChanged(); } }
  20. private string _mValue;
  21. public string Grade { get { return _mGrade; } set { _mGrade = value; OnPropertyChanged(); } }
  22. private string _mGrade;
  23. }
  24. }