24729ee267
- 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
15 lines
657 B
C#
15 lines
657 B
C#
namespace BoilerMonitorManager.Models;
|
|
|
|
public record BoilerMonitorUpdateContext
|
|
{
|
|
public required TimeSpan TodayRunTime { get; init; }
|
|
public required TimeSpan RemainingTime { get; init; }
|
|
public required double BudgetPercentage { get; init; }
|
|
public required bool BudgetExhausted { get; init; }
|
|
public required int SessionCount { get; init; }
|
|
public required double BudgetHours { get; init; }
|
|
public required bool WaterReady { get; init; }
|
|
public required string? BoilerSwitchState { get; init; }
|
|
public required double? BoilerPowerWatts { get; init; }
|
|
public required DateTimeOffset? CooldownSince { get; init; }
|
|
} |