Files
DP44/Common/DTS.Common.DataModel/CollectDataProcess.cs
2026-04-17 14:55:32 -04:00

35 lines
858 B
C#

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");
}
}
}