public void RemoveDevice(ServerDevice device)
 {
     if (ContainsDeviceGuid(device.Guid))
     {
         connectedDevices.Remove(device.Guid);
         device.RemovePlayer();
         LogService.InfoFormat($"Device: {device} Disconnect");
     }
 }
 public bool AddDevice(ServerDevice device)
 {
     if (ContainsDeviceGuid(device.Guid))
     {
         LogService.InfoFormat($"Device: {device} Duplicated");
         return(false);
     }
     else
     {
         connectedDevices.Add(device.Guid, device);
         LogService.InfoFormat($"Device: {device} Connect");
         return(true);
     }
 }