feat: add PowerMonitor shared models, CostAccumulator, and entity types

Made-with: Cursor
This commit is contained in:
Marius
2026-03-17 12:46:34 +02:00
parent 6fd1af7e21
commit 47cccbfb81
6 changed files with 194 additions and 0 deletions
@@ -0,0 +1,11 @@
namespace PowerMonitorManager.Models;
public sealed class PowerCalculationResult
{
public double TotalPowerWatts { get; init; }
public double KnownDevicesSumWatts { get; init; }
public double RawOtherPowerWatts { get; init; }
public double SmoothedOtherPowerWatts { get; init; }
public string DataQuality { get; init; } = "ok";
public IReadOnlyDictionary<string, double> DevicePowerReadings { get; init; } = new Dictionary<string, double>();
}