using System.Collections.Generic;

namespace MECF.Framework.Common.Aitex.Core.Common.DeviceData
{
    /// <summary>
    /// 真值表配置的名称和值对象，对应单个单元格
    /// </summary>
    public class NameValue
    {
        /// <summary>
        /// 控制项的名称
        /// </summary>
        public string Name { get; set; }
        /// <summary>
        /// 控制项的状态
        /// </summary>
        public double Value { get; set; }
        /// <summary>
        /// /实际控制者，根据此名称从系统中Get对应对象
        /// </summary>
        public string ControlName { get; set; }
    }
    /// <summary>
    /// 真值表配置一行对象
    /// </summary>
    public class RealtimeGasFlowTrueTableRow
    {
        public List<NameValue> InputList { get; set; } = new List<NameValue>();
        public List<NameValue> OutputList { get; set; } = new List<NameValue>();
    }
}
