End Broker
This commit is contained in:
26
PlantBox.Broker/PlantBox.cs
Normal file
26
PlantBox.Broker/PlantBox.cs
Normal 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; }
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user