终端一体化运控平台
Вы не можете выбрать более 25 тем Темы должны начинаться с буквы или цифры, могут содержать дефисы(-) и должны содержать не более 35 символов.

2 лет назад
2 лет назад
2 лет назад
2 лет назад
2 лет назад
2 лет назад
2 лет назад
2 лет назад
2 лет назад
2 лет назад
2 лет назад
2 лет назад
2 лет назад
2 лет назад
2 лет назад
2 лет назад
2 лет назад
2 лет назад
2 лет назад
2 лет назад
2 лет назад
2 лет назад
2 лет назад
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160
  1. using BPASmartClient.Device;
  2. using BPASmartClient.DRCoffee;
  3. using BPASmartClient.GSIceCream;
  4. using BPASmartClient.KLMCoffee.Protocal;
  5. using BPASmartClient.LebaiRobot;
  6. using BPASmartClient.Model.冰淇淋.Enum;
  7. using Robotc;
  8. using System;
  9. using System.Collections.Concurrent;
  10. using System.Collections.Generic;
  11. using System.Linq;
  12. using System.Text;
  13. using System.Threading.Tasks;
  14. namespace BPASmartClient.MorkTHQ
  15. {
  16. public class GLV_MorkTHQ:IStatus
  17. {
  18. /// <summary>
  19. /// 咖啡订单队列
  20. /// </summary>
  21. public ConcurrentQueue<OrderLocInfo> morkOrderPushesCoffee = new ConcurrentQueue<OrderLocInfo>();
  22. /// <summary>
  23. /// 冰淇淋订单队列
  24. /// </summary>
  25. public ConcurrentQueue<OrderLocInfo> morkOrderPushesIceCream = new ConcurrentQueue<OrderLocInfo>();
  26. /// <summary>
  27. /// 果汁订单队列
  28. /// </summary>
  29. public ConcurrentQueue<OrderLocInfo> morkOrderPushesJuice = new ConcurrentQueue<OrderLocInfo>();
  30. /// <summary>
  31. /// 等待取餐订单
  32. /// </summary>
  33. public OrderLocInfo waitMorkOrder = null;
  34. /// <summary>
  35. /// 物料存放位置
  36. /// </summary>
  37. public Dictionary<string, PolymerBatching> batchings = new Dictionary<string, PolymerBatching>();
  38. /// <summary>
  39. /// 当前正在制作咖啡
  40. /// </summary>
  41. public OrderLocInfo MakeCoffeeOrder = new OrderLocInfo();
  42. /// <summary>
  43. /// 咖啡机位置是否有咖啡在制作中
  44. /// </summary>
  45. public bool IsCoffeeMake = false;
  46. /// <summary>
  47. /// 冰淇淋机器出料口传感器检测
  48. /// </summary>
  49. public bool IceIsOK = true;
  50. /// <summary>
  51. /// 去咖啡杯成功
  52. /// </summary>
  53. public bool GetCoffeeCup;
  54. /// <summary>
  55. /// 取冰淇淋杯成功
  56. /// </summary>
  57. public bool GetIceCreamCup;
  58. /// <summary>
  59. /// 果汁机做法,true:热饮,false:冷饮
  60. /// </summary>
  61. public bool GuMake = false;
  62. /// <summary>
  63. /// 果汁机控制信号
  64. /// </summary>
  65. public byte JuicerNum;
  66. #region
  67. [VariableMonitor("机器人连接状态")]
  68. public bool RobotIsConnected { get; set; }
  69. [VariableMonitor("机器人状态")]
  70. public ELebaiRModel RobotMode { get; set; }
  71. [VariableMonitor("冰淇淋连接状态")]
  72. public bool IceCreamIsConnected { get; set; }
  73. [VariableMonitor("冰淇淋机器预冷温度")]
  74. public short YLWD { get; set; }
  75. [VariableMonitor("冰淇淋机器回气温度")]
  76. public short HQWD { get; set; }
  77. [VariableMonitor("冰淇淋机器环境温度")]
  78. public short HJWD { get; set; }
  79. [VariableMonitor("冰淇淋机器电流")]
  80. public short DL { get; set; }
  81. [VariableMonitor("冰淇淋机器电压")]
  82. public short DY { get; set; }
  83. [VariableMonitor("冰淇淋机器成型比")]
  84. public byte CBX { get; set; }
  85. [VariableMonitor("冰淇淋机器模式")]
  86. public MORKI_MODE IceCreamMode { get; set; }
  87. [VariableMonitor("冰淇淋机器故障")]
  88. public MORKI_FAULT IceCreamFault { get; set; }
  89. [VariableMonitor("冰淇淋机器打料完成")]
  90. public bool DLCompleted { get; set; }
  91. [VariableMonitor("咖啡机连接状态")]
  92. public bool CoffeeIsConnected { get; set; }
  93. [VariableMonitor("咖啡机状态")]
  94. public K95SysTemStatus DrCoffeeStatus { get; set; }
  95. [VariableMonitor("咖啡机应用状态")]
  96. public TaskIndex CoffeeAppStatus { get; set; }
  97. [VariableMonitor("咖啡机告警")]
  98. public FaultMessage CoffeeWarning { get; set; }
  99. [VariableMonitor("咖啡机故障")]
  100. public UpkeepMessage CaffeeFault { get; set; }
  101. [VariableMonitor("咖啡机制作进度")]
  102. public int Coffeeprogress { get; set; }
  103. [VariableMonitor("单片机连接状态")]
  104. public bool SCChipIsConnect { get; set; }
  105. [VariableMonitor("果汁机连接状态")]
  106. public bool JuiceIsConnect { get; set; }
  107. #endregion
  108. }
  109. public class Lebai_HQ
  110. {
  111. #region 环球设备
  112. public const int SENCE_取咖啡杯 = 10001;
  113. public const int SENCE_取冰淇淋杯 = 10002;
  114. public const int SENCE_接咖啡后回原点 = 10003;
  115. public const int SENCE_取咖啡出餐 = 10004;
  116. public const int SENCE_接1号冰淇淋 = 10005;
  117. public const int SENCE_放冰淇淋位置 = 10006;
  118. public const int SENCE_取果汁杯位置 = 10007;
  119. public const int SENCE_接果汁公共位置 = 10008;
  120. public const int SENCE_接1号果汁位置 = 10009;
  121. public const int SENCE_接2号果汁位置 = 10010;
  122. public const int SENCE_接3号果汁位置 = 10011;
  123. public const int SENCE_接4号果汁位置 = 10012;
  124. public const int SENCE_放果汁杯位置后回原点 = 10013;
  125. #endregion
  126. }
  127. }