using System.Collections.Generic;

namespace Siger.Middlelayer.QmsRepository.Request
{
    public class RequestSaveRules
    {
        public List<AbnormalRule> rules = new List<AbnormalRule>();
    }

    public class AbnormalRule
    {
        public int id { get; set; }

        /// <summary>
        /// k值
        /// </summary>
        public string k_value { get; set; }

        /// <summary>
        /// 连续型启用0=>未启用 1=>启用
        /// </summary>
        public int continuous { get; set; }

        /// <summary>
        /// 离散型启用0=>未启用 1=>启用
        /// </summary>
        public int discrete { get; set; }

        /// <summary>
        /// 是否触发安灯0=>否 1=>是
        /// </summary>
        public int trigger_andon { get; set; }
    }
}
