Add System Log to the statusRecord

This commit is contained in:
atef 2023-10-04 15:19:41 +02:00
parent 649c8b37e8
commit 358b1f0ec1
2 changed files with 10 additions and 1 deletions

View File

@ -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; }

View File

@ -0,0 +1,8 @@
namespace InnovEnergy.App.SaliMax.Ess;
public record SystemLog
{
public required String? Message { get; init; }
public required LedState Led { get; init; }
}