2019-12-01 16:04:46 +00:00
|
|
|
using System.Collections.Generic;
|
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
|
|
|
}
|
|
|
|
|
2019-12-01 16:04:46 +00:00
|
|
|
public override Dictionary<string, double> GetMeasurement()
|
2019-12-01 14:38:14 +00:00
|
|
|
{
|
2019-12-01 16:04:46 +00:00
|
|
|
return new Dictionary<string, double>();
|
2019-12-01 14:38:14 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
public override SensorStateEnum GetState()
|
|
|
|
{
|
|
|
|
return SensorStateEnum.Error;
|
2019-11-30 16:55:55 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|