PageDataView.cs 2.0 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586
  1. using System;
  2. using System.Collections.Generic;
  3. using System.Linq;
  4. using System.Text;
  5. using System.Threading.Tasks;
  6. using Caliburn.Micro.Core;
  7. namespace FurnaceUI.DataModule
  8. {
  9. public class PageDataView : PropertyChangedBase
  10. {
  11. private int _index;
  12. public int Index
  13. {
  14. get => _index;
  15. set
  16. {
  17. _index = value;
  18. NotifyOfPropertyChange(nameof(Index));
  19. }
  20. }
  21. private string _name;
  22. public string Name
  23. {
  24. get => _name;
  25. set
  26. {
  27. _name = value;
  28. NotifyOfPropertyChange(nameof(Name));
  29. }
  30. }
  31. private string _valueStr;
  32. public string ValueStr
  33. {
  34. get => _valueStr;
  35. set
  36. {
  37. _valueStr = value;
  38. NotifyOfPropertyChange(nameof(ValueStr));
  39. }
  40. }
  41. private bool _isSelect;
  42. public bool IsSelect
  43. {
  44. get => _isSelect;
  45. set
  46. {
  47. _isSelect = value;
  48. NotifyOfPropertyChange(nameof(IsSelect));
  49. }
  50. }
  51. private string _compareValueStr;
  52. public string CompareValueStr
  53. {
  54. get => _compareValueStr;
  55. set
  56. {
  57. _compareValueStr = value;
  58. NotifyOfPropertyChange(nameof(CompareValueStr));
  59. }
  60. }
  61. private bool _isHidden;
  62. public bool IsHidden
  63. {
  64. get => _isHidden;
  65. set
  66. {
  67. _isHidden = value;
  68. NotifyOfPropertyChange(nameof(IsHidden));
  69. }
  70. }
  71. private bool _isDifference;
  72. public bool IsDifference
  73. {
  74. get => _isDifference;
  75. set
  76. {
  77. _isDifference = value;
  78. NotifyOfPropertyChange(nameof(IsDifference));
  79. }
  80. }
  81. }
  82. }