AppConfig.cs 1.08 KB
namespace HHECS.DAQHandle.Dto
{
    public class AppConfig
    {
        /// <summary>
        /// 设备类型
        /// </summary>
        public List<string> EquipmentTypeCodes { get; set; } = new List<string>();

        /// <summary>
        /// 仓库编号
        /// </summary>
        public string WarehouseCode { get; set; }

        /// <summary>
        /// 数据超时时间(单位:秒)
        /// </summary>
        /// <remarks>设备报警或状态记录,在此时间间隔内的数据,认为是连续的数据</remarks>
        public int DataTimeOut { get; set; }

        /// <summary>
        /// 每次处理数量
        /// </summary>
        public int ProcessingDataVolume { get; set; }

        /// <summary>
        /// 是否为生产环境
        /// </summary>
        public bool IsProductionEnvironment { get; set; }

        /// <summary>
        /// 客户端标识
        /// </summary>
        public Guid ClientId { get; set; }

        /// <summary>
        /// 程序版本号
        /// </summary>
        public int Version { get; set; }
    }
}