Esempio n. 1
0
 private void SerialPort_ErrorReceived(object sender, SerialErrorReceivedEventArgs e)
 {
     _OnErrorReceived?.Invoke(e.ToString());
 }
Esempio n. 2
0
        private void Serial_ErrorReceived(UartController sender, ErrorReceivedEventArgs e)
        {
            ErrorReceivedHandler handler = ErrorReceived;

            handler?.Invoke(this, e, DateTime.Now);
        }