Fix system resourses check

This commit is contained in:
Tech Garage 2023-03-08 23:31:26 +03:30
parent 2df549cfc0
commit 0471676d10
8 changed files with 124 additions and 36 deletions

View file

@ -71,4 +71,18 @@ namespace MTWireGuard.Models.Mikrotik
public string UPTime { get; set; }
public string Version { get; set; }
}
public class SidebarInfo
{
public int RAMUsedPercentage { get; set; }
public int CPUUsedPercentage { get; set; }
public int HDDUsedPercentage { get; set; }
public string RAMUsed { get; set; }
public string HDDUsed { get; set; }
public string TotalRAM { get; set; }
public string TotalHDD { get; set; }
public string RAMBgColor { get; set; }
public string CPUBgColor { get; set; }
public string HDDBgColor { get; set; }
}
}