private void OnDisconnectDeviceCommandExecute(object obj) { SelectedDevice.Disconnect(); ConnectedDevice = null; }