using System.Windows.Media; using DTS.Common.Base; namespace DataPROWin7.DataModel { public class CollectDataProcess : BasePropertyChanged { private string _name; public string Name { get => _name; set => SetProperty(ref _name, value, "Name"); } private Color _color; public Color BackgroundColor { get => _color; set => SetProperty(ref _color, value, "BackgroundColor"); } public CollectDataProcess(string name, Color color) { _name = name; _color = color; } private bool _isEnabled; public bool IsEnabled { get => _isEnabled; set => SetProperty(ref _isEnabled, value, "IsEnabled"); } } }