public GlobalSettingsViewModel()
		{
			Title = "Параметры";
			Curent = this;
			SaveLogsCommand = new RelayCommand(OnSaveLogs);
			RemoveLogsCommand = new RelayCommand(OnRemoveLogs);
			ResetDatabaseCommand = new RelayCommand(OnResetDatabase);
			ResetConfigurationCommand = new RelayCommand(OnResetConfiguration);
			ResetSettingsCommand = new RelayCommand(OnResetSettings);
			ModulesViewModel = new ModulesViewModel();
			DbSettingsViewModel = new DbSettingsViewModel();
			LogsFolderPath = AppDataFolderHelper.GetLogsFolder();

			GetServerAuto();
			GetGKOpcServerAuto();
			Monitor_F1_Enabled = GlobalSettingsHelper.GlobalSettings.Monitor_F1_Enabled;
			Monitor_F2_Enabled = GlobalSettingsHelper.GlobalSettings.Monitor_F2_Enabled;
			Monitor_F3_Enabled = GlobalSettingsHelper.GlobalSettings.Monitor_F3_Enabled;
			Monitor_F4_Enabled = GlobalSettingsHelper.GlobalSettings.Monitor_F4_Enabled;

			RemoteAddress = GlobalSettingsHelper.GlobalSettings.RemoteAddress;
			RemotePort = GlobalSettingsHelper.GlobalSettings.RemotePort;
			ReportRemotePort = GlobalSettingsHelper.GlobalSettings.ReportRemotePort;
			AdministratorLogin = GlobalSettingsHelper.GlobalSettings.AdminLogin;
			AdministratorPassword = GlobalSettingsHelper.GlobalSettings.AdminPassword;
			AdministratorAutoConnect = GlobalSettingsHelper.GlobalSettings.AdminAutoConnect;
			MonitorLogin = GlobalSettingsHelper.GlobalSettings.MonitorLogin;
			MonitorPassword = GlobalSettingsHelper.GlobalSettings.MonitorPassword;
			WebLogin = GlobalSettingsHelper.GlobalSettings.WebLogin;
			WebPassword = GlobalSettingsHelper.GlobalSettings.WebPassword;
			MonitorAutoConnect = GlobalSettingsHelper.GlobalSettings.MonitorAutoConnect;
			RunRevisor = GlobalSettingsHelper.GlobalSettings.RunRevisor;
			Server_EnableRemoteConnections = GlobalSettingsHelper.GlobalSettings.Server_EnableRemoteConnections;
			Server_RemoteIpAddress = GlobalSettingsHelper.GlobalSettings.Server_RemoteIpAddress;
		}
		void OnResetSettings()
		{
			if (MessageBoxService.ShowQuestion("Вы уверены, что хотите сбросить по умолчанию настройки?"))
			{
				GlobalSettingsHelper.Reset();
				ModulesViewModel = new ModulesViewModel();
				OnPropertyChanged(() => ModulesViewModel);
			}
		}