using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using BPASmartClient.Device;
using System.Collections.Concurrent;

namespace BPASmartClient.MorkT_Container
{
    public class GVL_MorkT : IStatus
    {
        #region 果汁机设备MORKT2  Lebai机器人
        public const int 机器人安全位 = 10000;//一个位置（模组可移动，机器人不发生碰撞）

        public const int 机器人初始位 = 10001;
        public const int 初始位_机器人安全位 = 10002;//初始位---安全位

        public const int 取纸杯 = 10005;//安全位---取杯位
        public const int 二次取杯 = 10008;//取纸杯检测位---二次取杯位
        public const int 取纸杯检测 = 10006;//取杯位---取杯检测位
        public const int 取杯位_机器人安全位 = 10002;//取杯检测位---安全位

        public const int 接咖啡 = 10010;//安全位---接咖啡位

        public const int 接果汁过渡位 = 10002;//安全位---接果汁过渡位
        public const int 接果汁1 = 10011;//接果汁过渡位---果汁1位
        public const int 接果汁2 = 10012;//接果汁过渡位---果汁2位
        public const int 接果汁3 = 10013;//接果汁过渡位---果汁3位
        public const int 接果汁4 = 10014;//接果汁过渡位---果汁4位
        public const int 接果汁_机器人安全位 = 10002;//接果汁过渡位---安全位

        public const int 接茶叶 = 10015;
        public const int 接茶水 = 10016;
        public const int 接开水 = 10017;
        public const int 接水_机器人安全位 = 10002;

        public const int 接冰块 = 10018;
        public const int 接冰_机器人安全位 = 10002;

        public const int 放咖啡杯 = 10020;
        public const int 放果汁杯1 = 10021;
        public const int 放果汁杯2 = 10022;
        public const int 放果汁杯3 = 10023;
        public const int 放果汁杯4 = 10024;
        public const int 放水杯 = 10025;

        public const int 放杯 = 10001;
        public const int 放杯_机器人安全位 = 10001;

        #endregion

        #region 果汁机设备 MORKT1 JAKA机器人
        public const int JUICE_初始位 = 20000;
        public const int JUICE_取杯 = 20001;
        public const int JUICE_取杯检测 = 20010;
        public const int JUICE_接咖啡 = 20020;
        public const int JUICE_接1号果汁 = 20030;
        public const int JUICE_接2号果汁 = 20040;
        public const int JUICE_接3号果汁 = 20050;
        public const int JUICE_接4号果汁 = 20060;
        public const int JUICE_接茶 = 20070;
        public const int JUICE_接茶水 = 20075;
        public const int JUICE_接水 = 20080;

        public const int JUICE_放咖啡杯 = 20090;
        public const int JUICE_放果汁杯 = 20100;
        public const int JUICE_放茶水杯 = 20110;

        public const int JUICE_放杯 = 20120;
        public const int JUICE_放杯检测 = 20120;
        #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;



    }
    
}
