using Microsoft.Extensions.Options;
using System;
using System.Collections.Generic;
namespace SlnMesnac.Config
{
///
/// 系统配置
///
public class AppConfig : IOptions
{
///
/// 日志文件路径
///
public string logPath { get; set; }
///
/// MCS 开仓地址
///
public string mcsOpenAddr { get; set; }
///
/// MCS料仓状态起始地址
///
public string mcsBinStatusAddr { get; set; }
///
/// CWSS 开仓地址
///
public string cwssOpenAddr { get; set; }
///
/// CWSS料仓状态起始地址
///
public string cwssBinStatusAddr { get; set; }
///
/// Sql连接配置
///
public List sqlConfig { get; set; }
///
/// PLC连接配置
///
public List plcConfig { get; set; }
public AppConfig Value => this;
}
}