feature: In-App Simulation Runner (Backend)
CI / frontend (push) Canceled after 0s
CI / backend (push) Canceled after 8m32s

This commit is contained in:
voltsrage
2026-08-06 01:52:53 +08:00
parent 943d41339c
commit 24f45851e9
83 changed files with 3974 additions and 120 deletions
+4 -2
View File
@@ -1,4 +1,6 @@
public class ApiPoller
using VigilCare.Simulation;
public class ApiPoller : IApiPoller
{
private readonly VigilCareApiClient _client;
private readonly HashSet<Guid> _seenAlertIds = new();
@@ -20,4 +22,4 @@ public class ApiPoller
var result = new PollResult(news2, gcs, sofa, qsofa, newAlerts, bundle);
SimulatorConsole.PollResults(simTime, result);
}
}
}
+3 -1
View File
@@ -1,7 +1,9 @@
using VigilCare.Simulation;
public record PollResult(
News2Response? News2,
GcsResponse? Gcs,
SofaResponse? Sofa,
QsofaResponse? Qsofa,
IReadOnlyList<AlertResponse> NewAlerts,
SepsisBundleResponse? SepsisBundle);
SepsisBundleResponse? SepsisBundle);