Files
HomeAssistant/BoilerMonitor.Manager/Interface/IBoilerRunTimeTracker.cs
T

12 lines
318 B
C#

using BoilerMonitorManager.Models;
namespace BoilerMonitorManager.Interface;
public interface IBoilerRunTimeTracker
{
void RecordPollResult(bool isHeating, TimeSpan pollInterval);
RunTimeSnapshot GetSnapshot();
void Reset();
void RestoreFromSnapshot(TimeSpan accumulatedRunTime, int sessionCount);
}