NucuCar/NucuCar.UnitTests/NucuCar.Sensors.Tests/EnvironmentSensor.Tests/TestBme680Sensor.cs

30 lines
739 B
C#
Raw Normal View History

using System.Collections.Generic;
using System.Threading.Tasks;
2019-11-30 16:55:55 +00:00
using NucuCar.Sensors.EnvironmentSensor;
using NucuCarSensorsProto;
namespace NucuCar.UnitTests.NucuCar.Sensors.Tests.EnvironmentSensor.Tests
{
public class TestBme680Sensor : Bme680Sensor
2019-11-30 16:55:55 +00:00
{
public override Task TakeMeasurement()
{
return Task.CompletedTask;
}
public override void InitializeSensor()
2019-11-30 16:55:55 +00:00
{
}
public override Dictionary<string, double> GetMeasurement()
{
return new Dictionary<string, double>();
}
public override SensorStateEnum GetState()
{
return SensorStateEnum.Error;
2019-11-30 16:55:55 +00:00
}
}
}