From d7d60f30af4ad51d77bd028396f40d97dcbc4cf7 Mon Sep 17 00:00:00 2001 From: Eveldee Date: Sat, 23 Mar 2019 21:58:06 +0100 Subject: [PATCH] Move CaptorsCommand to CaptorsResponse --- .../Commands/{CaptorsCommand.cs => CaptorsResponse.cs} | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) rename PlantBox.Shared/Communication/Commands/{CaptorsCommand.cs => CaptorsResponse.cs} (82%) diff --git a/PlantBox.Shared/Communication/Commands/CaptorsCommand.cs b/PlantBox.Shared/Communication/Commands/CaptorsResponse.cs similarity index 82% rename from PlantBox.Shared/Communication/Commands/CaptorsCommand.cs rename to PlantBox.Shared/Communication/Commands/CaptorsResponse.cs index b19e261..8616d46 100644 --- a/PlantBox.Shared/Communication/Commands/CaptorsCommand.cs +++ b/PlantBox.Shared/Communication/Commands/CaptorsResponse.cs @@ -6,24 +6,24 @@ using System.Text; namespace PlantBox.Shared.Communication.Commands { - class CaptorsCommand : CommandSerializable + public class CaptorsResponse : CommandSerializable { public double Humidity { get; set; } public double Luminosity { get; set; } public double Temperature { get; set; } - public CaptorsCommand() + public CaptorsResponse() { } - public CaptorsCommand(double humidity, double luminosity, double temperature) + public CaptorsResponse(double humidity, double luminosity, double temperature) { Humidity = humidity; Luminosity = luminosity; Temperature = temperature; } - public override CaptorsCommand Deserialize(string[] arguments) + public override CaptorsResponse Deserialize(string[] arguments) { if (arguments == null) {