using SWRIS.Enums;
using SWRIS.Models.Data;

namespace SWRIS.Models
{
    public class EquipmentModel
    {
        /// <summary>
        /// 绳号
        /// </summary>
        public int RopeNumber { get; set; }
        /// <summary>
        /// 钢丝绳名称
        /// </summary>
        public string RopeName { get; set; }
        /// <summary>
        /// 地址
        /// </summary>
        public string IpAddress { get; set; }
        /// <summary>
        /// 序列号
        /// </summary>
        public string SerialNo { get; set; } = string.Empty;
        /// <summary>
        /// 供应商
        /// </summary>
        public string Supplier { get; set; }
        /// <summary>
        /// 绳长/高度倍率
        /// </summary>
        public double LiftHightRatio { get; set; } = 1;
        /// <summary>
        /// 报警级别
        /// </summary>
        public RiskLevel SoundRiskLevel { get; set; }
        /// <summary>
        /// 绳芯类型 1 钢芯 2 纤维芯
        /// </summary>
        public RopeCoreType RopeCoreType { get; set; }
        /// <summary>
        /// 钢丝材质 1 碳钢 2 不锈钢
        /// </summary>
        public WireMaterialType WireMaterialType { get; set; }
        /// <summary>
        /// 表面状态 1 光面 2 A级镀锌 3 B级镀锌 
        /// </summary>
        public WireSurfaceType WireSurfaceType { get; set; }
        /// <summary>
        /// 捻向 1 右交互捻 2 左交互捻 3 右同向捻 4 左同向捻
        /// </summary>
        public LayType LayType { get; set; }
        /// <summary>
        /// 禁用报警
        /// </summary>
        public bool DisableAlarm { get; set; }
        /// <summary>
        /// 在用传感器
        /// </summary>
        public int[] InUseSensor { get; set; } = new int[] { 1, 2, 3, 4 };
        /// <summary>
        /// 参数
        /// </summary>
        public ParameterModel Parameter { get; set; }
    }
}
