public NVMeSensor(string name, int index, bool defaultHidden, SensorType sensorType, Hardware hardware, ISettings settings, GetSensorValue getValue) : base(name, index, defaultHidden, sensorType, hardware, null, settings) { this.getValue = getValue; }
private void AddSensor(string name, int index, bool defaultHidden, SensorType sensorType, GetSensorValue getValue) { NVMeSensor sensor = new NVMeSensor(name, index, defaultHidden, sensorType, this, settings, getValue); ActivateSensor(sensor); sensors.Add(sensor); }