update config struct

This commit is contained in:
Noe 2024-03-11 16:10:12 +01:00
parent 950308e4cd
commit c0bc1d601a
2 changed files with 11 additions and 9 deletions

View File

@ -2,14 +2,15 @@ namespace InnovEnergy.App.Backend.DataTypes;
public class Configuration
{
public Double MinimumSoC { get; set; }
public Double GridSetPoint { get; set; }
public CalibrationChargeType ForceCalibrationCharge { get; set; }
public Double MinimumSoC { get; set; }
public Double GridSetPoint { get; set; }
public CalibrationChargeType ForceCalibrationCharge { get; set; }
public DateTime CalibrationChargeDate { get; set; }
}
public enum CalibrationChargeType
{
No,
UntilEoc,
Yes
RepetitivelyEvery,
AdditionallyOnce,
ChargePermanently
}

View File

@ -4,8 +4,9 @@ namespace InnovEnergy.App.SaliMax.DataTypes;
public class Configuration
{
public Double MinimumSoC { get; set; }
public Double GridSetPoint { get; set; }
public CalibrationChargeType ForceCalibrationCharge { get; set; }
public Double MinimumSoC { get; set; }
public Double GridSetPoint { get; set; }
public CalibrationChargeType ForceCalibrationCharge { get; set; }
public DateTime CalibrationChargeDate { get; set; }
}