fix PowerOutageSummary and optimize ALertService structure
This commit is contained in:
@@ -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>();
|
||||
|
||||
Reference in New Issue
Block a user