using System.Collections.Generic;

namespace MWS.Model.Model
{
    public class IndicatorConfigModel
    {
        /// <summary>
        /// 仪表类型   1 QCX-H4C-S  2 QCX-H4C-C11  3 QCX-H4C-C9
        /// </summary>
        public int Type { get; set; }

        public List<Device> Devices { get; set; }

        public class Device
        {

            #region 公用
            /// <summary>
            /// 设备Id
            /// </summary>
            public short DeviceId { get; set; }

            /// <summary>
            /// 净重变量Id
            /// </summary>
            public int LoadWeightTagId { get; set; }
            /// <summary>
            /// 净重变量Id
            /// </summary>
            public int NetWeightTagId { get; set; }

            /// <summary>
            /// 皮重变量Id
            /// </summary>
            public int TareWeightTagId { get; set; }


            /// <summary>
            /// 额定重量变量Id
            /// </summary>
            public int RatedWeightTagId { get; set; }

            /// <summary>
            /// 稳定信号变量Id
            /// </summary>
            public int SteadyTagId { get; set; }

            /// <summary>
            /// 抓斗打开信号
            /// </summary>
            public int GrabOpenTagId { get; set; }


            #endregion
            #region 垃圾吊 专用
            /// <summary>
            /// 小车就位信号变量Id
            /// </summary>
            public int SmallCarInplaceTagId { get; set; }

            public List<BigCarInplace> BigCarInplaces { get; set; }

            public class BigCarInplace
            {
                /// <summary>
                /// 大车就位变量Id
                /// </summary>
                public int TagId { get; set; }

                /// <summary>
                /// 就位料口Id
                /// </summary>
                public short EntranceId { get; set; }
            }
            #endregion
            #region 灰渣吊 专用

            /// <summary>
            /// 投料就位信号变量Id
            /// </summary>
            public int CarInplaceTagId { get; set; }

            #endregion


        }
    }
}