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

55 regels
1.7 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.Model;
  9. using BPA.Helper;
  10. namespace BPASmartClient.DosingSystemSingle
  11. {
  12. /// <summary>
  13. /// 配方模块
  14. /// </summary>
  15. public class RecipeModel : NotifyBase
  16. {
  17. [Newtonsoft.Json.JsonIgnore]
  18. public bool IsEnable { get { return _mIsEnable; } set { _mIsEnable = value; OnPropertyChanged(); } }
  19. private bool _mIsEnable = true;
  20. /// <summary>
  21. /// 序号
  22. /// </summary>
  23. public int SerialNum { get { return _mSerialNum; } set { _mSerialNum = value; OnPropertyChanged(); } }
  24. private int _mSerialNum;
  25. /// <summary>
  26. /// 配方名称
  27. /// </summary>
  28. public string RecipeName { get { return _mRecipeName; } set { _mRecipeName = value; OnPropertyChanged(); } }
  29. private string _mRecipeName;
  30. /// <summary>
  31. /// 配方编码
  32. /// </summary>
  33. public string RecipCode { get { return _mRecipCode; } set { _mRecipCode = value; OnPropertyChanged(); } }
  34. private string _mRecipCode;
  35. [Newtonsoft.Json.JsonIgnore]
  36. public AutoResetEvent Are { get; set; } = new AutoResetEvent(false);
  37. [Newtonsoft.Json.JsonIgnore]
  38. public string RecipStatus { get { return _mRecipStatus; } set { _mRecipStatus = value; OnPropertyChanged(); } }
  39. private string _mRecipStatus;
  40. /// <summary>
  41. /// 原料集合
  42. /// </summary>
  43. public ObservableCollection<RawMaterialModel> RawMaterials { get; set; } = new ObservableCollection<RawMaterialModel>();
  44. }
  45. }