Inheritance: Notifiable, ConnectionInfo
        public Server NewServer()
        {
            Server server = new Server();
            Servers.Add(server);

            App.ModelManager.Save<ServerModelSet>();
            return server;
        }
 public void ToggleDefault(Server server)
 {
     if(server.IsDefault)
     {
         server.IsDefault = false;
     }
     else
     {
         foreach(var s in Servers)
         {
             s.IsDefault = false;
         }
         server.IsDefault = true;
     }
     App.ModelManager.Save<ServerModelSet>();
 }
 public void DeleteServer(Server server)
 {
     Servers.Remove(server);
     App.ModelManager.Save<ServerModelSet>();
 }
 private async void NormalReconnect(Server server)
 {
     await Task.Delay(10 * 1000);
     await App.ArkRcon.Connect(server);
 }
 private async void ForceReconnect(Server server)
 {
     await Task.Delay(5 * 1000 * 60);
     await App.ArkRcon.Connect(server);
 }
 private void InitiateReconnect(Server server)
 {
     WriteToApplicationLog("Auto-Reconnecting in 10 seconds...", DateTime.Now);
     if (!App.ArkRcon.IsConnected)
     {
         NormalReconnect(server);
     }
 }
 private void InitiateReconnect(Server server)
 {
     WriteToApplicationLog("10秒后自动重连...", DateTime.Now);
     if (!App.ArkRcon.IsConnected)
     {
         NormalReconnect(server);
     }
 }