remove fake nullables from status record
This commit is contained in:
parent
4907654841
commit
9a400d992d
|
@ -130,15 +130,15 @@ internal static class Program
|
|||
|
||||
return new StatusRecord
|
||||
{
|
||||
AcDc = acDc ?? AcDcDevicesRecord.Null,
|
||||
DcDc = dcDc ?? DcDcDevicesRecord.Null,
|
||||
Battery = battery ?? Battery48TlRecords.Null,
|
||||
AcDc = acDc ,
|
||||
DcDc = dcDc ,
|
||||
Battery = battery ,
|
||||
Relays = relays,
|
||||
GridMeter = gridMeter,
|
||||
|
||||
PvOnAcGrid = pvOnAcGrid,
|
||||
PvOnAcIsland = pvOnAcIsland,
|
||||
PvOnDc = pvOnDc ?? AmptStatus.Null,
|
||||
PvOnDc = pvOnDc,
|
||||
|
||||
AcGridToAcIsland = new AcPowerDevice { Power = gridBusToIslandBusPower },
|
||||
LoadOnAcGrid = new AcPowerDevice { Power = loadOnAcGrid },
|
||||
|
@ -213,9 +213,6 @@ internal static class Program
|
|||
|
||||
record.Config.Save();
|
||||
|
||||
|
||||
|
||||
|
||||
"===========================================".LogInfo();
|
||||
|
||||
return record;
|
||||
|
|
Loading…
Reference in New Issue