public DataManager(DataManagerConfig config) { Debug.WriteLine(config.ToString()); Config = config; ComputerManager.Initialize(config); if (config.MonitorCpu) { _cpuMonitor = new CpuMonitor(); } if (config.MonitorGpu) { _gpuMonitor = new GpuMonitor(); } if (config.MonitorMemory) { _memoryMonitor = new MemoryMonitor(); } if (config.MonitorDisks) { _diskMonitor = new DiskMonitor(); } if (Config.MonitorMotherboard) { _motherboardMonitor = new MotherboardMonitor(); } }