using Prism.Mvvm; using SKMC.Api.Recipe.Config; using System; using System.Collections.ObjectModel; namespace SKMC.Api.Recipe.Model { /// /// 产品配方模型 /// public class RecipeProfile : BindableBase { private int _id; public int Id { get { return _id; } set { _id = value; } } private string _code; public string Code { get { return _code; } set { _code = value; RaisePropertyChanged(); } } private string _name; public string Name { get { return _name; } set { _name = value; RaisePropertyChanged(); } } private string _productCode; public string ProductCode { get { return _productCode; } set { _productCode = value; RaisePropertyChanged(); } } private string _note; public string Note { get { return _note; } set { _note = value; } } private DateTime _createTime; public DateTime CreateTime { get { return _createTime; } set { _createTime = value; } } private DateTime _updateTime; public DateTime UpdateTime { get { return _updateTime; } set { _updateTime = value; } } /// /// 流程参数配置集(基础开关型) /// public ObservableCollection RecipePublicSwitchParams { get; set; } /// /// 流程参数配置集(基础数值型) /// public ObservableCollection RecipePublicValueParams { get; set; } /// /// 流程参数配置集(内部开关型) /// public ObservableCollection RecipePrivateSwitchParams { get; set; } /// /// 流程参数配置集(内部数值型) /// public ObservableCollection RecipePrivateValueParams { get; set; } /// /// 速度配置集 /// public ObservableCollection RecipeSpeeds { get; set; } /// /// 点位配置集 /// public ObservableCollection RecipePointGroups { get; set; } } }