using System; using System.Collections.Generic; using System.Collections.ObjectModel; using System.Linq; using System.Text; using System.Threading; using System.Threading.Tasks; using BPASmartClient.JXJFoodBigStation.ViewModel; using Microsoft.Toolkit.Mvvm.ComponentModel; namespace BPASmartClient.JXJFoodBigStation.Model { /// /// 配方模块 /// public class RecipeModel : ObservableObject { /// /// 配方名称 /// public string RecipeName { get { return _mRecipeName; } set { _mRecipeName = value; OnPropertyChanged(); } } private string _mRecipeName; /// /// 配方ID /// public string RecipeCode { get { return _mRecipCode; } set { _mRecipCode = value; OnPropertyChanged(); } } private string _mRecipCode; /// /// 托盘编号 /// public int TrayCode { get { return _mTrayCode; } set { _mTrayCode = value; OnPropertyChanged(); } } private int _mTrayCode; [Newtonsoft.Json.JsonIgnore] public AutoResetEvent Are { get; set; } = new AutoResetEvent(false); /// /// 原料集合 /// public ObservableCollection RawMaterial { get; set; } = new ObservableCollection(); } }