Nie możesz wybrać więcej, niż 25 tematów
Tematy muszą się zaczynać od litery lub cyfry, mogą zawierać myślniki ('-') i mogą mieć do 35 znaków.
|
- 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 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;
-
-
- }
- }
|