init
Some checks failed
Gitea CI/CD / dotnet-build-and-test (push) Has been cancelled
Gitea CI/CD / Set Tag Name (push) Has been cancelled
Gitea CI/CD / docker-build-and-push (push) Has been cancelled
Gitea CI/CD / Create Tag (push) Has been cancelled

This commit is contained in:
2025-12-05 09:19:46 +01:00
commit e72bc48cc4
94 changed files with 75940 additions and 0 deletions

View File

@@ -0,0 +1,18 @@
namespace watcher_monitoring.Storage;
public class DashboardStore : IDashboardStore
{
public string? NetworkStatus { get; set; } = "offline";
public string? DatabaseStatus { get; set; } = "ok";
public int ServerTotalCount { get; set; } = 0;
public int ServerOnlineCount { get; set; } = 0;
public int ServerOfflineCount { get; set; } = 0;
public int ServiceTotalCount { get; set; } = 0;
public DateTime ServerUptime { get; set; }
}

View File

@@ -0,0 +1,18 @@
namespace watcher_monitoring.Storage;
public class IDashboardStore
{
public string? NetworkStatus { get; set; } = "offline";
public string? DatabaseStatus { get; set; } = "ok";
public int ServerTotalCount { get; set; } = 0;
public int ServerOnlineCount { get; set; } = 0;
public int ServerOfflineCount { get; set; } = 0;
public int ServiceTotalCount { get; set; } = 0;
public DateTime ServerUptime { get; set; }
}