finish create module form

This commit is contained in:
Rene Schwarz
2021-08-09 00:26:03 +02:00
parent f8f28984a5
commit a4a944f0c6
62 changed files with 864 additions and 412 deletions

View File

@@ -4,30 +4,41 @@ using System.Collections.ObjectModel;
using System.Text;
namespace Server_Dashboard {
/// <summary>
/// Server information class, this will probably scale pretty big later on
/// This will hold all the information the socket will gather
/// </summary>
class ServerInformation {
internal class ServerInformation {
//The ServerName
public string ServerName { get; set; }
//The unix or windows username
public string OSUserName { get; set; }
//Cpu Temp in C
public string CpuTemp { get; set; }
//Gpu Temp in C
public string GpuTemp { get; set; }
//Server uptime
public string Uptime { get; set; }
//When the server was first deployed
public string DeployDate { get; set; }
//Public IPv4 Adress
public string PublicIpAdress { get; set; }
//Private IP adress from the servers network
public string PrivateIpAdress { get; set; }
//GPU usage in %
public string GpuUsage { get; set; }
//CPU usage in %
public string CpuUsage { get; set; }
}
}
}