17 lines
No EOL
494 B
C#
17 lines
No EOL
494 B
C#
using Microsoft.Extensions.Logging;
|
|
using NucuCar.Sensors.Abstractions;
|
|
using NucuCar.Telemetry;
|
|
|
|
namespace NucuCar.Sensors.Environment
|
|
{
|
|
public class Bme680Worker : SensorWorker
|
|
{
|
|
public Bme680Worker(ILogger<Bme680Worker> logger, Telemetry.Telemetry telemetry, ISensor<Bme680Sensor> sensor)
|
|
{
|
|
Logger = logger;
|
|
MeasurementInterval = 3000;
|
|
TelemetryPublisher = telemetry.Publisher;
|
|
Sensor = sensor.Object;
|
|
}
|
|
}
|
|
} |