public AutoEnableDisable(ThreadDispatcher <MachineConfigThreadData> machineDispatcher) { _machineDispatcher = machineDispatcher; _machineDispatcher.AddProcessThreadData(new ProcessThreadDataHandler <MachineConfigThreadData>(this.OnMachineConfigAction)); ObjectStateNotifier.AddObserver(this); }