using Microsoft.Extensions.Logging; using NucuCar.Telemetry; namespace NucuCar.Sensors.Health { public class CpuTempWorker : SensorWorker { public CpuTempWorker(ILogger logger, SensorTelemetry sensorTelemetry, ISensor sensor) { Logger = logger; MeasurementInterval = 3000; TelemetryPublisher = sensorTelemetry.Publisher; Sensor = sensor.Object; } } }