Delete unused Jsonoption
This commit is contained in:
parent
044cf24660
commit
c36ebeeb6a
|
@ -10,8 +10,6 @@ namespace InnovEnergy.App.SaliMax.AggregationService;
|
|||
|
||||
public class AggregatedData
|
||||
{
|
||||
private static readonly JsonSerializerOptions JsonOptions = new() { WriteIndented = true };
|
||||
|
||||
public required Double AvgSoc { get; set; }
|
||||
public required Double AvgPvPower { get; set; }
|
||||
public required Double BatteryPowerAverage { get; set; }
|
||||
|
@ -31,7 +29,7 @@ public class AggregatedData
|
|||
|
||||
try
|
||||
{
|
||||
var csvString = Units.ToCsv(this);
|
||||
var csvString = this.ToCsv();
|
||||
File.WriteAllText(dataFilePath, csvString);
|
||||
}
|
||||
catch (Exception e)
|
||||
|
|
Loading…
Reference in New Issue