终端一体化运控平台
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 

60 lines
1.8 KiB

  1. using BPASmartClient.MorkTM;
  2. using BPA.Helper;
  3. using System;
  4. using System.Collections.Generic;
  5. using System.Collections.ObjectModel;
  6. using System.Text;
  7. namespace Model
  8. {
  9. public class LocalTeaWithMilkConfig: NotifyBase
  10. {
  11. /// <summary>
  12. /// 奶茶名称
  13. /// </summary>
  14. public string GoodNames { get { return _goodNames; } set { _goodNames = value; OnPropertyChanged(); } }
  15. private string _goodNames;
  16. /// <summary>
  17. /// 奶茶配方
  18. /// </summary>
  19. public ObservableCollection<MaterialRecipe> materialRecipes = new ObservableCollection<MaterialRecipe>();
  20. }
  21. public class MaterialRecipe:NotifyBase
  22. {
  23. /// <summary>
  24. /// 物料ID
  25. /// </summary>
  26. public int MaterialID { get { return _materialID; } set { _materialID = value; OnPropertyChanged(); } }
  27. private int _materialID =1;
  28. /// <summary>
  29. /// 物料本地名称
  30. /// </summary>
  31. public string MaterialName;
  32. /// <summary>
  33. /// 物料位置
  34. /// </summary>
  35. public string Material { get { return _material; } set { _material = value; OnPropertyChanged(); } }
  36. private string _material ;
  37. /// <summary>
  38. /// 物料的出料量
  39. /// </summary>
  40. public int MaterialWeight { get { return _materialWeight; } set { _materialWeight = value; OnPropertyChanged(); } }
  41. private int _materialWeight = 10;
  42. }
  43. public class MaterailNameAndPosion: NotifyBase
  44. {
  45. public string MaterialPosion { get { return _materaiPosion; } set { _materaiPosion = value; OnPropertyChanged(); } }
  46. private string _materaiPosion;
  47. public string MaterialName { get { return _materailName; } set { _materailName = value; OnPropertyChanged(); } }
  48. private string _materailName;
  49. }
  50. }