public void Initialize() { if(_serialPort == null) { _serialPort = CreateNewSerialPort(); } if(!_serialPort.IsOpen) { _serialPort.Open(); } }