Apply code formatting cleanup across monitor projects
- Reindent appsettings.json and the MSBuild project files - Collapse single-statement guard blocks and tidy using and member order - Normalize XML doc indentation and file endings - Reorder BatteryMonitor test-data helpers and move the exclusion tests into their own region - Carry the same formatting through the boiler config, control, entity and test files
This commit is contained in:
@@ -4,7 +4,8 @@ namespace NordPoolManager.Interface;
|
||||
|
||||
public interface ICheapestIntervalsFinder
|
||||
{
|
||||
IReadOnlyList<CheapestIntervalResult> FindCheapestIntervals(NordPoolPrice prices, int numberOfIntervals, double priceCap, DateTime deadline);
|
||||
IReadOnlyList<CheapestIntervalResult> FindCheapestIntervals(NordPoolPrice prices, int numberOfIntervals,
|
||||
double priceCap, DateTime deadline);
|
||||
|
||||
bool IsCurrentIntervalCheap(IReadOnlyList<CheapestIntervalResult> cheapestIntervals, DateTime utcNow);
|
||||
}
|
||||
}
|
||||
@@ -3,9 +3,9 @@ using BoilerMonitor.Models;
|
||||
namespace NordPoolManager.Interface;
|
||||
|
||||
/// <summary>
|
||||
/// Supplies boiler scheduling configuration for NordPool cheapest-interval logic.
|
||||
/// Supplies boiler scheduling configuration for NordPool cheapest-interval logic.
|
||||
/// </summary>
|
||||
public interface INordPoolBoilerConfigProvider
|
||||
{
|
||||
BoilerConfig GetCurrentConfiguration();
|
||||
}
|
||||
}
|
||||
@@ -8,4 +8,4 @@ public interface INordPoolEntityService
|
||||
Task ResetEntitiesAsync(CancellationToken cancellationToken = default);
|
||||
Task UpdateEntitiesAsync(EntityUpdateContext context, CancellationToken cancellationToken = default);
|
||||
Task CleanupEntitiesAsync(CancellationToken cancellationToken = default);
|
||||
}
|
||||
}
|
||||
@@ -16,4 +16,4 @@ public interface INordPoolPriceService
|
||||
double GetCurrentPrice();
|
||||
bool ShouldFetchNewPrices(DateOnly today);
|
||||
void RollOverPrices(DateOnly today);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user