AxisAlarmInfo.cs 797 字节
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
 

namespace OnlineStore.DeviceLibrary
{
    /// <summary>
    /// 轴报警信息
    /// </summary>
    public class AxisAlarmInfo
    {
        public AxisAlarmInfo()
        {
            AlarmCode = 0;
            AlarmIoValue = 0;
        }
        public AxisAlarmInfo(int alarmCode, int alarmIo)
        {
            this.AlarmCode = alarmCode;
            this.AlarmIoValue = alarmIo;
            IN7Value = 1;
        } 
        /// <summary>
        /// 报警码
        /// </summary>
        public int AlarmCode { get; set; }
        /// <summary>
        /// 报警Io值
        /// </summary>
        public int AlarmIoValue { get; set; }

        public int IN7Value { get; set; }
    }
}