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:
@@ -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)
|
||||
{
|
||||
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user