You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

47 lines
914 B
C#

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<MemorySetting>
{
public MemorySetting()
{
}
public string DB { get; set; } = "Data Source=ndsd.db;Version=3;";
/// <summary>
/// 服务端IP
/// </summary>
public string ServerIP { get; set; } = "172.16.1.55";
/// <summary>
/// 服务端端口
/// </summary>
public string ServerPort { get; set; } = "6001";
/// <summary>
/// 超时报警时间
/// </summary>
public int AlarmTimeValue { get; set; } = 10;
public String Com { get; set; }
}
}