NucuCar/NucuCar.UnitTests/NucuCar.Sensors/Bme680/TestBme680Sensor.cs

29 lines
663 B
C#
Raw Normal View History

using System.Threading.Tasks;
2021-08-01 17:35:54 +00:00
using NucuCar.Sensors.Abstractions;
2021-08-02 18:13:59 +00:00
using NucuCar.Sensors.Modules.BME680;
2019-11-30 16:55:55 +00:00
namespace NucuCar.UnitTests.NucuCar.Sensors.Bme680
2019-11-30 16:55:55 +00:00
{
public class TestBme680Sensor : Bme680Sensor
2019-11-30 16:55:55 +00:00
{
2019-12-17 19:40:20 +00:00
public override Task TakeMeasurementAsync()
{
return Task.CompletedTask;
}
public override void Initialize()
2019-11-30 16:55:55 +00:00
{
}
public override SensorResponse GetMeasurement()
{
return new SensorResponse();
}
public override SensorStateEnum GetState()
{
return SensorStateEnum.Error;
2019-11-30 16:55:55 +00:00
}
}
}