namespace SlnMesnac.Config
{
    /// <summary>
    /// PLC配置，通过AppConfig进行获取
    /// </summary>
    public class PlcConfig
    {
        /// <summary>
        /// PLC配置ID
        /// </summary>
        public int configId { get; set; }
        
        /// <summary>
        /// PIC类型
        /// </summary>
        public string plcType { get; set; }
        
        /// <summary>
        /// PLC IP
        /// </summary>
        public string plcIp { get; set; }
        
        /// <summary>
        /// PLC Port
        /// </summary>
        public int plcPort { get; set; }
        
        /// <summary>
        /// PLC Key
        /// </summary>
        public string plcKey { get; set; }
        
        /// <summary>
        /// 是否启用
        /// </summary>
        public bool isFlage { get; set; }
    }
}