using System;
using System.Collections.Generic;
using System.Text;

namespace Siger.Middlelayer.Dapper.ResultData
{
    public class LocationAlarm
    {
        public int id { get; set; }
        /// <summary>
        /// 产线
        /// </summary>
        public int sectionID { get; set; }
        /// <summary>
        /// 设备
        /// </summary>
        public string machine { get; set; }
        /// <summary>
        /// 安灯类型
        /// </summary>
        public int type { get; set; }
        /// <summary>
        /// 异常类型
        /// </summary>
        public int exception { get; set; }
        /// <summary>
        /// 异常参数
        /// </summary>
        public string parameter { get; set; } = "";
        /// <summary>
        /// 触发判异规则
        /// </summary>
        public int rule { get; set; }
        /// <summary>
        /// 触发异常时间
        /// </summary>
        public int abnormal_time { get; set; }
        /// <summary>
        /// 是否触发安灯，1:触发，0：未触发
        /// </summary>
        public int trigger { get; set; }
        /// <summary>
        /// 是否关闭安灯，1:未关闭，0：关闭
        /// </summary>
        public int status { get; set; }
        /// <summary>
        /// 安灯报警开始时间
        /// </summary>
        public DateTime start_time { get; set; }

        /// <summary>
        /// 安灯报警开始时间
        /// </summary>
        public DateTime end_time { get; set; }
        /// <summary>
        /// 工单id
        /// </summary>
        public string workOrderId { get; set; }
        /// <summary>
        /// 项目id
        /// </summary>
        public int pid { get; set; }
        public DateTime UpdateTime { get; set; }

    }
}
