Rewrite electricity server to .NET web api
This commit is contained in:
16
src/Electricity.Api/Entities/ElectricityLog.cs
Normal file
16
src/Electricity.Api/Entities/ElectricityLog.cs
Normal 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; }
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user