comment displaying function
This commit is contained in:
parent
445f7b6434
commit
ed5e9fe6dc
|
@ -213,24 +213,22 @@ internal static class Program
|
||||||
|
|
||||||
int nodeIndex = 2; // Starting node number
|
int nodeIndex = 2; // Starting node number
|
||||||
|
|
||||||
foreach (var batteryNodeRecord in record.Battery.Devices)
|
//foreach (var batteryNodeRecord in record.Battery.Devices)
|
||||||
{
|
//{
|
||||||
var ioStates = batteryNodeRecord.IoStates;
|
// var ioStates = batteryNodeRecord.IoStates;
|
||||||
|
|
||||||
batteryNodeRecord.FwVersion.WriteLine(" FwVersion ");
|
// batteryNodeRecord.FwVersion.WriteLine(" FwVersion ");
|
||||||
Convert.ToString(ioStates, 2).PadLeft(16, '0').WriteLine($" IoStates Battery node {nodeIndex}");
|
// Convert.ToString(ioStates, 2).PadLeft(16, '0').WriteLine($" IoStates Battery node {nodeIndex}");
|
||||||
|
|
||||||
batteryNodeRecord.Dc.Current.WriteLine($" Current Battery node {nodeIndex}");
|
// batteryNodeRecord.Dc.Current.WriteLine($" Current Battery node {nodeIndex}");
|
||||||
batteryNodeRecord.Dc.Voltage.WriteLine($" Voltage Battery node {nodeIndex}");
|
// batteryNodeRecord.Dc.Voltage.WriteLine($" Voltage Battery node {nodeIndex}");
|
||||||
|
// ("********************************************************").WriteLine();
|
||||||
("********************************************************").WriteLine();
|
// nodeIndex++;
|
||||||
|
//}
|
||||||
nodeIndex++;
|
|
||||||
}
|
|
||||||
|
|
||||||
// record.GridMeter?.ActivePowerExportT1.WriteLine("kWh Import 7008");
|
// record.GridMeter?.ActivePowerExportT1.WriteLine("kWh Import 7008");
|
||||||
// record.GridMeter?.ActivePowerImportT1.WriteLine("kWh Export 7028");
|
// record.GridMeter?.ActivePowerImportT1.WriteLine("kWh Export 7028");
|
||||||
record.GridMeter?.ActivePowerExportT2.WriteLine("Wh Import 6008");
|
// record.GridMeter?.ActivePowerExportT2.WriteLine("Wh Import 6008");
|
||||||
// record.GridMeter?.ActivePowerImportT2.WriteLine("Wh Export 6028");
|
// record.GridMeter?.ActivePowerImportT2.WriteLine("Wh Export 6028");
|
||||||
// record.GridMeter?.ActivePowerExportT3.WriteLine("Kwh Import 8004");
|
// record.GridMeter?.ActivePowerExportT3.WriteLine("Kwh Import 8004");
|
||||||
// record.GridMeter?.ActivePowerImportT3.WriteLine("kWh Export 8014");
|
// record.GridMeter?.ActivePowerImportT3.WriteLine("kWh Export 8014");
|
||||||
|
|
Loading…
Reference in New Issue