27 lines
723 B
C#
27 lines
723 B
C#
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; }
|
|
}
|
|
}
|