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

46 lines
1.4 KiB

  1. using System;
  2. using System.Collections.Generic;
  3. using System.Collections.ObjectModel;
  4. using System.Linq;
  5. using System.Text;
  6. using System.Threading;
  7. using System.Threading.Tasks;
  8. using BPASmartClient.JXJFoodBigStation.ViewModel;
  9. using Microsoft.Toolkit.Mvvm.ComponentModel;
  10. namespace BPASmartClient.JXJFoodBigStation.Model
  11. {
  12. /// <summary>
  13. /// 配方模块
  14. /// </summary>
  15. public class RecipeModel : ObservableObject
  16. {
  17. /// <summary>
  18. /// 配方名称
  19. /// </summary>
  20. public string RecipeName { get { return _mRecipeName; } set { _mRecipeName = value; OnPropertyChanged(); } }
  21. private string _mRecipeName;
  22. /// <summary>
  23. /// 配方ID
  24. /// </summary>
  25. public string RecipeCode { get { return _mRecipCode; } set { _mRecipCode = value; OnPropertyChanged(); } }
  26. private string _mRecipCode;
  27. /// <summary>
  28. /// 托盘编号
  29. /// </summary>
  30. public int TrayCode { get { return _mTrayCode; } set { _mTrayCode = value; OnPropertyChanged(); } }
  31. private int _mTrayCode;
  32. [Newtonsoft.Json.JsonIgnore]
  33. public AutoResetEvent Are { get; set; } = new AutoResetEvent(false);
  34. /// <summary>
  35. /// 原料集合
  36. /// </summary>
  37. public ObservableCollection<RawMaterialModel> RawMaterial { get; set; } = new ObservableCollection<RawMaterialModel>();
  38. }
  39. }