Update naming and space
This commit is contained in:
parent
63a9df5826
commit
7be2fd1fcc
|
@ -211,25 +211,25 @@ internal static class Program
|
|||
|
||||
/******************************************** For Debug Display *************************************/
|
||||
|
||||
int nodeIndex = 2; // Starting node number
|
||||
|
||||
//foreach (var batteryNodeRecord in record.Battery.Devices)
|
||||
//{
|
||||
// var ioStates = batteryNodeRecord.IoStates;
|
||||
|
||||
// var strings = batteryNodeRecord.BatteryStrings;
|
||||
// batteryNodeRecord.FwVersion.WriteLine(" FwVersion ");
|
||||
// Convert.ToString(ioStates, 2).PadLeft(16, '0').WriteLine($" IoStates Battery node {nodeIndex}");
|
||||
|
||||
// batteryNodeRecord.Dc.Current.WriteLine($" Current Battery node {nodeIndex}");
|
||||
// batteryNodeRecord.Dc.Voltage.WriteLine($" Voltage Battery node {nodeIndex}");
|
||||
// var stringsString1Active = strings.String1Active;
|
||||
// stringsString1Active.WriteLine(" BatteryString1");
|
||||
// strings.String2Active.WriteLine(" BatteryString2");
|
||||
// strings.String3Active.WriteLine(" BatteryString3");
|
||||
// strings.String4Active.WriteLine(" BatteryString4");
|
||||
// strings.String5Active.WriteLine(" BatteryString5");
|
||||
//
|
||||
// ("********************************************************").WriteLine();
|
||||
// nodeIndex++;
|
||||
//}
|
||||
|
||||
// record.GridMeter?.ActivePowerExportT1.WriteLine("kWh Import 7008");
|
||||
// record.GridMeter?.ActivePowerImportT1.WriteLine("kWh Export 7028");
|
||||
// record.GridMeter?.ActivePowerExportT2.WriteLine("Wh Import 6008");
|
||||
// record.GridMeter?.ActivePowerImportT2.WriteLine("Wh Export 6028");
|
||||
//record.GridMeter?.ActivePowerExportT1.WriteLine("kWh Export 5910");
|
||||
//record.GridMeter?.ActivePowerImportT1.WriteLine("kWh Import 5902");
|
||||
//record.GridMeter?.ActivePowerExportT2.WriteLine("Wh Export 6008");
|
||||
//record.GridMeter?.ActivePowerImportT2.WriteLine("Wh Import 6028");
|
||||
//record.GridMeter?.ActivePowerExportT3.WriteLine("Kwh Import 8004");
|
||||
//record.GridMeter?.ActivePowerImportT3.WriteLine("kWh Export 8014");
|
||||
//record.GridMeter?.ActivePowerExportT4.WriteLine("port 5906");
|
||||
|
@ -493,7 +493,7 @@ internal static class Program
|
|||
r.AcDc.ResetAlarms();
|
||||
}
|
||||
|
||||
// This is will be used for provider throtling
|
||||
// This is will be used for provider throttling
|
||||
private static void ControlPvPower(this StatusRecord r, Int16 exportLimit = 100)
|
||||
{
|
||||
var inverters = r.AcDc.Devices;
|
||||
|
|
Loading…
Reference in New Issue