fix PowerOutageSummary and optimize ALertService structure

This commit is contained in:
2026-06-01 19:26:59 +03:30
parent 40fe6e897a
commit 3f7815874a
7 changed files with 612 additions and 402 deletions

View File

@@ -38,6 +38,10 @@ public static class DependencyInjection
services.AddScoped<IAlertService, AlertService>();
services.AddScoped<IAlertConditionService, AlertConditionService>();
services.AddScoped<IAlertLogService, AlertLogService>();
services.AddScoped<AlertConditionEvaluator>();
services.AddScoped<AlertMessageBuilder>();
services.AddScoped<AlertNotificationSender>();
services.AddScoped<AlertPersistenceService>();
// Device
services.AddScoped<IDeviceService, DeviceService>();