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

137 lines
4.9 KiB

  1. using System;
  2. using System.Collections.Generic;
  3. using System.Linq;
  4. using System.Text;
  5. using System.Threading.Tasks;
  6. using BPASmartClient.Device;
  7. using System.Collections.Concurrent;
  8. namespace BPASmartClient.MorkTLebaiJC
  9. {
  10. public class GVL_MorkTLebaiJC : IStatus
  11. {
  12. #region 果汁机设备MORKT2 Lebai机器人
  13. public const int 机器人安全位 = 10000;//一个位置(模组可移动,机器人不发生碰撞)
  14. public const int 机器人初始位 = 10001;
  15. public const int 初始位_机器人安全位 = 10002;//初始位---安全位
  16. public const int 取纸杯 = 10005;//安全位---取杯位
  17. public const int 二次取杯 = 10008;//取纸杯检测位---二次取杯位
  18. public const int 取纸杯检测 = 10006;//取杯位---取杯检测位
  19. public const int 取杯位_机器人安全位 = 10002;//取杯检测位---安全位
  20. public const int 接咖啡 = 10010;//安全位---接咖啡位
  21. public const int 接果汁过渡位 = 10002;//安全位---接果汁过渡位
  22. public const int 接果汁1 = 10011;//接果汁过渡位---果汁1位
  23. public const int 接果汁2 = 10012;//接果汁过渡位---果汁2位
  24. public const int 接果汁3 = 10013;//接果汁过渡位---果汁3位
  25. public const int 接果汁4 = 10014;//接果汁过渡位---果汁4位
  26. public const int 接果汁_机器人安全位 = 10002;//接果汁过渡位---安全位
  27. public const int 接茶叶 = 10015;
  28. public const int 接茶水 = 10016;
  29. public const int 接开水 = 10017;
  30. public const int 接水_机器人安全位 = 10002;
  31. public const int 接冰块 = 10018;
  32. public const int 接冰_机器人安全位 = 10002;
  33. public const int 放咖啡杯 = 10020;
  34. public const int 放果汁杯1 = 10021;
  35. public const int 放果汁杯2 = 10022;
  36. public const int 放果汁杯3 = 10023;
  37. public const int 放果汁杯4 = 10024;
  38. public const int 放水杯 = 10025;
  39. public const int 放杯 = 10001;
  40. public const int 放杯_机器人安全位 = 10001;
  41. #endregion
  42. #region 果汁机设备 MORKT1 JAKA机器人
  43. public const int JUICE_初始位 = 20000;
  44. public const int JUICE_取杯 = 20001;
  45. public const int JUICE_取杯检测 = 20010;
  46. public const int JUICE_接咖啡 = 20020;
  47. public const int JUICE_接1号果汁 = 20030;
  48. public const int JUICE_接2号果汁 = 20040;
  49. public const int JUICE_接3号果汁 = 20050;
  50. public const int JUICE_接4号果汁 = 20060;
  51. public const int JUICE_接茶 = 20070;
  52. public const int JUICE_接茶水 = 20075;
  53. public const int JUICE_接水 = 20080;
  54. public const int JUICE_放咖啡杯 = 20090;
  55. public const int JUICE_放果汁杯 = 20100;
  56. public const int JUICE_放茶水杯 = 20110;
  57. public const int JUICE_放杯 = 20120;
  58. public const int JUICE_放杯检测 = 20120;
  59. #endregion
  60. /// <summary>
  61. /// <summary>
  62. /// 咖啡订单队列
  63. /// </summary>
  64. public ConcurrentQueue<OrderLocInfo> morkOrderPushesCoffee = new ConcurrentQueue<OrderLocInfo>();
  65. /// <summary>
  66. /// 是否有咖啡杯
  67. /// </summary>
  68. public bool IsHaveCoffeeCup = false;
  69. /// <summary>
  70. /// 咖啡是否制作完成
  71. /// </summary>
  72. public bool MakeCoffeeEnd = false;
  73. /// <summary>
  74. /// 果汁订单队列
  75. /// </summary>
  76. public ConcurrentQueue<OrderLocInfo> morkOrderPushesJuicer = new ConcurrentQueue<OrderLocInfo>();
  77. /// <summary>
  78. /// 果汁是否在制作中
  79. /// </summary>
  80. public bool IsHaveJuiceCup = false;
  81. /// <summary>
  82. /// 咖啡是否制作完成
  83. /// </summary>
  84. public bool MakeJuiceEnd = false;
  85. /// <summary>
  86. /// 做茶订单队列
  87. /// </summary>
  88. public ConcurrentQueue<OrderLocInfo> morkOrderPushesTea = new ConcurrentQueue<OrderLocInfo>();
  89. /// <summary>
  90. /// 茶或水是否在制作中
  91. /// </summary>
  92. public bool IsHaveTeaWaterCup = false;
  93. /// <summary>
  94. /// 咖啡是否制作完成
  95. /// </summary>
  96. public bool MakeTeaEnd = false;
  97. /// <summary>
  98. /// 做开水订单队列
  99. /// </summary>
  100. public ConcurrentQueue<OrderLocInfo> morkOrderPushesWater = new ConcurrentQueue<OrderLocInfo>();
  101. /// <summary>
  102. /// 等待取餐订单
  103. /// </summary>
  104. public OrderLocInfo waitMorkOrder = new OrderLocInfo();
  105. /// <summary>
  106. /// 当前正在制作咖啡
  107. /// </summary>
  108. public OrderLocInfo MakeCoffeeOrder = new OrderLocInfo();
  109. /// <summary>
  110. /// 订单ID
  111. /// </summary>
  112. public string SuborderId = null;
  113. }
  114. }