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
32 lines
632 B
C#
32 lines
632 B
C#
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)
|
|
{
|
|
|
|
}
|
|
} |