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号炒锅
///
/// 急停
///
[Alarm("1号炒锅-设备急停")]
public bool EStop1 { get; set; }
///
/// 炒锅正限位报警。
///
[Alarm("1号炒锅-炒锅正限位报警")]
public bool FryingPanFowardLimit1 { get; set; }
///
/// 炒锅负限位报警。
///
[Alarm("1号炒锅-炒锅负限位报警")]
public bool FryingPanReverseLimit1 { get; set; }
///
/// 编码器通信异常。
///
[Alarm("1号炒锅-编码器通信异常")]
public bool FryingPanEncoderCommError1 { get; set; }
///
/// 搅拌电机通信异常。
///
[Alarm("1号炒锅-搅拌电机通信异常")]
public bool StirMotorCommError1 { get; set; }
///
/// 翻转电机通信异常。
///
[Alarm("1号炒锅-翻转电机通信异常")]
public bool RollingMotorCommError1 { get; set; }
///
/// 搅拌电机故障代码
///
[Alarm("1号炒锅-搅拌电机故障,具体故障码查看监控界面。")]
public bool StirMotorError1 { get; set; }
///
/// 翻转电机故障代码
///
[Alarm("1号炒锅-翻转电机故障,具体故障码查看监控界面。")]
public bool TurnMotorError1 { get; set; }
#endregion
#region 2号炒锅
///
/// 急停
///
[Alarm("2号炒锅-设备急停")]
public bool EStop2 { get; set; }
///
/// 炒锅正限位报警。
///
[Alarm("2号炒锅-炒锅正限位报警")]
public bool FryingPanFowardLimit2 { get; set; }
///
/// 炒锅负限位报警。
///
[Alarm("2号炒锅-炒锅负限位报警")]
public bool FryingPanReverseLimit2 { get; set; }
///
/// 编码器通信异常。
///
[Alarm("2号炒锅-编码器通信异常")]
public bool FryingPanEncoderCommError2 { get; set; }
///
/// 搅拌电机通信异常。
///
[Alarm("2号炒锅-搅拌电机通信异常")]
public bool StirMotorCommError2 { get; set; }
///
/// 翻转电机通信异常。
///
[Alarm("2号炒锅-翻转电机通信异常")]
public bool RollingMotorCommError2 { get; set; }
///
/// 搅拌电机故障代码
///
[Alarm("2号炒锅-搅拌电机故障,具体故障码查看监控界面。")]
public bool StirMotorError2 { get; set; }
///
/// 翻转电机故障代码
///
[Alarm("2号炒锅-翻转电机故障,具体故障码查看监控界面。")]
public bool TurnMotorError2 { get; set; }
#endregion
}
}