using NewLife.Configuration; using System; using System.Collections.Generic; using System.ComponentModel; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Tool { [DisplayName("核心设置")] [Config("Core")] public class RfidSetting : Config { public string Db { get; set; } = "server=127.0.0.1;database=postgres;uid=postgres;pwd=yangwei"; public string PlcIp { get; set; } = "127.0.0.1"; public int Port { get; set; }=44818; } }