End Broker

This commit is contained in:
2019-04-24 19:27:40 +02:00
parent a1e1d43a6f
commit e3cc6392a7
12 changed files with 518 additions and 23 deletions

View File

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