终端一体化运控平台
Nie możesz wybrać więcej, niż 25 tematów Tematy muszą się zaczynać od litery lub cyfry, mogą zawierać myślniki ('-') i mogą mieć do 35 znaków.

GVL_MORKJC.cs 4.7 KiB

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