using PowerMonitorManager.Models; namespace PowerMonitorManager.Interface; public interface IPowerCostCalculationService { void RecordCosts(PowerCalculationResult calculation, double nordPoolPrice, int pollIntervalSeconds, DateTime now); CostSnapshot GetTotalCostSnapshot(); CostSnapshot GetOtherCostSnapshot(); CostSnapshot GetDeviceCostSnapshot(string entityId); IReadOnlyDictionary GetAllDeviceCostSnapshots(); double LastKnownPrice { get; } string PriceSource { get; } void SetPrice(double price); }