35 lines
732 B
C#
35 lines
732 B
C#
|
|
using MwFramework.ManagerService;
|
|||
|
|
using Stylet;
|
|||
|
|
using System;
|
|||
|
|
using System.Collections.Generic;
|
|||
|
|
using System.Linq;
|
|||
|
|
using System.Text;
|
|||
|
|
using System.Threading.Tasks;
|
|||
|
|
|
|||
|
|
namespace MainShell.Recipe.Models
|
|||
|
|
{
|
|||
|
|
public class PIDLabel<T> : PropertyChangedBase , IParameterItem
|
|||
|
|
{
|
|||
|
|
private string _name;
|
|||
|
|
|
|||
|
|
public string Name
|
|||
|
|
{
|
|||
|
|
get { return _name; }
|
|||
|
|
set { SetAndNotify(ref _name, value); }
|
|||
|
|
}
|
|||
|
|
|
|||
|
|
private T _value;
|
|||
|
|
|
|||
|
|
public T Value
|
|||
|
|
{
|
|||
|
|
get { return _value; }
|
|||
|
|
set { SetAndNotify(ref _value, value); }
|
|||
|
|
}
|
|||
|
|
|
|||
|
|
public IParameterItem Clone()
|
|||
|
|
{
|
|||
|
|
return this.MemberwiseClone() as IParameterItem;
|
|||
|
|
}
|
|||
|
|
}
|
|||
|
|
}
|