using BPA.Models;
using BPASmartClient.Device;
using System;
using System.Collections.Concurrent;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace BPASmartClient.MorkF
{
internal class GVL_MorkF
{
///
/// 小炒队列
///
public ConcurrentQueue StirFryGoodsQuenes = new ConcurrentQueue();
public bool IsAuto = true;
#region 炒锅1
///
/// 炒锅是否在工作状态中
///
public bool FryWorking { get; set; }
///
/// 炒锅自动模式
///
[VariableMonitor("炒锅1锅低温度", "VW120", "160")]
public bool AutoMode { get; set; }
///
/// 炒锅1初始化完成
///
public bool FryPot1_InitialComplete { get; set; }
///
/// 炒锅1允许HBOT放盒
///
public bool FryPot1_HOBTPut { get; set; }
///
/// 炒锅1允许HBOT取盒
///
public bool FryPot1_HOBTGet { get; set; }
///
/// 往炒锅倒菜完成
///
public bool FryPot1_MaterialIntoPot { get; set; }
///
/// 出餐完成
///
public bool OutFoodCompelete { get; set; }
///
/// 允许出餐倒菜
///
public bool CanOutFood { get; set; }
///
/// 窗口取餐完成
///
public bool GetFoodCompelete { set; get; }
///
/// 允许倒洗锅水
///
public bool CanOutPotWashingWater { get; set; }
///
/// 搅拌臂在原点位
///
public bool ArmOnOrigin { get; set; }
///
/// 搅拌臂在工作位
///
public bool ArmOnWorking { get; set; }
///
/// 锅在原点位
///
public bool PotOnOrigin { get; set; }
#endregion
#region 调料通道
public bool PassWay1_1Compelete { get; set; }
public bool PassWay1_2Compelete { get; set; }
public bool PassWay1_3Compelete { get; set; }
public bool PassWay1_4Compelete { get; set; }
public bool PassWay1_5Compelete { get; set; }
public bool PassWay1_6Compelete { get; set; }
public bool PassWay1_7Compelete { get; set; }
public bool PassWay1_8Compelete { get; set; }
public bool PassWay1_9Compelete { get; set; }
public bool PassWay1_10Compelete { get; set; }
public bool PassWay1_11Compelete { get; set; }
public bool PassWay1_12Compelete { get; set; }
public bool PassWay1_13Compelete { get; set; }
public bool PassWay1_14Compelete { get; set; }
public Dictionary PassWay1_Compelete = new Dictionary();
#endregion
public GVL_MorkF()
{
PassWay1_Compelete.Add(1,PassWay1_1Compelete);
PassWay1_Compelete.Add(2,PassWay1_2Compelete);
PassWay1_Compelete.Add(3,PassWay1_3Compelete);
PassWay1_Compelete.Add(4,PassWay1_4Compelete);
PassWay1_Compelete.Add(5,PassWay1_5Compelete);
PassWay1_Compelete.Add(6,PassWay1_6Compelete);
PassWay1_Compelete.Add(7,PassWay1_7Compelete);
PassWay1_Compelete.Add(8,PassWay1_8Compelete);
PassWay1_Compelete.Add(9,PassWay1_9Compelete);
PassWay1_Compelete.Add(10,PassWay1_10Compelete);
PassWay1_Compelete.Add(11,PassWay1_11Compelete);
PassWay1_Compelete.Add(12,PassWay1_12Compelete);
PassWay1_Compelete.Add(13,PassWay1_13Compelete);
PassWay1_Compelete.Add(14,PassWay1_14Compelete);
}
///
/// 订单取配料队列
///
public ConcurrentQueue TakeMaterialQueue = new ConcurrentQueue();
///
/// 订单供盘队列
///
public ConcurrentQueue TakePlateQueue = new ConcurrentQueue();
#region 单口锅逻辑变量
///
/// 订单唯一ID
///
public string CurrentOrderId { get; set; }
#endregion
public Dictionary StartPassWay { get; set; } = new Dictionary()
{
{1,"LB24" },
{2,"LB25" },
{3,"LB26" },
{4,"LB27" },
{5,"LB28" },
{6,"LB29" },
{7,"LB30" },
{8,"LB31" },
{9,"LB32" },
{10,"LB33" },
{11,"LB34" },
{12,"LB35" },
{13,"LB36" },
{14,"LB37" },
};
public Dictionary PassWayValue { get; set; } = new Dictionary()
{
{1,"LW0" },
{2,"LW1" },
{3,"LW2" },
{4,"LW3" },
{5,"LW4" },
{6,"LW5" },
{7,"LW6" },
{8,"LW7" },
{9,"LW8" },
{10,"LW9" },
{11,"LW10" },
{12,"LW11" },
{13,"LW12" },
{14,"LW13" },
};
}
}