namespace VPet.Solution.Models.SettingEditor; public class SystemSettingModel : ObservableClass { /// /// 数据收集是否被禁止(当日) /// public bool DiagnosisDayEnable { get; } = true; private bool _diagnosis; /// /// 是否启用数据收集 /// public bool Diagnosis { get => _diagnosis; set => SetProperty(ref _diagnosis, value); } private int _diagnosisInterval; /// /// 数据收集频率 /// public int DiagnosisInterval { get => _diagnosisInterval; set => SetProperty(ref _diagnosisInterval, value); } private int _autoSaveInterval; /// /// 自动保存频率 (min) /// public int AutoSaveInterval { get => _autoSaveInterval; set => SetProperty(ref _autoSaveInterval, value); } private int _backupSaveMaxNum; /// /// 备份保存最大数量 /// public int BackupSaveMaxNum { get => _backupSaveMaxNum; set => SetProperty(ref _backupSaveMaxNum, value); } }