Example #1
0
 private void DebugReportHandler(object _, IDeviceReport report)
 {
     if (report is ITabletReport tabletReport)
     {
         TabletReport?.Invoke(this, new DebugTabletReport(tabletReport));
     }
     if (report is IAuxReport auxReport)
     {
         AuxReport?.Invoke(this, new DebugAuxReport(auxReport));
     }
 }