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

12345678910111213141516171819202122232425262728293031323334353637383940414243
  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 BPASmartClient.Model
  8. {
  9. public class Book
  10. {
  11. public string Name { get; set; }
  12. public string Tag { get; set; }
  13. }
  14. public class BookEx : ObservableObject
  15. {
  16. public Book BookN { get; private set; }
  17. private bool _isChecked=false;
  18. public bool IsChecked
  19. {
  20. get
  21. {
  22. return _isChecked;
  23. }
  24. set
  25. {
  26. if (_isChecked != value)
  27. {
  28. _isChecked = value;
  29. OnPropertyChanged("IsChecked");
  30. }
  31. }
  32. }
  33. public BookEx(Book book)
  34. {
  35. BookN = book;
  36. }
  37. }
  38. }