Update the aggregator path for PV.
This commit is contained in:
parent
9d3fe781a1
commit
8b4d40f85e
|
|
@ -137,9 +137,9 @@ public static class Aggregator
|
|||
{
|
||||
batterySoc.Add((double)jsonObject["Battery"]["Soc"]);
|
||||
}
|
||||
if (jsonObject["PvOnDc"] != null && jsonObject["PvOnDc"]["DcWh"] != null)
|
||||
if (jsonObject["PvOnDc"] != null && jsonObject["PvOnDc"]["1"]["DcWh"] != null)
|
||||
{
|
||||
pvPowerSum.Add((double)jsonObject["PvOnDc"]["DcWh"]);
|
||||
pvPowerSum.Add((double)jsonObject["PvOnDc"]["1"]["DcWh"]);
|
||||
}
|
||||
if (jsonObject["Battery"] != null && jsonObject["Battery"]["Power"] != null)
|
||||
{
|
||||
|
|
|
|||
Loading…
Reference in New Issue