5777e641f6
- Extract per-monitor *TestData helper classes and rework tests to use them - Add boiler run-time tracker abstraction (implementation pending) - Drop unused NordPool init/update-result types and stale PLAN.md - Add qodana.yaml with the inspection set to keep the analysis focused
20 lines
526 B
C#
20 lines
526 B
C#
using NordPool.Models;
|
|
|
|
namespace NordPoolManager.Interface;
|
|
|
|
public interface INordPoolPriceService
|
|
{
|
|
NordPoolPrice? TodayNordPoolPrice { get; }
|
|
NordPoolPrice? TomorrowNordPoolPrice { get; }
|
|
double CurrentPrice { get; }
|
|
int DayQuartersIndex { get; }
|
|
DateTime? LastUpdatedDate { get; }
|
|
DateOnly? LastFetchedDate { get; }
|
|
|
|
Task FetchPricesAsync();
|
|
void UpdateCurrentPrice();
|
|
double GetCurrentPrice();
|
|
bool ShouldFetchNewPrices(DateOnly today);
|
|
void RollOverPrices(DateOnly today);
|
|
}
|