using BPASmartClient.Device; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using AlarmAttribute = BPASmartClient.Device.AlarmAttribute; namespace BPASmartClient.MorkCL { public class Alarm : IAlarm { #region 1号炒锅 /// <summary> /// 急停 /// </summary> [Alarm("1号炒锅-设备急停")] public bool EStop1 { get; set; } /// <summary> /// 炒锅正限位报警。 /// </summary> [Alarm("1号炒锅-炒锅正限位报警")] public bool FryingPanFowardLimit1 { get; set; } /// <summary> /// 炒锅负限位报警。 /// </summary> [Alarm("1号炒锅-炒锅负限位报警")] public bool FryingPanReverseLimit1 { get; set; } /// <summary> /// 编码器通信异常。 /// </summary> [Alarm("1号炒锅-编码器通信异常")] public bool FryingPanEncoderCommError1 { get; set; } /// <summary> /// 搅拌电机通信异常。 /// </summary> [Alarm("1号炒锅-搅拌电机通信异常")] public bool StirMotorCommError1 { get; set; } /// <summary> /// 翻转电机通信异常。 /// </summary> [Alarm("1号炒锅-翻转电机通信异常")] public bool RollingMotorCommError1 { get; set; } /// <summary> /// 搅拌电机故障代码 /// </summary> [Alarm("1号炒锅-搅拌电机故障,具体故障码查看监控界面。")] public bool StirMotorError1 { get; set; } /// <summary> /// 翻转电机故障代码 /// </summary> [Alarm("1号炒锅-翻转电机故障,具体故障码查看监控界面。")] public bool TurnMotorError1 { get; set; } #endregion #region 2号炒锅 /// <summary> /// 急停 /// </summary> [Alarm("2号炒锅-设备急停")] public bool EStop2 { get; set; } /// <summary> /// 炒锅正限位报警。 /// </summary> [Alarm("2号炒锅-炒锅正限位报警")] public bool FryingPanFowardLimit2 { get; set; } /// <summary> /// 炒锅负限位报警。 /// </summary> [Alarm("2号炒锅-炒锅负限位报警")] public bool FryingPanReverseLimit2 { get; set; } /// <summary> /// 编码器通信异常。 /// </summary> [Alarm("2号炒锅-编码器通信异常")] public bool FryingPanEncoderCommError2 { get; set; } /// <summary> /// 搅拌电机通信异常。 /// </summary> [Alarm("2号炒锅-搅拌电机通信异常")] public bool StirMotorCommError2 { get; set; } /// <summary> /// 翻转电机通信异常。 /// </summary> [Alarm("2号炒锅-翻转电机通信异常")] public bool RollingMotorCommError2 { get; set; } /// <summary> /// 搅拌电机故障代码 /// </summary> [Alarm("2号炒锅-搅拌电机故障,具体故障码查看监控界面。")] public bool StirMotorError2 { get; set; } /// <summary> /// 翻转电机故障代码 /// </summary> [Alarm("2号炒锅-翻转电机故障,具体故障码查看监控界面。")] public bool TurnMotorError2 { get; set; } #endregion } }