public void Update(Account account)
 {
     account.SetRestartDelayActive(false);
     account.SetPID(_newPID);
     account.SetLastStartTime(DateTime.Now);
 }
Beispiel #2
0
 public void AddAccount(Account account)
 {
     Logger.LoggingObject.Log(ELogType.Debug,
         LanguageManager.Singleton.GetTranslation(ETranslations.ConfigNewAccount));
     account.SetIndex(AccountSettings.Count);
     account.SetPID(uint.MaxValue);
     AccountSettings.Add(account);
 }