Add HomePage

This commit is contained in:
2019-03-24 19:40:53 +01:00
parent 46f914fe4d
commit 35e468e0b0
14 changed files with 254 additions and 4 deletions

View File

@@ -15,6 +15,18 @@ namespace PlantBox.Shared.Communication.Commands
public PlantState State { get; set; }
public double Water { get; set; }
public InfoResponse()
{
}
public InfoResponse(string name, PlantType type, PlantState state, double water)
{
Name = name;
Type = type;
State = state;
Water = water;
}
public override InfoResponse Deserialize(string[] arguments)
{
if (arguments == null)