init
This commit is contained in:
@@ -0,0 +1,34 @@
|
||||
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");
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user