using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace LYFZ.WanYuKeFuData.Model { /// /// 服务器配置 /// public class ServerConfig : BaseConfig { public ServerConfig() { } int bakHH = 21; /// /// 备份开始 小时数 /// public int BakHH { get { return bakHH; } set { bakHH = value; } } int bakMM = 0; /// /// 备份开始 分钟数 /// public int BakMM { get { return bakMM; } set { bakMM = value; } } bool enableAutoBackup = false; /// /// 是否启用自动备份 /// public bool EnableAutoBackup { get { return enableAutoBackup; } set { enableAutoBackup = value; } } string backupFilePath = ""; /// /// 备份文件保存路径 /// public string BackupFilePath { get { return backupFilePath; } set { backupFilePath = value; } } private bool _NetworkTrafficStatistics = false; /// /// 是否开启统量统计 /// public bool NetworkTrafficStatistics { get { return _NetworkTrafficStatistics; } set { _NetworkTrafficStatistics = value; } } } }