Changed from daily records to quarter hour records

This commit is contained in:
douwe
2026-04-13 16:14:54 +02:00
parent 9f1fbcdd5a
commit 992b7f02ea
8 changed files with 105 additions and 271 deletions

View File

@@ -4,12 +4,9 @@ namespace BattSim.Models
{
public class EnergyData
{
public DateOnly Date { get; set; }
public double DayConsumption { get; set; }
public double NightConsumption { get; set; }
public double TotalConsumption => DayConsumption + NightConsumption;
public double DayProduction { get; set; }
public double NightProduction { get; set; }
public double TotalProduction => DayProduction + NightProduction;
public DateTime Time { get; set; }
public bool DayTarif { get; set; }
public double Consumption { get; set; }
public double Production { get; set; }
}
}