diff --git a/csharp/App/SaliMax/src/Ess/StatusRecord.cs b/csharp/App/SaliMax/src/Ess/StatusRecord.cs index fde5998e1..0d0a1da63 100644 --- a/csharp/App/SaliMax/src/Ess/StatusRecord.cs +++ b/csharp/App/SaliMax/src/Ess/StatusRecord.cs @@ -25,7 +25,8 @@ 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; } -} +} \ No newline at end of file diff --git a/csharp/App/SaliMax/src/Ess/SystemLog.cs b/csharp/App/SaliMax/src/Ess/SystemLog.cs new file mode 100644 index 000000000..ea4ca0763 --- /dev/null +++ b/csharp/App/SaliMax/src/Ess/SystemLog.cs @@ -0,0 +1,8 @@ +namespace InnovEnergy.App.SaliMax.Ess; + +public record SystemLog +{ + public required String? Message { get; init; } + public required LedState Led { get; init; } + +} \ No newline at end of file