using BPASmartClient.Device; using BPASmartClient.DRCoffee; using BPASmartClient.GSIceCream; using BPASmartClient.LebaiRobot; using BPASmartClient.Model.冰淇淋.Enum; using Robotc; using System; using System.Collections.Concurrent; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace BPASmartClient.MorkT { public class GLV_MorkT:IStatus { /// /// 咖啡订单队列 /// public ConcurrentQueue morkOrderPushesCoffee = new ConcurrentQueue(); /// /// 冰淇淋订单队列 /// public ConcurrentQueue morkOrderPushesIceCream = new ConcurrentQueue(); /// /// 等待取餐订单 /// public OrderLocInfo waitMorkOrder = null; /// /// 物料存放位置 /// public Dictionary batchings = new Dictionary(); /// /// 当前正在制作咖啡 /// public OrderLocInfo MakeCoffeeOrder = new OrderLocInfo(); /// /// 咖啡机位置是否有咖啡在制作中 /// public bool IsCoffeeMake = false; /// /// 冰淇淋机器出料口传感器检测 /// public bool IceIsOK = true; /// /// 去咖啡杯成功 /// public bool GetCoffeeCup; /// /// 取冰淇淋杯成功 /// public bool GetIceCreamCup; #region [VariableMonitor("机器人连接状态")] public bool RobotIsConnected { get; set; } [VariableMonitor("机器人状态")] public ELebaiRModel RobotMode { get; set; } [VariableMonitor("冰淇淋连接状态")] public bool IceCreamIsConnected { get; set; } [VariableMonitor("冰淇淋机器预冷温度")] public short YLWD { get; set; } [VariableMonitor("冰淇淋机器回气温度")] public short HQWD { get; set; } [VariableMonitor("冰淇淋机器环境温度")] public short HJWD { get; set; } [VariableMonitor("冰淇淋机器电流")] public short DL { get; set; } [VariableMonitor("冰淇淋机器电压")] public short DY { get; set; } [VariableMonitor("冰淇淋机器成型比")] public byte CBX { get; set; } [VariableMonitor("冰淇淋机器模式")] public MORKI_MODE IceCreamMode { get; set; } [VariableMonitor("冰淇淋机器故障")] public MORKI_FAULT IceCreamFault { get; set; } [VariableMonitor("冰淇淋机器打料完成")] public bool DLCompleted { 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; } #endregion } }