终端一体化运控平台
25개 이상의 토픽을 선택하실 수 없습니다. Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

ML_MorkF.cs 3.2 KiB

1 년 전
2 년 전
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130
  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. /// <summary>
  33. /// 爪子伸出到位
  34. /// </summary>
  35. public bool PawOutComplete { get; set; }
  36. /// <summary>
  37. /// 爪子缩回到位
  38. /// </summary>
  39. public bool PawInComplete { get; set; }
  40. private bool _ArriveComplete = false;
  41. /// <summary>
  42. /// 定位到达,上升沿捕获需要特殊处理
  43. /// </summary>
  44. public bool ArriveComplete
  45. {
  46. get
  47. {
  48. return _ArriveComplete;
  49. }
  50. set
  51. {
  52. _ArriveComplete = value;
  53. }
  54. }
  55. /// <summary>
  56. /// 爪子初始化完成
  57. /// </summary>
  58. public bool PawInitialComplete { get; set; }
  59. private bool _PawArrivePortOne = false;
  60. /// <summary>
  61. /// 爪子到达一号位,上升沿捕获需要特殊处理
  62. /// </summary>
  63. public bool PawArrivePortOne
  64. {
  65. get
  66. {
  67. var ret = _PawArrivePortOne;
  68. _PawArrivePortOne = false;
  69. return ret;
  70. }
  71. set
  72. {
  73. _PawArrivePortOne = value;
  74. }
  75. }
  76. private bool _PawArrivePortTwo = false;
  77. /// <summary>
  78. /// 爪子到达二号位,上升沿捕获需要特殊处理
  79. /// </summary>
  80. public bool PawArrivePortTwo
  81. {
  82. get
  83. {
  84. var ret = _PawArrivePortTwo;
  85. _PawArrivePortTwo = false;
  86. return ret;
  87. }
  88. set
  89. {
  90. _PawArrivePortTwo = value;
  91. }
  92. }
  93. private bool _PawArrivePortThree = false;
  94. /// <summary>
  95. /// 爪子到达三号位
  96. /// </summary>
  97. public bool PawArrivePortThree
  98. {
  99. get
  100. {
  101. var ret = _PawArrivePortThree;
  102. _PawArrivePortThree = false;
  103. return ret;
  104. }
  105. set
  106. {
  107. _PawArrivePortThree = value;
  108. }
  109. }
  110. public bool PawPositon_1 { get; set; }
  111. public bool PawPositon_2 { get; set; }
  112. public bool PawPositon_3 { get; set; }
  113. #endregion
  114. #region
  115. #endregion
  116. }
  117. }