Nevar pievienot vairāk kā 25 tēmas
Tēmai ir jāsākas ar burtu vai ciparu, tā var saturēt domu zīmes ('-') un var būt līdz 35 simboliem gara.
|
- using BPASmartClient.Model;
- using Microsoft.Toolkit.Mvvm.ComponentModel;
- using System.Collections.ObjectModel;
- using System.Threading;
-
- namespace BPASmartClient.FoodStationTest.Model
- {
- /// <summary>
- /// 配方模块
- /// </summary>
- public class RecipeModel : ObservableObject
- {
- [Newtonsoft.Json.JsonIgnore]
- public bool IsEnable { get { return _mIsEnable; } set { _mIsEnable = value; OnPropertyChanged(); } }
- private bool _mIsEnable = true;
-
- /// <summary>
- /// 序号
- /// </summary>
- public int SerialNum { get { return _mSerialNum; } set { _mSerialNum = value; OnPropertyChanged(); } }
- private int _mSerialNum;
-
- /// <summary>
- /// 配方名称
- /// </summary>
- public string RecipeName { get { return _mRecipeName; } set { _mRecipeName = value; OnPropertyChanged(); } }
- private string _mRecipeName;
-
- /// <summary>
- /// 配方编码
- /// </summary>
- public string RecipCode { get { return _mRecipCode; } set { _mRecipCode = value; OnPropertyChanged(); } }
- private string _mRecipCode;
-
- [Newtonsoft.Json.JsonIgnore]
- public AutoResetEvent Are { get; set; } = new AutoResetEvent(false);
-
- /// <summary>
- /// 托盘编号
- /// </summary>
- public int TrayCode { get { return _mTrayCode; } set { _mTrayCode = value; OnPropertyChanged(); } }
- private int _mTrayCode;
-
- /// <summary>
- /// 原料集合
- /// </summary>
- public ObservableCollection<RawMaterialModel> RawMaterials { get; set; } = new ObservableCollection<RawMaterialModel>();
-
- }
- }
|