feat: migrate boiler control implementation to BoilerMonitor namespace and add budget handling logic
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user