终端一体化运控平台
Du kan inte välja fler än 25 ämnen Ämnen måste starta med en bokstav eller siffra, kan innehålla bindestreck ('-') och vara max 35 tecken långa.
 
 
 

95 rader
3.3 KiB

  1. using BPA.Helper;
  2. namespace BPASmartClient.FoodStationTest.Model.RawMaterial
  3. {
  4. public class RawMaterialColl : NotifyBase
  5. {
  6. /// <summary>
  7. /// 原料设备IP
  8. /// </summary>
  9. public string DeviceIp { get; set; }
  10. /// <summary>
  11. /// 原料名称
  12. /// </summary>
  13. public string RawMaterialName { get { return _mRawMaterialName; } set { _mRawMaterialName = value; OnPropertyChanged(); } }
  14. private string _mRawMaterialName;
  15. /// <summary>
  16. /// 原料重量设置
  17. /// </summary>
  18. public uint RawMaterialWeight { get { return _mRawMaterialWeight; } set { _mRawMaterialWeight = value; OnPropertyChanged(); } }
  19. private uint _mRawMaterialWeight;
  20. /// <summary>
  21. /// 原料来源
  22. /// 0:本地
  23. /// 1:设备
  24. /// </summary>
  25. public ushort RawMaterialSource { get { return _mRawMaterialSource; } set { _mRawMaterialSource = value; OnPropertyChanged(); } }
  26. private ushort _mRawMaterialSource;
  27. /// <summary>
  28. /// 原料类型 MW18
  29. /// 1:液体
  30. /// 2:膏体
  31. /// 3:粉体
  32. /// </summary>
  33. [Newtonsoft.Json.JsonIgnore]
  34. public ushort RawMaterialType { get { return _mRawMaterialType; } set { _mRawMaterialType = value; OnPropertyChanged(); } }
  35. private ushort _mRawMaterialType;
  36. /// <summary>
  37. /// 料仓重量反馈 MD40
  38. /// </summary>
  39. [Newtonsoft.Json.JsonIgnore]
  40. public float WeightFeedback { get { return _mWeightFeedback; } set { _mWeightFeedback = value; OnPropertyChanged(); } }
  41. private float _mWeightFeedback;
  42. /// <summary>
  43. /// 上限反馈
  44. /// </summary>
  45. [Newtonsoft.Json.JsonIgnore]
  46. public bool UpLimtFeedback { get { return _mUpLimtFeedback; } set { _mUpLimtFeedback = value; OnPropertyChanged(); } }
  47. private bool _mUpLimtFeedback;
  48. /// <summary>
  49. /// 下限反馈
  50. /// </summary>
  51. [Newtonsoft.Json.JsonIgnore]
  52. public bool DownLimtFeedback { get { return _mDownLimtFeedback; } set { _mDownLimtFeedback = value; OnPropertyChanged(); } }
  53. private bool _mDownLimtFeedback;
  54. /// <summary>
  55. /// 下料重量反馈 MD52
  56. /// </summary>
  57. [Newtonsoft.Json.JsonIgnore]
  58. public float UpLimtWeightFeedback { get { return _mUpLimtWeightFeedback; } set { _mUpLimtWeightFeedback = value; OnPropertyChanged(); } }
  59. private float _mUpLimtWeightFeedback;
  60. /// <summary>
  61. /// 原料ID
  62. /// </summary>
  63. public string RawMaterialId { get { return _mRawMaterialId; } set { _mRawMaterialId = value; OnPropertyChanged(); } }
  64. private string _mRawMaterialId;
  65. /// <summary>
  66. /// 原料设备执行状态
  67. /// 1:等待配料
  68. /// 2:下料中
  69. /// 3:下料完成
  70. /// </summary>
  71. [Newtonsoft.Json.JsonIgnore]
  72. public ushort RecipeStatus { get { return _mRecipeStatus; } set { _mRecipeStatus = value; OnPropertyChanged(); } }
  73. private ushort _mRecipeStatus = 1;
  74. /// <summary>
  75. /// 原料对应的桶号
  76. /// </summary>
  77. public ushort BarrelNum { get { return _mBarrelNum; } set { _mBarrelNum = value; OnPropertyChanged(); } }
  78. private ushort _mBarrelNum = 1;
  79. }
  80. }