using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace PipeGallery.Model { public class PipeRangeInfo : ModelBase { private string _id; public string ID { get { return _id; } set { _id = value; } } private string _name; public string Name { get { return _name; } set { _name = value; } } private string _range; public string Range { get { return _range; } set { _range = value; } } private bool _isSelected; //是否选中 public bool IsSelected { get { return _isSelected; } set { if (_isSelected != value) { _isSelected = value; RaisePropertyChanged("IsSelected"); } } } } }