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) {