feat: migrate boiler control implementation to BoilerMonitor namespace and add budget handling logic

This commit is contained in:
Marius
2026-03-24 15:29:59 +02:00
parent c4015277a3
commit 11c2574235
61 changed files with 3250 additions and 728 deletions
@@ -1,8 +0,0 @@
using NordPoolManager.Models.Enums;
namespace NordPoolManager.Interface;
public interface IBoilerControlService
{
BoilerAction DetermineAction(bool isNowCheap, bool waterReady, string? currentSwitchState);
}
@@ -7,6 +7,4 @@ public interface ICheapestIntervalsFinder
IReadOnlyList<CheapestIntervalResult> FindCheapestIntervals(NordPoolPrice prices, int numberOfIntervals, double priceCap, DateTime deadline);
bool IsCurrentIntervalCheap(IReadOnlyList<CheapestIntervalResult> cheapestIntervals, DateTime utcNow);
bool IsWaterReady(string? switchState, double? powerWatts);
}