Ви не можете вибрати більше 25 тем
Теми мають розпочинатися з літери або цифри, можуть містити дефіси (-) і не повинні перевищувати 35 символів.
|
- using BPASmartClient.MorkTM;
- using Microsoft.Toolkit.Mvvm.ComponentModel;
- using System;
- using System.Collections.Generic;
- using System.Collections.ObjectModel;
- using System.Text;
-
- namespace Model
- {
- public class LocalTeaWithMilkConfig: ObservableObject
- {
- /// <summary>
- /// 奶茶名称
- /// </summary>
- public string GoodNames { get { return _goodNames; } set { _goodNames = value; OnPropertyChanged(); } }
- private string _goodNames;
- /// <summary>
- /// 奶茶配方
- /// </summary>
- public ObservableCollection<MaterialRecipe> materialRecipes = new ObservableCollection<MaterialRecipe>();
- }
-
-
- public class MaterialRecipe:ObservableObject
- {
- /// <summary>
- /// 物料ID
- /// </summary>
- public int MaterialID { get { return _materialID; } set { _materialID = value; OnPropertyChanged(); } }
- private int _materialID =1;
- /// <summary>
- /// 物料本地名称
- /// </summary>
- public string MaterialName;
- /// <summary>
- /// 物料位置
- /// </summary>
- public string Material { get { return _material; } set { _material = value; OnPropertyChanged(); } }
- private string _material ;
- /// <summary>
- /// 物料的出料量
- /// </summary>
- public int MaterialWeight { get { return _materialWeight; } set { _materialWeight = value; OnPropertyChanged(); } }
- private int _materialWeight = 10;
-
- }
-
-
- public class MaterailNameAndPosion: ObservableObject
- {
- 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;
-
-
- }
- }
|