5777e641f6
- Extract per-monitor *TestData helper classes and rework tests to use them - Add boiler run-time tracker abstraction (implementation pending) - Drop unused NordPool init/update-result types and stale PLAN.md - Add qodana.yaml with the inspection set to keep the analysis focused
15 lines
747 B
C#
15 lines
747 B
C#
using PowerMonitor.Models;
|
|
using PowerMonitorManager.Models;
|
|
|
|
namespace PowerMonitorManager.Interface;
|
|
|
|
public interface IPowerMonitorEntityService
|
|
{
|
|
Task CreateSystemEntitiesAsync(CancellationToken cancellationToken = default);
|
|
Task CreateDeviceEntitiesAsync(IReadOnlyList<PowerSensorInfo> sensors, CancellationToken cancellationToken = default);
|
|
Task UpdateEntitiesAsync(PowerUpdateContext context, CancellationToken cancellationToken = default);
|
|
Task ResetEntitiesAsync(CancellationToken cancellationToken = default);
|
|
Task RemoveSystemEntitiesAsync(CancellationToken cancellationToken = default);
|
|
Task RemoveDeviceEntitiesAsync(IReadOnlyList<string> removedDeviceNames, CancellationToken cancellationToken = default);
|
|
}
|