Use the Active power for display Ac Power
This commit is contained in:
parent
8a0407f538
commit
b5436e64aa
|
@ -181,7 +181,7 @@ internal static class Program
|
||||||
Console.WriteLine(" Battery " + i);
|
Console.WriteLine(" Battery " + i);
|
||||||
device.TimeSinceTOC.WriteLine(" : Value of register 54");
|
device.TimeSinceTOC.WriteLine(" : Value of register 54");
|
||||||
device.Soc.WriteLine(" : SOC");
|
device.Soc.WriteLine(" : SOC");
|
||||||
device.CalibrationChargeFlag.WriteLine(" : Calibration Charge Flag");
|
device.CalibrationChargeRequested.WriteLine(" : Calibration Charge Flag");
|
||||||
i++;
|
i++;
|
||||||
"====================".WriteLine();
|
"====================".WriteLine();
|
||||||
}
|
}
|
||||||
|
|
|
@ -256,7 +256,7 @@ public static class Topology
|
||||||
var inverterBox = status
|
var inverterBox = status
|
||||||
.AcDc
|
.AcDc
|
||||||
.Devices
|
.Devices
|
||||||
.Select(d => d.Status.Ac.Power)
|
.Select(d => d.Status.Ac.Power.Active)
|
||||||
.Apply(TextBlock.AlignLeft)
|
.Apply(TextBlock.AlignLeft)
|
||||||
.TitleBox("AC/DC");
|
.TitleBox("AC/DC");
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue