using BPASmartClient.MorkTM;
using BPA.Helper;
using System;
using System.Collections.Generic;
using System.Collections.ObjectModel;
using System.Text;
namespace Model
{
public class LocalTeaWithMilkConfig: NotifyBase
{
///
/// 奶茶名称
///
public string GoodNames { get { return _goodNames; } set { _goodNames = value; OnPropertyChanged(); } }
private string _goodNames;
///
/// 奶茶配方
///
public ObservableCollection materialRecipes = new ObservableCollection();
}
public class MaterialRecipe:NotifyBase
{
///
/// 物料ID
///
public int MaterialID { get { return _materialID; } set { _materialID = value; OnPropertyChanged(); } }
private int _materialID =1;
///
/// 物料本地名称
///
public string MaterialName;
///
/// 物料位置
///
public string Material { get { return _material; } set { _material = value; OnPropertyChanged(); } }
private string _material ;
///
/// 物料的出料量
///
public int MaterialWeight { get { return _materialWeight; } set { _materialWeight = value; OnPropertyChanged(); } }
private int _materialWeight = 10;
}
public class MaterailNameAndPosion: NotifyBase
{
public string MaterialPosion { get { return _materaiPosion; } set { _materaiPosion = value; OnPropertyChanged(); } }
private string _materaiPosion;
public string MaterialName { get { return _materailName; } set { _materailName = value; OnPropertyChanged(); } }
private string _materailName;
}
}