13 lines
427 B
C#
13 lines
427 B
C#
using NordPool.Models;
|
|
|
|
namespace NordPoolManager.Interface;
|
|
|
|
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);
|
|
}
|