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
{
///
/// 配方名称
///
public string RecipeName { get { return _mRecipeName; } set { _mRecipeName = value; OnPropertyChanged(); } }
private string _mRecipeName;
///
/// 配方类别
///
public string RecipeCategory { get { return _RecipeCategory; } set { _RecipeCategory = value; OnPropertyChanged(); } }
private string _RecipeCategory;
///
/// 配方ID
///
public string RecipeCode { get { return _mRecipeCode; } set { _mRecipeCode = value;OnPropertyChanged(); } }
private string _mRecipeCode;
///
/// 托盘编号
///
public int TrayCode { get { return _mTrayCode; } set { _mTrayCode = value; OnPropertyChanged(); } }
private int _mTrayCode;
///
/// 配方类型是否为洗桶
///
public string OrderType { get { return _mOrderType; } set { _mOrderType = value; OnPropertyChanged(); } }
private string _mOrderType;
///
/// 配方类型是否为洗桶
///
public bool IsWashingBarrel { get { return _mIsWashingBarrel; } set { _mIsWashingBarrel = value; OnPropertyChanged(); } }
private bool _mIsWashingBarrel;
///
/// 原料数据
///
public ObservableCollection RawMaterial { get; set; } = new ObservableCollection();
public RecipeSource RecipesSource { get { return _mRecipesSource; } set { _mRecipesSource = value; OnPropertyChanged(); } }
private RecipeSource _mRecipesSource = RecipeSource.远程;
}
public enum RecipeSource
{
本地,
远程
}
}