using BPA.Models;
using BPASmartClient.Device;
using BPASmartClient.Model;
using BPASmartClient.MorkTM;
using System;
using System.Collections.Concurrent;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace BPASmartClient.MorkTM
{
public class GVL_MorkTM: IStatus
{
///
/// 奶茶订单队列
///
public ConcurrentQueue morkOrderPushesTeaWithMilk = new ConcurrentQueue();
///
/// 当前正在制作的奶茶订单
///
public OrderLocInfo CurrentOrderLoc = new OrderLocInfo();
///
/// 奶茶配料的队列
///
public Dictionary RecipesPushes = new Dictionary();
///
/// PLC——转盘到达点位集合
///
public List ReachPosions = new List();
///
/// PLC-- 通道出料完成信号集合
///
public Dictionary< int,bool> outMaterialCompletes = new Dictionary();
///
/// 订单暂存列表
///
public List doOrderEvents { get; set; } = new List();
///
/// 奶茶制作进度分数
///
public int MakeCount = 0;
[VariableMonitor("打开通道1", "M10.0", "400")]
public bool UsePassageWay_1 { get; set; }
[VariableMonitor("打开通道2", "M10.1", "401")]
public bool UsePassageWay_2 { get; set; }
[VariableMonitor("打开通道3", "M10.2", "402")]
public bool UsePassageWay_3 { get; set; }
[VariableMonitor("打开通道4", "M10.3", "403")]
public bool UsePassageWay_4 { get; set; }
[VariableMonitor("打开通道5", "M10.4", "404")]
public bool UsePassageWay_5 { get; set; }
[VariableMonitor("打开通道6", "M10.5", "405")]
public bool UsePassageWay_6 { get; set; }
[VariableMonitor("打开通道7", "M10.6", "406")]
public bool UsePassageWay_7 { get; set; }
[VariableMonitor("打开通道8", "M10.7", "407")]
public bool UsePassageWay_8 { get; set; }
[VariableMonitor("打开通道9", "M11.0", "408")]
public bool UsePassageWay_9 { get; set; }
[VariableMonitor("打开通道10", "M11.1", "409")]
public bool UsePassageWay_10 { get; set; }
[VariableMonitor("打开通道11", "M11.2", "410")]
public bool UsePassageWay_11 { get; set; }
[VariableMonitor("打开通道12", "M11.3", "411")]
public bool UsePassageWay_12 { get; set; }
[VariableMonitor("打开通道13", "M11.4", "412")]
public bool UsePassageWay_13 { get; set; }
[VariableMonitor("打开通道14", "M11.5", "413")]
public bool UsePassageWay_14 { get; set; }
[VariableMonitor("打开通道15", "M11.6", "414")]
public bool UsePassageWay_15 { get; set; }
[VariableMonitor("打开通道16", "M11.7", "415")]
public bool UsePassageWay_16 { get; set; }
[VariableMonitor("打开通道17", "M12.0", "416")]
public bool UsePassageWay_17 { get; set; }
[VariableMonitor("打开通道18", "M12.1", "417")]
public bool UsePassageWay_18 { get; set; }
[VariableMonitor("打开通道19", "M12.2", "418")]
public bool UsePassageWay_19 { get; set; }
[VariableMonitor("打开通道20", "M12.3", "419")]
public bool UsePassageWay_20 { get; set; }
[VariableMonitor("打开通道21", "M12.4", "420")]
public bool UsePassageWay_21 { get; set; }
[VariableMonitor("打开通道22", "M12.5", "421")]
public bool UsePassageWay_22 { get; set; }
[VariableMonitor("打开通道23", "M12.6", "422")]
public bool UsePassageWay_23 { get; set; }
[VariableMonitor("打开通道24", "M12.7", "423")]
public bool UsePassageWay_24 { get; set; }
[VariableMonitor("打开通道25", "M13.0", "424")]
public bool UsePassageWay_25 { get; set; }
[VariableMonitor("打开通道26", "M13.1", "425")]
public bool UsePassageWay_26 { get; set; }
[VariableMonitor("打开通道27", "M13.2", "426")]
public bool UsePassageWay_27 { get; set; }
[VariableMonitor("打开通道28", "M13.3", "427")]
public bool UsePassageWay_28 { get; set; }
[VariableMonitor("通道出料完成信号1", "M50.0", "720")]
public bool OutMateraiComplete_1 { get; set; }
[VariableMonitor("通道出料完成信号2", "M50.1", "721")]
public bool OutMateraiComplete_2 { get; set; }
[VariableMonitor("通道出料完成信号3", "M50.2", "722")]
public bool OutMateraiComplete_3 { get; set; }
[VariableMonitor("通道出料完成信号4", "M50.3", "723")]
public bool OutMateraiComplete_4 { get; set; }
[VariableMonitor("通道出料完成信号5", "M50.4", "724")]
public bool OutMateraiComplete_5 { get; set; }
[VariableMonitor("通道出料完成信号6", "M50.5", "725")]
public bool OutMateraiComplete_6 { get; set; }
[VariableMonitor("通道出料完成信号7", "M50.6", "726")]
public bool OutMateraiComplete_7 { get; set; }
[VariableMonitor("通道出料完成信号8", "M50.7", "727")]
public bool OutMateraiComplete_8 { get; set; }
[VariableMonitor("通道出料完成信号9", "M51.0", "728")]
public bool OutMateraiComplete_9 { get; set; }
[VariableMonitor("通道出料完成信号10", "M51.1", "729")]
public bool OutMateraiComplete_10 { get; set; }
[VariableMonitor("通道出料完成信号11", "M51.2", "730")]
public bool OutMateraiComplete_11 { get; set; }
[VariableMonitor("通道出料完成信号12", "M51.3", "731")]
public bool OutMateraiComplete_12 { get; set; }
[VariableMonitor("通道出料完成信号13", "M51.4", "732")]
public bool OutMateraiComplete_13 { get; set; }
[VariableMonitor("通道出料完成信号14", "M51.5", "733")]
public bool OutMateraiComplete_14 { get; set; }
[VariableMonitor("通道出料完成信号15", "M51.6", "734")]
public bool OutMateraiComplete_15 { get; set; }
[VariableMonitor("通道出料完成信号16", "M51.7", "735")]
public bool OutMateraiComplete_16 { get; set; }
[VariableMonitor("通道出料完成信号17", "M52.0", "736")]
public bool OutMateraiComplete_17 { get; set; }
[VariableMonitor("通道出料完成信号18", "M52.1", "737")]
public bool OutMateraiComplete_18 { get; set; }
[VariableMonitor("通道出料完成信号19", "M52.2", "738")]
public bool OutMateraiComplete_19 { get; set; }
[VariableMonitor("通道出料完成信号20", "M52.3", "739")]
public bool OutMateraiComplete_20 { get; set; }
[VariableMonitor("通道出料完成信号21", "M52.4", "740")]
public bool OutMateraiComplete_21 { get; set; }
[VariableMonitor("通道出料完成信号22", "M52.5", "741")]
public bool OutMateraiComplete_22 { get; set; }
[VariableMonitor("通道出料完成信号23", "M52.6", "742")]
public bool OutMateraiComplete_23 { get; set; }
[VariableMonitor("通道出料完成信号24", "M52.7", "743")]
public bool OutMateraiComplete_24 { get; set; }
[VariableMonitor("通道出料完成信号25", "M53.0", "744")]
public bool OutMateraiComplete_25 { get; set; }
[VariableMonitor("通道出料完成信号26", "M53.1", "744")]
public bool OutMateraiComplete_26 { get; set; }
[VariableMonitor("通道出料完成信号27", "M53.2", "745")]
public bool OutMateraiComplete_27 { get; set; }
[VariableMonitor("通道出料完成信号28", "M53.3", "746")]
public bool OutMateraiComplete_28 { get; set; }
[VariableMonitor("到达一号位置", "M14.0", "432")]
public bool ReachPosion_1 { get; set; }
[VariableMonitor("到达二号位置", "M14.1", "433")]
public bool ReachPosion_2 { get; set; }
[VariableMonitor("到达三号位置", "M14.2", "434")]
public bool ReachPosion_3 { get; set; }
[VariableMonitor("到达四号位置", "M14.3", "435")]
public bool ReachPosion_4 { get; set; }
[VariableMonitor("到达五号位置", "M14.4", "436")]
public bool ReachPosion_5 { get; set; }
[VariableMonitor("到达六号位置", "M14.5", "437")]
public bool ReachPosion_6 { get; set; }
[VariableMonitor("到达取料位置", "M14.6", "438")]
public bool ReachOutPosion_0 { get; set; }
}
}