终端一体化运控平台
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.
 
 
 

49 lines
1.5 KiB

  1. using Microsoft.Toolkit.Mvvm.ComponentModel;
  2. using System;
  3. using System.Collections.Generic;
  4. using System.Linq;
  5. using System.Text;
  6. using System.Threading.Tasks;
  7. namespace BPASmart.Model.配方
  8. {
  9. public class RecipeMaterials:ObservableObject
  10. {
  11. /// <summary>
  12. /// 原料ID
  13. /// </summary>
  14. public string ID { get { return _id; } set { _id = value; OnPropertyChanged(); } }
  15. private string _id;
  16. /// <summary>
  17. /// 物料名称
  18. /// </summary>
  19. public string Name { get { return _name; } set { _name = value;OnPropertyChanged(); } }
  20. private string _name;
  21. /// <summary>
  22. /// 物料种类
  23. /// </summary>
  24. public MaterialType MaterialType { get { return _materialType; } set { _materialType = value; OnPropertyChanged(); } }
  25. private MaterialType _materialType;
  26. /// <summary>
  27. /// 物料重量
  28. /// </summary>
  29. public int MaterialWeight { get { return _materialWeight; } set { _materialWeight = value; OnPropertyChanged(); } }
  30. private int _materialWeight;
  31. /// <summary>
  32. /// 原料位置
  33. /// </summary>
  34. public string MaterialPosion { get { return _materialPosion; } set { _materialPosion = value;OnPropertyChanged(); } }
  35. private string _materialPosion;
  36. }
  37. public enum MaterialType
  38. {
  39. 无 = 0,
  40. 干料 = 1,
  41. 湿料 = 2,
  42. 粉体 = 3,
  43. 膏体 = 4
  44. }
  45. }