End Broker
This commit is contained in:
@@ -46,7 +46,7 @@ namespace PlantBox.Shared.Communication.Commands
|
||||
throw new ArgumentException($"Excepted 4 arguments, got {arguments.Length}");
|
||||
}
|
||||
|
||||
Time = TimeSpan.FromMinutes(arguments[0].ToDouble());
|
||||
Time = TimeSpan.FromSeconds(arguments[0].ToDouble());
|
||||
Humidities = GetArray(arguments[1]);
|
||||
Luminosities = GetArray(arguments[2]);
|
||||
Temperatures = GetArray(arguments[3]);
|
||||
@@ -63,7 +63,7 @@ namespace PlantBox.Shared.Communication.Commands
|
||||
|
||||
return new[]
|
||||
{
|
||||
Time.TotalMinutes.ToArgument(),
|
||||
Time.TotalSeconds.ToArgument(),
|
||||
Join(Humidities),
|
||||
Join(Luminosities),
|
||||
Join(Temperatures)
|
||||
|
||||
Reference in New Issue
Block a user