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

56 lines
1.4 KiB

  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 BPASmartClient.MorkMOC
  9. {
  10. public partial class LocalMaterail:ObservableObject
  11. {
  12. /// <summary>
  13. /// 物料ID
  14. /// </summary>
  15. [ObservableProperty]
  16. private string? _materialID;
  17. /// <summary>
  18. /// 物料本地名称
  19. /// </summary>
  20. [ObservableProperty]
  21. private string? _materialName;
  22. /// <summary>
  23. /// 物料位置
  24. /// </summary>
  25. [ObservableProperty]
  26. private int? _materialPosition;
  27. /// <summary>
  28. /// 物料重量
  29. /// </summary>
  30. [ObservableProperty]
  31. private string? _materialWeight;
  32. }
  33. public partial class LocalRecipe:ObservableObject
  34. {
  35. /// <summary>
  36. /// 配方ID
  37. /// </summary>
  38. [ObservableProperty]
  39. private string? _recipeID;
  40. /// <summary>
  41. /// 配方名称
  42. /// </summary>
  43. [ObservableProperty]
  44. private string? _recipeName;
  45. /// <summary>
  46. /// 原料集合
  47. /// </summary>
  48. public ObservableCollection<LocalMaterail> localMaterails { get; set; } = new ObservableCollection<LocalMaterail>();
  49. }
  50. }