Add shared test data builders and Qodana configuration

- 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
This commit is contained in:
2026-11-29 21:30:13 +02:00
parent 1152462765
commit 5777e641f6
79 changed files with 7162 additions and 3196 deletions
@@ -0,0 +1,32 @@
using BoilerMonitorManager.Interface;
using BoilerMonitorManager.Models;
namespace BoilerMonitorManager;
public class BoilerRunTimeTracker : IBoilerRunTimeTracker
{
public void RecordPollResult(bool isHeating, TimeSpan pollInterval)
{
}
public RunTimeSnapshot GetSnapshot()
{
return new RunTimeSnapshot
{
AccumulatedRunTime = TimeSpan.Zero,
SessionCount = 0,
IsInSession = false
};
}
public void Reset()
{
}
public void RestoreFromSnapshot(TimeSpan accumulatedRunTime, int sessionCount)
{
}
}