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

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