make AmptStatus nullable in StatusRecord.cs

This commit is contained in:
ig 2023-08-25 17:16:28 +02:00
parent 728cb7aefb
commit 27a4411ebf
1 changed files with 2 additions and 2 deletions

View File

@ -23,9 +23,9 @@ public record StatusRecord
public required AcPowerDevice? AcGridToAcIsland { get; init; }
public required DcPowerDevice? LoadOnDc { get; init; }
public required RelaysRecord? Relays { get; init; }
public required AmptStatus PvOnDc { get; init; }
public required AmptStatus? PvOnDc { get; init; }
public required Config Config { get; init; }
public required EssControl EssControl { get; set; } // TODO: init only
public required StateMachine StateMachine { get; init; }
}