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