feat(centralui): operator Alarm Summary page + per-instance snapshot fan-out (T13)
This commit is contained in:
@@ -78,6 +78,14 @@ public static class ServiceCollectionExtensions
|
||||
// connection).
|
||||
services.AddScoped<IBindingTester, BindingTester>();
|
||||
|
||||
// Operator Alarm Summary (M7 T13): read-only page that aggregates the
|
||||
// current alarms across a site's Enabled instances. The service fans out
|
||||
// one debug snapshot per instance via IInstanceSnapshotClient — a thin
|
||||
// facade over CommunicationService.RequestDebugSnapshotAsync (the same
|
||||
// single-shot Ask the Debug View uses) — and flattens the alarm states.
|
||||
services.AddScoped<IInstanceSnapshotClient, CommunicationInstanceSnapshotClient>();
|
||||
services.AddScoped<IAlarmSummaryService, AlarmSummaryService>();
|
||||
|
||||
// Roslyn-backed C# analysis for the Monaco script editor.
|
||||
// Scoped because SharedScriptCatalog wraps a scoped service.
|
||||
services.AddMemoryCache(o => o.SizeLimit = 200);
|
||||
|
||||
Reference in New Issue
Block a user