Add System Log to the statusRecord
This commit is contained in:
parent
649c8b37e8
commit
358b1f0ec1
|
@ -25,6 +25,7 @@ public record StatusRecord
|
|||
public required RelaysRecord? Relays { get; init; }
|
||||
public required AmptStatus? PvOnDc { get; init; }
|
||||
public required Config Config { get; init; }
|
||||
public required SystemLog Log { get; set; } // TODO: init only
|
||||
|
||||
public required EssControl EssControl { get; set; } // TODO: init only
|
||||
public required StateMachine StateMachine { get; init; }
|
||||
|
|
|
@ -0,0 +1,8 @@
|
|||
namespace InnovEnergy.App.SaliMax.Ess;
|
||||
|
||||
public record SystemLog
|
||||
{
|
||||
public required String? Message { get; init; }
|
||||
public required LedState Led { get; init; }
|
||||
|
||||
}
|
Loading…
Reference in New Issue