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

118 lines
2.8 KiB

  1. using BPA.Helper;
  2. using System;
  3. using System.Collections.Generic;
  4. using System.Linq;
  5. using System.Text;
  6. using System.Threading.Tasks;
  7. namespace BPASmartClient.MorkF
  8. {
  9. internal class ML_MorkF
  10. {
  11. #region 菜品库的操作状态
  12. /// <summary>
  13. /// 激光距离
  14. /// </summary>
  15. public int LaserDistance { get; set; }
  16. /// <summary>
  17. /// 菜品库当前X轴坐标
  18. /// </summary>
  19. public int ArmPositionX { get; set; }
  20. /// <summary>
  21. /// 菜品库当前Y轴坐标
  22. /// </summary>
  23. public int ArmPositionY { get; set; }
  24. /// <summary>
  25. /// 菜品库是否在工作中
  26. /// </summary>
  27. public bool MaterailIsWorking { get; set; }
  28. /// <summary>
  29. /// 初始化是否完成
  30. /// </summary>
  31. public bool InitialComplete { get; set; }
  32. private bool _ArriveComplete = false;
  33. /// <summary>
  34. /// 定位到达,上升沿捕获需要特殊处理
  35. /// </summary>
  36. public bool ArriveComplete
  37. {
  38. get
  39. {
  40. return _ArriveComplete;
  41. }
  42. set
  43. {
  44. _ArriveComplete = value;
  45. }
  46. }
  47. /// <summary>
  48. /// 爪子初始化完成
  49. /// </summary>
  50. public bool PawInitialComplete { get; set; }
  51. private bool _PawArrivePortOne = false;
  52. /// <summary>
  53. /// 爪子到达一号位,上升沿捕获需要特殊处理
  54. /// </summary>
  55. public bool PawArrivePortOne
  56. {
  57. get
  58. {
  59. var ret = _PawArrivePortOne;
  60. _PawArrivePortOne = false;
  61. return ret;
  62. }
  63. set
  64. {
  65. _PawArrivePortOne = value;
  66. }
  67. }
  68. private bool _PawArrivePortTwo = false;
  69. /// <summary>
  70. /// 爪子到达二号位,上升沿捕获需要特殊处理
  71. /// </summary>
  72. public bool PawArrivePortTwo
  73. {
  74. get
  75. {
  76. var ret = _PawArrivePortTwo;
  77. _PawArrivePortTwo = false;
  78. return ret;
  79. }
  80. set
  81. {
  82. _PawArrivePortTwo = value;
  83. }
  84. }
  85. private bool _PawArrivePortThree = false;
  86. /// <summary>
  87. /// 爪子到达三号位
  88. /// </summary>
  89. public bool PawArrivePortThree
  90. {
  91. get
  92. {
  93. var ret = _PawArrivePortThree;
  94. _PawArrivePortThree = false;
  95. return ret;
  96. }
  97. set
  98. {
  99. _PawArrivePortThree = value;
  100. }
  101. }
  102. #endregion
  103. #region
  104. #endregion
  105. }
  106. }