using Microsoft.Extensions.Options;
using System;
using System.Collections.Generic;

namespace SlnMesnac.Config
{
    /// <summary>
    /// 系统配置
    /// </summary>
    public class AppConfig : IOptions<AppConfig>
    {
        /// <summary>
        /// 日志文件路径
        /// </summary>
        public string logPath { get; set; }
        
        /// <summary>
        /// Sql连接配置 
        /// </summary>
        public List<SqlConfig> sqlConfig { get; set; }
        
        /// <summary>
        /// PLC连接配置
        /// </summary>
        public List<PlcConfig> plcConfig { get; set; }
        
        /// <summary>
        /// RFID连接配置
        /// </summary>
        public List<RfidConfig> rfidConfig { get; set; }

       

        public AppConfig Value => this;
    }
}
