using Prism.Mvvm; namespace SKMC.Api.Recipe.Config { /// /// 流程参数配置模型 /// 与设备运转流程相关的配置 /// public class RecipeParam : BindableBase { private string _code; /// /// 参数编号 /// public string Code { get { return _code; } set { _code = value; RaisePropertyChanged(); } } private string _group; /// /// 参数分组 /// public string Group { get { return _group; } set { _group = value; RaisePropertyChanged(); } } private string _station; /// /// 所在工位 /// public string Station { get { return _station; } set { _station = value; RaisePropertyChanged(); } } private string catalog; /// /// 所属(模块)分类 /// public string Catalog { get { return catalog; } set { catalog = value; RaisePropertyChanged(); } } private string _name; /// /// 参数名称 /// public string Name { get { return _name; } set { _name = value; RaisePropertyChanged(); } } private string _value; /// /// 参数数值 /// public string Value { get { return _value; } set { _value = value; RaisePropertyChanged(); } } private string _lastValue; /// /// 原参数数值 /// public string LastValue { get { return _lastValue; } set { _lastValue = value; RaisePropertyChanged(); } } private string _note; /// /// 描述说明 /// public string Note { get { return _note; } set { _note = value; RaisePropertyChanged(); } } private short _isSwitch; /// /// 是否开关类参数 /// public short IsSwitch { get { return _isSwitch; } set { _isSwitch = value; RaisePropertyChanged(); } } private short _isInner; /// /// 是否内部参数(内部参数客户不可更改) /// public short IsInner { get { return _isInner; } set { _isInner = value; RaisePropertyChanged(); } } private short _isInstant; /// /// 是否可立即生效 /// public short IsInstant { get { return _isInstant; } set { _isInstant = value; RaisePropertyChanged(); } } } }