add operating priority to the monitor and config file
This commit is contained in:
parent
a094c4f080
commit
6a0cd3d5a7
|
|
@ -1,4 +1,5 @@
|
||||||
|
|
||||||
|
using InnovEnergy.App.GrowattCommunication.ESS;
|
||||||
using InnovEnergy.App.GrowattCommunication.SystemConfig;
|
using InnovEnergy.App.GrowattCommunication.SystemConfig;
|
||||||
|
|
||||||
namespace InnovEnergy.App.GrowattCommunication.DataTypes;
|
namespace InnovEnergy.App.GrowattCommunication.DataTypes;
|
||||||
|
|
@ -9,5 +10,6 @@ public class Configuration
|
||||||
public Double GridSetPoint { get; set; }
|
public Double GridSetPoint { get; set; }
|
||||||
public Double MaximumDischargingCurrent { get; set; }
|
public Double MaximumDischargingCurrent { get; set; }
|
||||||
public Double MaximumChargingCurrent { get; set; }
|
public Double MaximumChargingCurrent { get; set; }
|
||||||
|
public EssMode OperatingPriority { get; set; }
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1,5 +1,6 @@
|
||||||
using System.Diagnostics.CodeAnalysis;
|
using System.Diagnostics.CodeAnalysis;
|
||||||
using System.Text.Json;
|
using System.Text.Json;
|
||||||
|
using InnovEnergy.App.GrowattCommunication.ESS;
|
||||||
using InnovEnergy.Lib.Utils;
|
using InnovEnergy.Lib.Utils;
|
||||||
using static System.Text.Json.JsonSerializer;
|
using static System.Text.Json.JsonSerializer;
|
||||||
|
|
||||||
|
|
@ -16,6 +17,7 @@ public class Config //TODO: let IE choose from config files (Json) and connect t
|
||||||
public required Double GridSetPoint { get; set; }
|
public required Double GridSetPoint { get; set; }
|
||||||
public required Double MaximumDischargingCurrent { get; set; }
|
public required Double MaximumDischargingCurrent { get; set; }
|
||||||
public required Double MaximumChargingCurrent { get; set; }
|
public required Double MaximumChargingCurrent { get; set; }
|
||||||
|
public required EssMode OperatingPriority { get; set; }
|
||||||
|
|
||||||
public required S3Config? S3 { get; set; }
|
public required S3Config? S3 { get; set; }
|
||||||
|
|
||||||
|
|
@ -27,7 +29,8 @@ public class Config //TODO: let IE choose from config files (Json) and connect t
|
||||||
MinSoc = 20,
|
MinSoc = 20,
|
||||||
GridSetPoint = 0,
|
GridSetPoint = 0,
|
||||||
MaximumChargingCurrent = 180,
|
MaximumChargingCurrent = 180,
|
||||||
MaximumDischargingCurrent = 180,
|
MaximumDischargingCurrent = 180,
|
||||||
|
OperatingPriority = EssMode.LoadPriority,
|
||||||
S3 = new()
|
S3 = new()
|
||||||
{
|
{
|
||||||
Bucket = "1-3e5b3069-214a-43ee-8d85-57d72000c19d",
|
Bucket = "1-3e5b3069-214a-43ee-8d85-57d72000c19d",
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue