using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace BPASmartClient.MorkCL { public class GVL_MorkCL : IStatus { public ConcurrentQueue cds { get; set; } = new ConcurrentQueue(); #region 炒锅1 /// /// 初始化完成 /// [VariableMonitor("1号炒锅-初始化完成", "LB100")] public bool InitComplete1 { get; set; } /// /// 手自动状态模式 /// [VariableMonitor("1号炒锅-手自动状态模式", "LB101")] public bool StatusMode1 { get; set; } /// /// 急停 /// [VariableMonitor("1号炒锅-急停", "LB102")] public bool EStop1 { get; set; } /// /// 炒锅在调料投料位置反馈。 /// [VariableMonitor("1号炒锅-在调料投料位置反馈", "LB103")] public bool FeedingSeasoningLocFB1 { get; set; } /// /// 炒制位置反馈(1-4) /// [VariableMonitor("1号炒锅-炒制位置反馈(1-3)", "LB104")] public bool[] StirFryingLocFB1 { get; set; } = new bool[3]; /// /// 炒锅在出餐位置反馈 /// [VariableMonitor("1号炒锅-炒锅在出餐位置反馈", "LB107")] public bool DiningOutLocFB1 { get; set; } /// /// 炒锅在投料位置反馈 /// [VariableMonitor("1号炒锅-炒锅在主料投料位置反馈", "LB108")] public bool FeedingLocFB1 { get; set; } /// /// 炒锅在洗锅位置反馈 /// [VariableMonitor("1号炒锅-炒锅在洗锅位置反馈", "LB109")] public bool WashingPotLocFB1 { get; set; } /// /// 通道出料完成反馈(1-3) /// [VariableMonitor("1号炒锅-通道出料完成反馈(1-3)", "LB110")] public bool[] ChannelDisCom1 { get; set; } = new bool[3]; /// /// 清洗完成 /// [VariableMonitor("1号炒锅-清洗完成", "LB113")] public bool CleanFinish1 { get; set; } /// /// 倒菜出餐完成。 /// [VariableMonitor("1号炒锅-倒菜出餐完成", "LB114")] public bool OutDinningFinsh1 { get; set; } /// /// 炒锅倒菜减速位 /// [VariableMonitor("1号炒锅-倒菜减速位", "LB115")] public bool OutDinningSlowDownFlag1 { get; set; } /// /// 当前锅底温度 /// [VariableMonitor("1号炒锅-当前锅底温度", "LW20")] public float CurrentTemperature1 { get; set; } /// /// 当前炒锅搅拌转速 /// [VariableMonitor("1号炒锅-当前炒锅搅拌转速", "LW21")] public ushort CurrentSpeed1 { get; set; } /// /// 当前加热档位 /// [VariableMonitor("1号炒锅-当前加热档位", "LW22")] public ushort HeatingGear1 { get; set; } /// /// 搅拌电机运行频率 /// [VariableMonitor("1号炒锅-搅拌电机运行频率", "LW30")] public ushort StirMotorFreq1 { get; set; } /// /// 搅拌电机运行电流 /// [VariableMonitor("1号炒锅-搅拌电机运行电流", "LW31")] public ushort StirMotorCurrent1 { get; set; } /// /// 搅拌电机运行电压 /// [VariableMonitor("1号炒锅-搅拌电机运行电压", "LW32")] public ushort StirMotorVoltage1 { get; set; } /// /// 搅拌电机运行温度 /// [VariableMonitor("1号炒锅-搅拌电机运行温度", "LW33")] public ushort StirMotorTemprature1 { get; set; } /// /// 搅拌电机故障代码 /// [VariableMonitor("1号炒锅-搅拌电机故障代码", "LW34")] public string StirMotorErrorCode1 { get; set; } /// /// 翻转电机运行频率 /// [VariableMonitor("1号炒锅-翻转电机运行频率", "LW35")] public ushort TurnMotorFreq1 { get; set; } /// /// 翻转电机运行电流 /// [VariableMonitor("1号炒锅-翻转电机运行电流", "LW36")] public ushort TurnMotorCurrent1 { get; set; } /// /// 翻转电机运行电压 /// [VariableMonitor("1号炒锅-翻转电机运行电压", "LW37")] public ushort TurnMotorVoltage1 { get; set; } /// /// 翻转电机运行温度 /// [VariableMonitor("1号炒锅-翻转电机运行温度", "LW38")] public ushort TurnMotorTemprature1 { get; set; } /// /// 翻转电机故障代码 /// [VariableMonitor("1号炒锅-翻转电机故障代码", "LW39")] public string TurnMotorErrorCode1 { get; set; } #endregion #region 炒锅2 /// /// 初始化完成 /// [VariableMonitor("2号炒锅-初始化完成", "LB100")] public bool InitComplete2 { get; set; } /// /// 手自动状态模式 /// [VariableMonitor("2号炒锅-手自动状态模式", "LB101")] public bool StatusMode2 { get; set; } /// /// 急停 /// [VariableMonitor("2号炒锅-急停", "LB102")] public bool EStop2 { get; set; } /// /// 炒锅在调料投料位置反馈。 /// [VariableMonitor("2号炒锅-在调料投料位置反馈", "LB103")] public bool FeedingSeasoningLocFB2 { get; set; } /// /// 炒制位置反馈(1-4) /// [VariableMonitor("2号炒锅-炒制位置反馈(1-3)", "LB104")] public bool[] StirFryingLocFB2 { get; set; } = new bool[3]; /// /// 炒锅在出餐位置反馈 /// [VariableMonitor("2号炒锅-炒锅在出餐位置反馈", "LB107")] public bool DiningOutLocFB2 { get; set; } /// /// 炒锅在投料位置反馈 /// [VariableMonitor("2号炒锅-炒锅在主料投料位置反馈", "LB108")] public bool FeedingLocFB2 { get; set; } /// /// 炒锅在洗锅位置反馈 /// [VariableMonitor("2号炒锅-炒锅在洗锅位置反馈", "LB109")] public bool WashingPotLocFB2 { get; set; } /// /// 通道出料完成反馈(1-3) /// [VariableMonitor("2号炒锅-通道出料完成反馈(1-3)", "LB110")] public bool[] ChannelDisCom2 { get; set; } = new bool[3]; /// /// 清洗完成 /// [VariableMonitor("2号炒锅-清洗完成", "LB113")] public bool CleanFinish2 { get; set; } /// /// 倒菜出餐完成。 /// [VariableMonitor("2号炒锅-倒菜出餐完成", "LB114")] public bool OutDinningFinsh2 { get; set; } /// /// 炒锅倒菜减速位 /// [VariableMonitor("2号炒锅-倒菜减速位", "LB115")] public bool OutDinningSlowDownFlag2 { get; set; } /// /// 当前锅底温度 /// [VariableMonitor("2号炒锅-当前锅底温度", "LW20")] public float CurrentTemperature2 { get; set; } /// /// 当前炒锅搅拌转速 /// [VariableMonitor("2号炒锅-当前炒锅搅拌转速", "LW21")] public ushort CurrentSpeed2 { get; set; } /// /// 当前加热档位 /// [VariableMonitor("2号炒锅-当前加热档位", "LW22")] public ushort HeatingGear2 { get; set; } /// /// 搅拌电机运行频率 /// [VariableMonitor("2号炒锅-搅拌电机运行频率", "LW30")] public ushort StirMotorFreq2 { get; set; } /// /// 搅拌电机运行电流 /// [VariableMonitor("2号炒锅-搅拌电机运行电流", "LW31")] public ushort StirMotorCurrent2 { get; set; } /// /// 搅拌电机运行电压 /// [VariableMonitor("2号炒锅-搅拌电机运行电压", "LW32")] public ushort StirMotorVoltage2 { get; set; } /// /// 搅拌电机运行温度 /// [VariableMonitor("2号炒锅-搅拌电机运行温度", "LW33")] public ushort StirMotorTemprature2 { get; set; } /// /// 搅拌电机故障代码 /// [VariableMonitor("2号炒锅-搅拌电机故障代码", "LW34")] public string StirMotorErrorCode2 { get; set; } /// /// 翻转电机运行频率 /// [VariableMonitor("2号炒锅-翻转电机运行频率", "LW35")] public ushort TurnMotorFreq2 { get; set; } /// /// 翻转电机运行电流 /// [VariableMonitor("2号炒锅-翻转电机运行电流", "LW36")] public ushort TurnMotorCurrent2 { get; set; } /// /// 翻转电机运行电压 /// [VariableMonitor("2号炒锅-翻转电机运行电压", "LW37")] public ushort TurnMotorVoltage2 { get; set; } /// /// 翻转电机运行温度 /// [VariableMonitor("2号炒锅-翻转电机运行温度", "LW38")] public ushort TurnMotorTemprature2 { get; set; } /// /// 翻转电机故障代码 /// [VariableMonitor("2号炒锅-翻转电机故障代码", "LW39")] public string TurnMotorErrorCode2 { get; set; } #endregion #region 压力锅 #endregion #region 机器人 /// /// 倒料请求 /// [VariableMonitor("机器人-倒料请求-[1,2:炒锅,3:高压锅]", "GM600")] public bool[] MaterialPouringRequest { get; set; } = new bool[3]; /// /// 倒料完成 /// [VariableMonitor("机器人-倒料完成-[1,2:炒锅,3:高压锅]", "GM601")] public bool[] MaterialPouringComplete { get; set; } = new bool[3]; /// /// 出餐请求,机器人到位请求炒锅出餐 /// [VariableMonitor("机器人-出餐请求-[1,2:炒锅,3:高压锅]", "GM602")] public bool[] DiningOutRequest { get; set; } = new bool[3]; /// /// 入库完成 /// [VariableMonitor("机器人-入库完成", "GM630")] public bool[] WarehousingComplete { get; set; } = new bool[12]; /// /// 机器人原点状态 /// [VariableMonitor("机器人-机器人原点状态", "GM620")] public bool Home { get; set; } /// /// 机器人使能状态 /// [VariableMonitor("机器人-机器人使能状态", "LW22")] public bool EnableState { get; set; } /// /// 机器人远程模式 /// [VariableMonitor("机器人-机器人远程模式,为True时,代表可下单", "GM130")] public bool RemoteMode { get; set; } /// /// 机器人程序运行中 /// [VariableMonitor("机器人-机器人程序运行中")] public bool ProgramRuning { get; set; } /// /// 机器人空闲中 /// [VariableMonitor("机器人-机器人空闲中")] public bool IsIdle { get; set; } /// /// 机器人任务反馈 /// [VariableMonitor("机器人-机器人任务反馈", "GI5")] public RobotMainTask TaskFeedback { get; set; } #endregion #region 其它外部设备 /// /// 电子秤当前重量 /// [VariableMonitor("电子秤当前重量", "0")] public float CurrentWeight { get; set; } /// /// 空箱子检测 /// [VariableMonitor("出餐箱子在位检测", "LW630")] public bool[] BoxDetection { get; set; } = new bool[4]; #region 其他变量 /// /// 入库操作许可 /// [VariableMonitor("入库操作许可")] public bool CanItemStorage { get; set; } /// /// 辅料库位是否根据炒锅分库位。 /// [VariableMonitor("辅料库位是否根据炒锅分库位")] public bool IsUseSplitStorage { get; set; } = false; /// /// 总任务排队数量 /// [VariableMonitor("总任务排队数量")] public int RecipeQueueCount { get; set; } /// /// 炒锅1#排队任务数量 /// [VariableMonitor("炒锅1#排队任务数量")] public int FryingPanTaskCount_1 { get; set; } /// /// 炒锅2#排队任务数量 /// [VariableMonitor("炒锅2#排队任务数量")] public int FryingPanTaskCount_2 { get; set; } #endregion #endregion } }