using Microsoft.Extensions.Options; using System; using System.Collections.Generic; namespace SlnMesnac.Config { /// /// 系统配置 /// public class AppConfig : IOptions { /// /// 日志文件路径 /// public string logPath { get; set; } /// /// Sql连接配置 /// public List sqlConfig { get; set; } /// /// PLC连接配置 /// public List plcConfig { get; set; } /// /// RFID连接配置 /// public List rfidConfig { get; set; } public AppConfig Value => this; } }