private void OnSerialLineErrorEvent(object sender, CommunicationErrorEvent e)
 {
     serialLine.Disconnect();
     eventProcessor.OnCatchException(new Exception("Устройство отключено"));
 }
Exemple #2
0
 public void OnCommunicationErrorEvent(CommunicationErrorEvent communicationErrorEvent)
 {
     Console.WriteLine("OnCommunicationErrorEvent");
 }