Rewrite electricity server to .NET web api

This commit is contained in:
2022-07-01 21:15:31 +02:00
parent b8387dfa1d
commit 642170172a
22 changed files with 354 additions and 509 deletions

View File

@@ -0,0 +1,16 @@
namespace Electricity.Api.Entities
{
public partial class ElectricityLog
{
public string Date { get; set; } = null!;
public string TimeUtc { get; set; } = null!;
public double CurrentPowerUsage { get; set; }
public double TotalPowerConsumptionDay { get; set; }
public double TotalPowerConsumptionNight { get; set; }
public double CurrentPowerReturn { get; set; }
public double TotalPowerReturnDay { get; set; }
public double TotalPowerReturnNight { get; set; }
public long DayTarifEnabled { get; set; }
public double GasConsumptionInCubicMeters { get; set; }
}
}