21 lines
525 B
C#
21 lines
525 B
C#
using System;
|
|
|
|
namespace BattSim.Models
|
|
{
|
|
public class EnergyData
|
|
{
|
|
public DateTime Time { get; set; }
|
|
public bool DayTariff { get; set; }
|
|
public double Consumption { get; set; }
|
|
public double Production { get; set; }
|
|
|
|
public EnergyData(){}
|
|
public EnergyData(EnergyData other)
|
|
{
|
|
Time = other.Time;
|
|
DayTariff = other.DayTariff;
|
|
Consumption = other.Consumption;
|
|
Production = other.Production;
|
|
}
|
|
}
|
|
} |