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

29 lines
688 B
C#
Raw Normal View History

using System.Threading.Tasks;
using NucuCar.Sensors.Environment;
2019-11-30 16:55:55 +00:00
using NucuCarSensorsProto;
namespace NucuCar.UnitTests.NucuCar.Sensors.Tests.EnvironmentSensor.Tests
{
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 NucuCarSensorResponse GetMeasurement()
{
return new NucuCarSensorResponse();
}
public override SensorStateEnum GetState()
{
return SensorStateEnum.Error;
2019-11-30 16:55:55 +00:00
}
}
}