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

31 lines
758 B
C#
Raw Normal View History

using System.Collections.Generic;
using System.Threading.Tasks;
2019-12-06 22:54:32 +00:00
using NucuCar.Domain.Sensors;
2019-11-30 16:55:55 +00:00
using NucuCar.Sensors.EnvironmentSensor;
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 Bme680MeasurementData GetMeasurement()
{
return new Bme680MeasurementData();
}
public override SensorStateEnum GetState()
{
return SensorStateEnum.Error;
2019-11-30 16:55:55 +00:00
}
}
}