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 Microsoft.Toolkit.Mvvm.ComponentModel;
- using System;
- using System.Collections.Generic;
- using System.Collections.ObjectModel;
- using System.Linq;
- using System.Text;
- using System.Threading.Tasks;
-
- namespace BPASmartClient.JXJFoodBigStation.Model
- {
- public class RecipeData : ObservableObject
- {
- /// <summary>
- /// 配方名称
- /// </summary>
- public string RecipeName { get { return _mRecipeName; } set { _mRecipeName = value; OnPropertyChanged(); } }
- private string _mRecipeName;
-
- /// <summary>
- /// 配方ID
- /// </summary>
- public string RecipeCode { get { return _mRecipeCode; } set { _mRecipeCode = value;OnPropertyChanged(); } }
- private string _mRecipeCode;
-
- /// <summary>
- /// 托盘编号
- /// </summary>
- public int TrayCode { get { return _mTrayCode; } set { _mTrayCode = value; OnPropertyChanged(); } }
- private int _mTrayCode;
-
- /// <summary>
- /// 配方类型是否为洗桶
- /// </summary>
- public string OrderType { get { return _mOrderType; } set { _mOrderType = value; OnPropertyChanged(); } }
- private string _mOrderType;
-
- /// <summary>
- /// 配方类型是否为洗桶
- /// </summary>
- public bool IsWashingBarrel { get { return _mIsWashingBarrel; } set { _mIsWashingBarrel = value; OnPropertyChanged(); } }
- private bool _mIsWashingBarrel;
-
- /// <summary>
- /// 原料数据
- /// </summary>
- public ObservableCollection<RawMaterial> RawMaterial { get; set; } = new ObservableCollection<RawMaterial>();
-
- public RecipeSource RecipesSource { get { return _mRecipesSource; } set { _mRecipesSource = value; OnPropertyChanged(); } }
- private RecipeSource _mRecipesSource = RecipeSource.远程;
- }
- public enum RecipeSource
- {
- 本地,
- 远程
- }
- }
|