|
- using BPASmartClient.Device;
- using BPASmartClient.DRCoffee;
- using BPASmartClient.GSIceCream;
- using BPASmartClient.KLMCoffee.Protocal;
- 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.MorkTHQ
- {
- public class GLV_MorkTHQ:IStatus
- {
- /// <summary>
- /// 咖啡订单队列
- /// </summary>
- public ConcurrentQueue<OrderLocInfo> morkOrderPushesCoffee = new ConcurrentQueue<OrderLocInfo>();
-
- /// <summary>
- /// 冰淇淋订单队列
- /// </summary>
- public ConcurrentQueue<OrderLocInfo> morkOrderPushesIceCream = new ConcurrentQueue<OrderLocInfo>();
- /// <summary>
- /// 果汁订单队列
- /// </summary>
- public ConcurrentQueue<OrderLocInfo> morkOrderPushesJuice = new ConcurrentQueue<OrderLocInfo>();
- /// <summary>
- /// 等待取餐订单
- /// </summary>
- public OrderLocInfo waitMorkOrder = null;
- /// <summary>
- /// 物料存放位置
- /// </summary>
- public Dictionary<string, PolymerBatching> batchings = new Dictionary<string, PolymerBatching>();
-
- /// <summary>
- /// 当前正在制作咖啡
- /// </summary>
- public OrderLocInfo MakeCoffeeOrder = new OrderLocInfo();
-
-
-
- /// <summary>
- /// 咖啡机位置是否有咖啡在制作中
- /// </summary>
- public bool IsCoffeeMake = false;
- /// <summary>
- /// 冰淇淋机器出料口传感器检测
- /// </summary>
- public bool IceIsOK = true;
- /// <summary>
- /// 去咖啡杯成功
- /// </summary>
- public bool GetCoffeeCup;
- /// <summary>
- /// 取冰淇淋杯成功
- /// </summary>
- public bool GetIceCreamCup;
-
- /// <summary>
- /// 果汁机做法,true:热饮,false:冷饮
- /// </summary>
- public bool GuMake = false;
-
- /// <summary>
- /// 果汁机控制信号
- /// </summary>
- public byte JuicerNum;
-
- #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 K95SysTemStatus DrCoffeeStatus { get; set; }
-
- [VariableMonitor("咖啡机应用状态")]
- public TaskIndex CoffeeAppStatus { get; set; }
-
- [VariableMonitor("咖啡机告警")]
- public FaultMessage CoffeeWarning { get; set; }
-
- [VariableMonitor("咖啡机故障")]
- public UpkeepMessage CaffeeFault { get; set; }
-
- [VariableMonitor("咖啡机制作进度")]
- public int Coffeeprogress { get; set; }
-
- [VariableMonitor("单片机连接状态")]
- public bool SCChipIsConnect { get; set; }
-
-
- [VariableMonitor("果汁机连接状态")]
- public bool JuiceIsConnect { get; set; }
- #endregion
- }
-
- public class Lebai_HQ
- {
- #region 环球设备
- public const int SENCE_取咖啡杯 = 10001;
- public const int SENCE_取冰淇淋杯 = 10002;
- public const int SENCE_接咖啡后回原点 = 10003;
- public const int SENCE_取咖啡出餐 = 10004;
- public const int SENCE_接1号冰淇淋 = 10005;
- public const int SENCE_放冰淇淋位置 = 10006;
- public const int SENCE_取果汁杯位置 = 10007;
- public const int SENCE_接果汁公共位置 = 10008;
- public const int SENCE_接1号果汁位置 = 10009;
- public const int SENCE_接2号果汁位置 = 10010;
- public const int SENCE_接3号果汁位置 = 10011;
- public const int SENCE_接4号果汁位置 = 10012;
- public const int SENCE_放果汁杯位置后回原点 = 10013;
-
-
- #endregion
- }
- }
|