| 123456789101112131415161718192021222324252627 | using System;using System.Collections.Generic;using System.Collections.ObjectModel;using System.Linq;using System.Text;using System.Threading.Tasks;namespace MECF.Framework.Common.CommonData.Reservoir{    public class PMCounterNode:NotifiableItem    {        private string _name;        private ObservableCollection<PMCounterCommonData> _children;        private bool _isSelected;        private bool _isExpanded;                public bool IsSelected { get { return _isSelected; } set { _isSelected = value; InvokePropertyChanged(nameof(IsSelected)); } }                public bool IsExpanded { get { return _isExpanded; } set { _isExpanded = value; InvokePropertyChanged(nameof(IsExpanded)); } }               public string Name { get { return _name; } set { _name = value; InvokePropertyChanged(nameof(Name)); } }                public ObservableCollection<PMCounterCommonData> Children { get { return _children; } set { _children = value; InvokePropertyChanged(nameof(Children)); } }    }}
 |