add API solution

This commit is contained in:
Stanley Dimant
2022-07-17 00:04:20 +02:00
parent 0542443fba
commit af8516d44a
15 changed files with 560 additions and 0 deletions

View File

@@ -0,0 +1,19 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace MareSynchronos.API
{
public record SystemInfoDto
{
public double CpuUsage { get; set; }
public long CacheUsage { get; set; }
public int UploadedFiles { get; set; }
public double NetworkIn { get; set; }
public double NetworkOut { get; set; }
public int OnlineUsers { get; set; }
public long RAMUsage { get; set; }
}
}