using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace BPASmartClient.MorkCL.Model.Control { internal class FryingPanGet : ModbusBase { /// <summary> /// 初始化完成 /// </summary> public bool InitComplete { get; set; } /// <summary> /// 手自动状态模式 /// </summary> public bool StatusMode { get; set; } /// <summary> /// 急停 /// </summary> public bool EStop { get; set; } /// <summary> /// 炒锅在调料投料位置反馈。 /// </summary> public bool FeedingSeasoningLocFB; /// <summary> /// 炒制位置反馈(1-3) /// </summary> public bool[] StirFryingLocFB { get; set; } = new bool[3]; /// <summary> /// 炒锅在出餐位置反馈。 /// </summary> public bool DiningOutLocFB { get; set; } /// <summary> /// 炒锅在投料位置反馈 /// </summary> public bool FeedingLocFB; /// <summary> /// 炒锅在洗锅位置反馈 /// </summary> public bool WashingPotLocFB { get; set; } /// <summary> /// 通道出料完成反馈(1-3) /// </summary> public bool[] ChannelDisCom { get; set; } = new bool[3]; /// <summary> /// 清洗完成 /// </summary> public bool CleanFinish; /// <summary> /// 倒菜出餐完成。 /// </summary> public bool OutDinningFinsh; /// <summary> /// 炒锅倒菜减速位 /// </summary> public bool OutDinningSlowDownFlag; /// <summary> /// 当前锅底温度 /// </summary> public float CurrentTemperature { get; set; } /// <summary> /// 当前炒锅搅拌转速 /// </summary> public ushort CurrentSpeed { get; set; } /// <summary> /// 当前加热档位 /// </summary> public ushort HeatingGear { get; set; } /// <summary> /// 搅拌电机运行频率 /// </summary> public ushort StirMotorFreq { get; set; } /// <summary> /// 搅拌电机运行电流 /// </summary> public ushort StirMotorCurrent { get; set; } /// <summary> /// 搅拌电机运行电压 /// </summary> public ushort StirMotorVoltage { get; set; } /// <summary> /// 搅拌电机运行温度 /// </summary> public ushort StirMotorTemprature { get; set; } /// <summary> /// 搅拌电机故障代码 /// </summary> public string StirMotorErrorCode { get; set; } = "无故障"; /// <summary> /// 翻转电机运行频率 /// </summary> public ushort TurnMotorFreq { get; set; } /// <summary> /// 翻转电机运行电流 /// </summary> public ushort TurnMotorCurrent { get; set; } /// <summary> /// 翻转电机运行电压 /// </summary> public ushort TurnMotorVoltage { get; set; } /// <summary> /// 翻转电机运行温度 /// </summary> public ushort TurnMotorTemprature { get; set; } /// <summary> /// 翻转电机故障代码 /// </summary> public string TurnMotorErrorCode { get; set; } = "无故障"; #region 炒锅报警 /// <summary> /// 急停 /// </summary> public bool EStopAlarm { get; set; } /// <summary> /// 炒锅正限位报警。 /// </summary> public bool FryingPanFowardLimit { get; set; } /// <summary> /// 炒锅负限位报警。 /// </summary> public bool FryingPanReverseLimit { get; set; } /// <summary> /// 编码器通信异常。 /// </summary> public bool FryingPanEncoderCommError { get; set; } /// <summary> /// 搅拌电机通信异常。 /// </summary> public bool StirMotorCommError { get; set; } /// <summary> /// 翻转电机通信异常。 /// </summary> public bool RollingMotorCommError { get; set; } #endregion } }