using NewLife.Configuration; using System; using System.Collections.Generic; using System.ComponentModel; using System.Linq; using System.Text; using System.Threading.Tasks; namespace NDSD_Screwdriver { [DisplayName("核心设置")] [Config("MemorySetting")] public class MemorySetting : Config { public MemorySetting() { } public string DB { get; set; } = "Data Source=ndsd.db;Version=3;"; /// /// 服务端IP /// public string ServerIP { get; set; } = "172.16.1.55"; /// /// 服务端端口 /// public string ServerPort { get; set; } = "6001"; /// /// 超时报警时间 /// public int AlarmTimeValue { get; set; } = 10; public String Com { get; set; } public String ServiceIp { get; set; } = "tcp://127.0.0.1:7789"; } }