2019-12-01 14:38:14 +00:00
|
|
|
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
|
|
|
|
{
|
2019-12-01 14:38:14 +00:00
|
|
|
public class TestBme680Sensor : Bme680Sensor
|
2019-11-30 16:55:55 +00:00
|
|
|
{
|
2019-12-01 14:38:14 +00:00
|
|
|
public override Task TakeMeasurement()
|
|
|
|
{
|
|
|
|
return Task.CompletedTask;
|
|
|
|
}
|
|
|
|
|
|
|
|
public override void InitializeSensor()
|
2019-11-30 16:55:55 +00:00
|
|
|
{
|
|
|
|
|
2019-12-01 14:38:14 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
// TODO Make more generic
|
|
|
|
public override EnvironmentSensorMeasurement GetMeasurement()
|
|
|
|
{
|
|
|
|
return new EnvironmentSensorMeasurement();
|
|
|
|
}
|
|
|
|
|
|
|
|
public override SensorStateEnum GetState()
|
|
|
|
{
|
|
|
|
return SensorStateEnum.Error;
|
2019-11-30 16:55:55 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|