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