From d6204b06fedf2f318602ea5bc837245ece2a8cd6 Mon Sep 17 00:00:00 2001 From: Denis NUTIU Date: Sat, 7 Dec 2019 00:54:32 +0200 Subject: [PATCH] Fix Bme680MeasurementData namespace --- .../Sensors}/Bme680MeasurementData.cs | 2 +- NucuCar.Sensors/EnvironmentSensor/Bme680Sensor.cs | 1 + .../EnvironmentSensor.Tests/Bme680GrpcServiceTest.cs | 1 + .../EnvironmentSensor.Tests/TestBme680Sensor.cs | 1 + 4 files changed, 4 insertions(+), 1 deletion(-) rename {NucuCar.Sensors/EnvironmentSensor => NucuCar.Domain/Sensors}/Bme680MeasurementData.cs (82%) diff --git a/NucuCar.Sensors/EnvironmentSensor/Bme680MeasurementData.cs b/NucuCar.Domain/Sensors/Bme680MeasurementData.cs similarity index 82% rename from NucuCar.Sensors/EnvironmentSensor/Bme680MeasurementData.cs rename to NucuCar.Domain/Sensors/Bme680MeasurementData.cs index cc03321..7518f32 100644 --- a/NucuCar.Sensors/EnvironmentSensor/Bme680MeasurementData.cs +++ b/NucuCar.Domain/Sensors/Bme680MeasurementData.cs @@ -1,4 +1,4 @@ -namespace NucuCar.Sensors.EnvironmentSensor +namespace NucuCar.Domain.Sensors { public class Bme680MeasurementData { diff --git a/NucuCar.Sensors/EnvironmentSensor/Bme680Sensor.cs b/NucuCar.Sensors/EnvironmentSensor/Bme680Sensor.cs index f2a1316..cbafdb4 100644 --- a/NucuCar.Sensors/EnvironmentSensor/Bme680Sensor.cs +++ b/NucuCar.Sensors/EnvironmentSensor/Bme680Sensor.cs @@ -6,6 +6,7 @@ using Iot.Device.Bmxx80; using Iot.Device.Bmxx80.PowerMode; using Microsoft.Extensions.Logging; using Microsoft.Extensions.Options; +using NucuCar.Domain.Sensors; using NucuCar.Domain.Telemetry; using NucuCarSensorsProto; diff --git a/NucuCar.UnitTests/NucuCar.Sensors.Tests/EnvironmentSensor.Tests/Bme680GrpcServiceTest.cs b/NucuCar.UnitTests/NucuCar.Sensors.Tests/EnvironmentSensor.Tests/Bme680GrpcServiceTest.cs index 8ffca41..f817ac8 100644 --- a/NucuCar.UnitTests/NucuCar.Sensors.Tests/EnvironmentSensor.Tests/Bme680GrpcServiceTest.cs +++ b/NucuCar.UnitTests/NucuCar.Sensors.Tests/EnvironmentSensor.Tests/Bme680GrpcServiceTest.cs @@ -1,6 +1,7 @@ using System.Collections.Generic; using Microsoft.Extensions.Logging; using Moq; +using NucuCar.Domain.Sensors; using NucuCar.Sensors; using NucuCar.Sensors.EnvironmentSensor; using NucuCarSensorsProto; diff --git a/NucuCar.UnitTests/NucuCar.Sensors.Tests/EnvironmentSensor.Tests/TestBme680Sensor.cs b/NucuCar.UnitTests/NucuCar.Sensors.Tests/EnvironmentSensor.Tests/TestBme680Sensor.cs index e50daaf..8402521 100644 --- a/NucuCar.UnitTests/NucuCar.Sensors.Tests/EnvironmentSensor.Tests/TestBme680Sensor.cs +++ b/NucuCar.UnitTests/NucuCar.Sensors.Tests/EnvironmentSensor.Tests/TestBme680Sensor.cs @@ -1,5 +1,6 @@ using System.Collections.Generic; using System.Threading.Tasks; +using NucuCar.Domain.Sensors; using NucuCar.Sensors.EnvironmentSensor; using NucuCarSensorsProto;