/// <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(); }
public MaintenanceToolHandler() { ResetReadCancellationTokenSource(); ResetWriteCancellationTokenSource(); handler = this; }