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

RecipeData.cs 2.1 KiB

1 year ago
1 year ago
2 years ago
1 year ago
1 year ago
1 year ago
1 year ago
12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364
  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.JXJFoodBigStation.Model
  9. {
  10. public class RecipeData : NotifyBase
  11. {
  12. /// <summary>
  13. /// 配方名称
  14. /// </summary>
  15. public string RecipeName { get { return _mRecipeName; } set { _mRecipeName = value; OnPropertyChanged(); } }
  16. private string _mRecipeName;
  17. /// <summary>
  18. /// 配方类别
  19. /// </summary>
  20. public string RecipeCategory { get { return _RecipeCategory; } set { _RecipeCategory = value; OnPropertyChanged(); } }
  21. private string _RecipeCategory;
  22. /// <summary>
  23. /// 配方ID
  24. /// </summary>
  25. public string RecipeCode { get { return _mRecipeCode; } set { _mRecipeCode = value;OnPropertyChanged(); } }
  26. private string _mRecipeCode;
  27. /// <summary>
  28. /// 托盘编号
  29. /// </summary>
  30. public int TrayCode { get { return _mTrayCode; } set { _mTrayCode = value; OnPropertyChanged(); } }
  31. private int _mTrayCode;
  32. /// <summary>
  33. /// 配方类型是否为洗桶
  34. /// </summary>
  35. public string OrderType { get { return _mOrderType; } set { _mOrderType = value; OnPropertyChanged(); } }
  36. private string _mOrderType;
  37. /// <summary>
  38. /// 配方类型是否为洗桶
  39. /// </summary>
  40. public bool IsWashingBarrel { get { return _mIsWashingBarrel; } set { _mIsWashingBarrel = value; OnPropertyChanged(); } }
  41. private bool _mIsWashingBarrel;
  42. /// <summary>
  43. /// 原料数据
  44. /// </summary>
  45. public ObservableCollection<RawMaterial> RawMaterial { get; set; } = new ObservableCollection<RawMaterial>();
  46. public RecipeSource RecipesSource { get { return _mRecipesSource; } set { _mRecipesSource = value; OnPropertyChanged(); } }
  47. private RecipeSource _mRecipesSource = RecipeSource.远程;
  48. }
  49. public enum RecipeSource
  50. {
  51. 本地,
  52. 远程
  53. }
  54. }