2019-12-01 14:38:14 +00:00
|
|
|
using System.Threading.Tasks;
|
2020-08-01 15:22:38 +00:00
|
|
|
using NucuCar.Sensors.Modules.Environment;
|
2019-11-30 16:55:55 +00:00
|
|
|
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-17 19:40:20 +00:00
|
|
|
public override Task TakeMeasurementAsync()
|
2019-12-01 14:38:14 +00:00
|
|
|
{
|
|
|
|
return Task.CompletedTask;
|
|
|
|
}
|
|
|
|
|
2019-12-17 19:44:15 +00:00
|
|
|
public override void Initialize()
|
2019-11-30 16:55:55 +00:00
|
|
|
{
|
|
|
|
|
2019-12-01 14:38:14 +00:00
|
|
|
}
|
|
|
|
|
2019-12-19 20:59:17 +00:00
|
|
|
public override NucuCarSensorResponse GetMeasurement()
|
2019-12-01 14:38:14 +00:00
|
|
|
{
|
2019-12-19 20:59:17 +00:00
|
|
|
return new NucuCarSensorResponse();
|
2019-12-01 14:38:14 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
public override SensorStateEnum GetState()
|
|
|
|
{
|
|
|
|
return SensorStateEnum.Error;
|
2019-11-30 16:55:55 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|