Use the Active power for display Ac Power

This commit is contained in:
atef 2023-09-01 14:15:31 +02:00
parent 8a0407f538
commit b5436e64aa
2 changed files with 2 additions and 2 deletions

View File

@ -181,7 +181,7 @@ internal static class Program
Console.WriteLine(" Battery " + i);
device.TimeSinceTOC.WriteLine(" : Value of register 54");
device.Soc.WriteLine(" : SOC");
device.CalibrationChargeFlag.WriteLine(" : Calibration Charge Flag");
device.CalibrationChargeRequested.WriteLine(" : Calibration Charge Flag");
i++;
"====================".WriteLine();
}

View File

@ -256,7 +256,7 @@ public static class Topology
var inverterBox = status
.AcDc
.Devices
.Select(d => d.Status.Ac.Power)
.Select(d => d.Status.Ac.Power.Active)
.Apply(TextBlock.AlignLeft)
.TitleBox("AC/DC");