Beispiel #1
0
 /// <summary>
 /// Creates a new instance of EventHandlerForDevice, enables auto reconnect, and uses it as the Current instance.
 /// </summary>
 public static void CreateNewEventHandlerForDevice()
 {
     handler = new MaintenanceToolHandler();
 }
Beispiel #2
0
 public MaintenanceToolHandler() {
     ResetReadCancellationTokenSource();
     ResetWriteCancellationTokenSource();
     handler = this;
 }