using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using BPASmartClient.Device; using System.Collections.Concurrent; using BPASmartClient.LebaiRobot; using BPASmartClient.DRCoffee; namespace BPASmartClient.MorkT_Container { public class GVL_MorkT : IStatus { #region 攀华MorkT public const int 攀华_初始位 = 10023; public const int 攀华_安全位 = 10024; public const int 攀华_取杯 = 10025; public const int 攀华_落杯 = 10026; public const int 攀华_二次取杯 = 10027; public const int 攀华_接咖啡 = 10028; public const int 攀华_放杯 = 10029; #endregion /// /// /// 咖啡订单队列 /// public ConcurrentQueue morkOrderPushesCoffee = new ConcurrentQueue(); /// /// 是否有咖啡杯 /// public bool IsHaveCoffeeCup = false; /// /// 出咖啡完成,是否取咖啡杯 /// public bool MakeCoffeeEnd = false; /// /// 果汁订单队列 /// public ConcurrentQueue morkOrderPushesJuicer = new ConcurrentQueue(); /// /// 是否有果汁杯 /// public bool IsHaveJuiceCup = false; /// /// 出果汁完成,是否去取果汁 /// public bool MakeJuiceEnd = false; /// /// 做茶订单队列 /// public ConcurrentQueue morkOrderPushesTea = new ConcurrentQueue(); /// /// 接水口是否有茶水杯 /// public bool IsHaveTeaWaterCup = false; /// /// 水已经接完,是否去取水杯 /// public bool MakeTeaEnd = false; /// /// 做开水订单队列 /// public ConcurrentQueue morkOrderPushesWater = new ConcurrentQueue(); /// /// 等待取餐订单 /// public OrderLocInfo waitMorkOrder = new OrderLocInfo(); /// /// 当前正在制作咖啡 /// public OrderLocInfo MakeCoffeeOrder = new OrderLocInfo(); /// /// 订单ID /// public string SuborderId = null; #region [VariableMonitor("机器人连接状态")] public bool RobotIsConnected { get; set; } [VariableMonitor("机器人状态")] public ELebaiRModel RobotMode { get; set; } [VariableMonitor("机器人TCP输入状态")] public bool RobotGetTcpInput { get; set; } [VariableMonitor("机器人输入0状态")] public bool RobotGetInput0{ get; set; } [VariableMonitor("机器人输入1状态")] public bool RobotGetInput1 { get; set; } [VariableMonitor("机器人输入2状态")] public bool RobotGetInput2 { get; set; } [VariableMonitor("机器人输入3状态")] public bool RobotGetInput3 { get; set; } [VariableMonitor("咖啡机连接状态")] public bool CoffeeIsConnected { get; set; } [VariableMonitor("咖啡机状态")] public DrCoffeeStatus DrCoffeeStatus { get; set; } [VariableMonitor("咖啡机应用状态")] public DrCoffeeAppStatus CoffeeAppStatus { get; set; } [VariableMonitor("咖啡机告警")] public DrCoffeeWarning CoffeeWarning { get; set; } [VariableMonitor("咖啡机故障")] public DrCoffeeFault CaffeeFault { get; set; } [VariableMonitor("单片机连接状态")] public bool SCChipIsConnect { get; set; } [VariableMonitor("单片机输入0状态")] public bool SCChipInput0 { get; set; } [VariableMonitor("单片机输入1状态")] public bool SCChipInput1 { get; set; } [VariableMonitor("单片机输入2状态")] public bool SCChipInput2 { get; set; } [VariableMonitor("单片机输入3状态")] public bool SCChipInput3 { get; set; } [VariableMonitor("单片机输入4状态")] public bool SCChipInput4 { get; set; } [VariableMonitor("单片机输入5状态")] public bool SCChipInput5 { get; set; } [VariableMonitor("单片机输入6状态")] public bool SCChipInput6 { get; set; } [VariableMonitor("单片机输入7状态")] public bool SCChipInput7 { get; set; } [VariableMonitor("制冰机连接状态")] public bool IceMakerConnect { get; set; } [VariableMonitor("制冰机设备状态")] public byte IceMakerState { get; set; } [VariableMonitor("果汁机连接状态")] public bool JuicerConnected { get; set; } public int[] JuicerState{ get; set; } [VariableMonitor("果汁机制热")] public bool JuiceState_Heating { get; set; } [VariableMonitor("果汁机制冷")] public bool JuiceState_Cooling { get; set; } [VariableMonitor("果汁机缺水")] public bool JuiceState_LackOfWater { get; set; } [VariableMonitor("果汁机童锁")] public bool JuiceState_ChildLocks { get; set; } [VariableMonitor("果汁机使用")] public bool JuiceState_Using { get; set; } #endregion } }