private void SetSerialPort() { if (serialPortSelection != null) { _serialService.ConnectToSerialPort(serialPortSelection.SerialPort_PortName); } }