Discard the display of Daily production
This commit is contained in:
parent
08408e61d5
commit
84f89e440a
|
@ -48,7 +48,7 @@ public class AmptDevices
|
||||||
var nStringOptimizers = cuStatus.NumberOfStringOptimizers;
|
var nStringOptimizers = cuStatus.NumberOfStringOptimizers;
|
||||||
|
|
||||||
//Factor
|
//Factor
|
||||||
var nEnergyFactor = cuStatus.EnergyScaleFactor;
|
var nEnergyFactor = cuStatus.EnergyScaleFactor;
|
||||||
var nCurrentFactor = cuStatus.CurrentScaleFactor;
|
var nCurrentFactor = cuStatus.CurrentScaleFactor;
|
||||||
var nVoltageFactor = cuStatus.VoltageScaleFactor;
|
var nVoltageFactor = cuStatus.VoltageScaleFactor;
|
||||||
|
|
||||||
|
@ -70,8 +70,6 @@ public class AmptDevices
|
||||||
var busVoltage = nStringOptimizers == 0 ? 0 : soStati.Average(r => r.Voltage);
|
var busVoltage = nStringOptimizers == 0 ? 0 : soStati.Average(r => r.Voltage);
|
||||||
var busCurrent = nStringOptimizers == 0 ? 0 : soStati.Sum (r => r.Current);
|
var busCurrent = nStringOptimizers == 0 ? 0 : soStati.Sum (r => r.Current);
|
||||||
var dailyOutputEnergy = nStringOptimizers == 0 ? 0 : soStati.Sum (r => r.ProductionToday);
|
var dailyOutputEnergy = nStringOptimizers == 0 ? 0 : soStati.Sum (r => r.ProductionToday);
|
||||||
|
|
||||||
dailyOutputEnergy.WriteLine(" Daily Production ");
|
|
||||||
|
|
||||||
var dc = new DcBus
|
var dc = new DcBus
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue