From ad5c5da77fbfcc4f0dd056b3686b4d93fb692a2d Mon Sep 17 00:00:00 2001 From: Denis NUTIU Date: Sat, 23 Nov 2019 16:13:27 +0200 Subject: [PATCH] Change NucuCar.TestClient folder structure --- NucuCar.TestClient/Program.cs | 2 ++ NucuCar.TestClient/{ => Sensors}/SensorsCmd.cs | 0 NucuCar.TestClient/{ => Telemetry}/AzureTelemetryPublishCmd.cs | 3 ++- NucuCar.TestClient/{ => Telemetry}/AzureTelemetryReaderCmd.cs | 3 ++- 4 files changed, 6 insertions(+), 2 deletions(-) rename NucuCar.TestClient/{ => Sensors}/SensorsCmd.cs (100%) rename NucuCar.TestClient/{ => Telemetry}/AzureTelemetryPublishCmd.cs (95%) rename NucuCar.TestClient/{ => Telemetry}/AzureTelemetryReaderCmd.cs (96%) diff --git a/NucuCar.TestClient/Program.cs b/NucuCar.TestClient/Program.cs index 6e3e966..633bd8b 100644 --- a/NucuCar.TestClient/Program.cs +++ b/NucuCar.TestClient/Program.cs @@ -1,4 +1,6 @@ using CommandLine; +using NucuCar.TestClient.Sensors; +using NucuCar.TestClient.Telemetry; namespace NucuCar.TestClient { diff --git a/NucuCar.TestClient/SensorsCmd.cs b/NucuCar.TestClient/Sensors/SensorsCmd.cs similarity index 100% rename from NucuCar.TestClient/SensorsCmd.cs rename to NucuCar.TestClient/Sensors/SensorsCmd.cs diff --git a/NucuCar.TestClient/AzureTelemetryPublishCmd.cs b/NucuCar.TestClient/Telemetry/AzureTelemetryPublishCmd.cs similarity index 95% rename from NucuCar.TestClient/AzureTelemetryPublishCmd.cs rename to NucuCar.TestClient/Telemetry/AzureTelemetryPublishCmd.cs index d5db477..9c23d0e 100644 --- a/NucuCar.TestClient/AzureTelemetryPublishCmd.cs +++ b/NucuCar.TestClient/Telemetry/AzureTelemetryPublishCmd.cs @@ -1,4 +1,5 @@ // ReSharper disable UnusedAutoPropertyAccessor.Global + using System.Collections.Generic; using System.Threading; using System.Threading.Tasks; @@ -7,7 +8,7 @@ using Microsoft.Extensions.Logging; using Newtonsoft.Json; using NucuCar.Domain.Telemetry; -namespace NucuCar.TestClient +namespace NucuCar.TestClient.Telemetry { public class AzureTelemetryPublishCmd { diff --git a/NucuCar.TestClient/AzureTelemetryReaderCmd.cs b/NucuCar.TestClient/Telemetry/AzureTelemetryReaderCmd.cs similarity index 96% rename from NucuCar.TestClient/AzureTelemetryReaderCmd.cs rename to NucuCar.TestClient/Telemetry/AzureTelemetryReaderCmd.cs index 2b3f28e..3206b5f 100644 --- a/NucuCar.TestClient/AzureTelemetryReaderCmd.cs +++ b/NucuCar.TestClient/Telemetry/AzureTelemetryReaderCmd.cs @@ -1,4 +1,5 @@ // ReSharper disable UnusedAutoPropertyAccessor.Global + using System; using System.Collections.Generic; using System.Text; @@ -9,7 +10,7 @@ using Microsoft.Azure.EventHubs; using Microsoft.Extensions.Logging; using ILogger = Microsoft.Extensions.Logging.ILogger; -namespace NucuCar.TestClient +namespace NucuCar.TestClient.Telemetry { public class AzureTelemetryReaderCmd {