Init
This commit is contained in:
@@ -0,0 +1,5 @@
|
||||
namespace PowerMonitorManager.Models;
|
||||
|
||||
public sealed record PowerCalculationResult(
|
||||
double OtherPower,
|
||||
double SumOfMonitored);
|
||||
@@ -0,0 +1,9 @@
|
||||
namespace PowerMonitorManager.Models;
|
||||
|
||||
public sealed record PowerUpdateContext
|
||||
{
|
||||
public required double TotalHomePower { get; init; }
|
||||
public required double TotalMonitoredPower { get; init; }
|
||||
public required double OtherPower { get; init; }
|
||||
public required int MonitoredSensorCount { get; init; }
|
||||
}
|
||||
Reference in New Issue
Block a user