|
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167 |
- 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
- /// <summary>
- /// <summary>
- /// 咖啡订单队列
- /// </summary>
- public ConcurrentQueue<OrderLocInfo> morkOrderPushesCoffee = new ConcurrentQueue<OrderLocInfo>();
- /// <summary>
- /// 是否有咖啡杯
- /// </summary>
- public bool IsHaveCoffeeCup = false;
- /// <summary>
- /// 出咖啡完成,是否取咖啡杯
- /// </summary>
- public bool MakeCoffeeEnd = false;
-
- /// <summary>
- /// 果汁订单队列
- /// </summary>
- public ConcurrentQueue<OrderLocInfo> morkOrderPushesJuicer = new ConcurrentQueue<OrderLocInfo>();
- /// <summary>
- /// 是否有果汁杯
- /// </summary>
- public bool IsHaveJuiceCup = false;
- /// <summary>
- /// 出果汁完成,是否去取果汁
- /// </summary>
- public bool MakeJuiceEnd = false;
-
- /// <summary>
- /// 做茶订单队列
- /// </summary>
- public ConcurrentQueue<OrderLocInfo> morkOrderPushesTea = new ConcurrentQueue<OrderLocInfo>();
- /// <summary>
- /// 接水口是否有茶水杯
- /// </summary>
- public bool IsHaveTeaWaterCup = false;
- /// <summary>
- /// 水已经接完,是否去取水杯
- /// </summary>
- public bool MakeTeaEnd = false;
-
- /// <summary>
- /// 做开水订单队列
- /// </summary>
- public ConcurrentQueue<OrderLocInfo> morkOrderPushesWater = new ConcurrentQueue<OrderLocInfo>();
-
- /// <summary>
- /// 等待取餐订单
- /// </summary>
- public OrderLocInfo waitMorkOrder = new OrderLocInfo();
-
- /// <summary>
- /// 当前正在制作咖啡
- /// </summary>
- public OrderLocInfo MakeCoffeeOrder = new OrderLocInfo();
-
- /// <summary>
- /// 订单ID
- /// </summary>
- 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
- }
-
- }
|