/// <summary> /// Send Force BREAK command. /// </summary> public async void ForceBreakCommand() { if (_serialPort != null && _serialPort.IsAvailable()) { await Task.Run(() => _serialPort.SendForceBreak()); } else { DisplayConnectionError(); } }