コード例 #1
0
ファイル: ComManager.cs プロジェクト: ninwjf/MJ-mysqlGS
 private void SerialPort_ErrorReceived(object sender, SerialErrorReceivedEventArgs e)
 {
     _OnErrorReceived?.Invoke(e.ToString());
 }
コード例 #2
0
        private void Serial_ErrorReceived(UartController sender, ErrorReceivedEventArgs e)
        {
            ErrorReceivedHandler handler = ErrorReceived;

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