Add HomePage
This commit is contained in:
@@ -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)
|
||||
|
||||
@@ -6,6 +6,7 @@ namespace PlantBox.Shared.Communication.Commands
|
||||
{
|
||||
public enum PlantState
|
||||
{
|
||||
Default,
|
||||
Bad,
|
||||
Warning,
|
||||
Good
|
||||
|
||||
@@ -6,9 +6,10 @@ namespace PlantBox.Shared.Communication.Commands
|
||||
{
|
||||
public enum PlantType
|
||||
{
|
||||
Default,
|
||||
Bamboo,
|
||||
Bonsai,
|
||||
Cactus,
|
||||
Ficus,
|
||||
Ficus
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user