From 0f146150f705347e37eefbd0c3c53a2a41ac1057 Mon Sep 17 00:00:00 2001 From: Marius Date: Thu, 19 Mar 2026 16:22:37 +0200 Subject: [PATCH] feat: add MaxExpectedPriceEntries constant for oversized payload warning Made-with: Cursor --- NordPool.Models/NordPoolConsts.cs | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/NordPool.Models/NordPoolConsts.cs b/NordPool.Models/NordPoolConsts.cs index 0e8ffcd..b163d1e 100644 --- a/NordPool.Models/NordPoolConsts.cs +++ b/NordPool.Models/NordPoolConsts.cs @@ -9,6 +9,12 @@ public static class NordPoolConsts /// public const int MinutesPerInterval = 15; + /// + /// 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. + /// + public const int MaxExpectedPriceEntries = 192; + /// /// Power threshold in watts below which the boiler is considered to have finished heating (water ready). ///