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

@@ -0,0 +1,26 @@
using PlantBox.Shared.Communication.Commands;
using System;
using System.Collections.Generic;
using System.Text;
namespace PlantBox.Broker
{
class PlantBox
{
// General Info
public ulong ID { get; }
public string Name { get; set; }
public PlantType Type { get; set; }
public PlantState State { get; set; }
// Captors
public DateTime LastMeasureDate { get; set; }
public double TankLevel { get; set; }
public CaptorValue Humidity { get; set; }
public CaptorValue Luminosity { get; set; }
public CaptorValue Temperature { get; set; }
// Historic
public HistoricManager HistoricManager { get; set; }
}
}