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

59 regels
1.9 KiB

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