Ejemplo n.º 1
0
        private void StopSerialCommunication()
        {
            _serialClient.CloseCom();
            _serialClient.SerialDataReceived -= SerialDataReceived;
            _serialClient.Dispose();

            InfinityService.Log.Info($"Serial Port {_viewModel.SerialPortNumber} Closed");
        }