Du kan inte välja fler än 25 ämnen
Ämnen måste starta med en bokstav eller siffra, kan innehålla bindestreck ('-') och vara max 35 tecken långa.
|
- using BPA.Helper;
- 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 : NotifyBase
- {
- /// <summary>
- /// 配方名称
- /// </summary>
- public string RecipeName { get { return _mRecipeName; } set { _mRecipeName = value; OnPropertyChanged(); } }
- private string _mRecipeName;
-
-
- /// <summary>
- /// 配方类别
- /// </summary>
- public string RecipeCategory { get { return _RecipeCategory; } set { _RecipeCategory = value; OnPropertyChanged(); } }
- private string _RecipeCategory;
-
-
- /// <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
- {
- 本地,
- 远程
- }
- }
|