示例#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();
 }
示例#2
0
 public MaintenanceToolHandler() {
     ResetReadCancellationTokenSource();
     ResetWriteCancellationTokenSource();
     handler = this;
 }