feat: add MaxExpectedPriceEntries constant for oversized payload warning

Made-with: Cursor
This commit is contained in:
Marius
2026-03-19 16:22:37 +02:00
parent 638c1ef6d1
commit 0f146150f7
+6
View File
@@ -9,6 +9,12 @@ public static class NordPoolConsts
/// </summary>
public const int MinutesPerInterval = 15;
/// <summary>
/// Maximum expected price entries when today and tomorrow are both available
/// (96 intervals per day x 2 days). Used for logging a warning if exceeded.
/// </summary>
public const int MaxExpectedPriceEntries = 192;
/// <summary>
/// Power threshold in watts below which the boiler is considered to have finished heating (water ready).
/// </summary>