private void StopSerialCommunication() { _serialClient.CloseCom(); _serialClient.SerialDataReceived -= SerialDataReceived; _serialClient.Dispose(); InfinityService.Log.Info($"Serial Port {_viewModel.SerialPortNumber} Closed"); }
private void StopSerialCommunication() { _serialClient.CloseCom(); _serialClient.SerialDataReceived -= SerialDataReceived; _serialClient.Dispose(); InfinityService.Log.Info($"Serial Port {_viewModel.SerialPortNumber} Closed"); }