Пример #1
0
 private void OnFrameDropped(FrameDroppedByChecksumEventArgs e)
 {
     FrameDroppedByChecksumEventHandler handler = FrameDroppedByChecksum;
     if (handler != null)
     {
         handler(this, e);
     }
 }
Пример #2
0
 void FrameDroppedByChecksumHandler(object sender, FrameDroppedByChecksumEventArgs e)
 {
     NDLogger.Log("Frame dropped because of checksum:", LogLevel.Error);
     logBytesRead(e.RawBytes);
 }