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