Remove network monitoring features and related code; update GPU monitoring in dashboard for improved performance and clarity.
This commit is contained in:
@@ -24,7 +24,6 @@ namespace ResourceMonitorService.Models
|
||||
public MemoryUsage Memory { get; set; } = new();
|
||||
public GpuUsage GPU { get; set; } = new();
|
||||
public List<DiskUsage> Disks { get; set; } = new();
|
||||
public NetworkUsage Network { get; set; } = new();
|
||||
public List<ProcessInfo> TopProcesses { get; set; } = new();
|
||||
public TemperatureInfo Temperature { get; set; } = new();
|
||||
public GameInfo? RunningGame { get; set; }
|
||||
@@ -84,27 +83,6 @@ namespace ResourceMonitorService.Models
|
||||
public long WriteOperations { get; set; }
|
||||
}
|
||||
|
||||
public class NetworkUsage
|
||||
{
|
||||
public float UploadSpeed { get; set; } // MB/s
|
||||
public float DownloadSpeed { get; set; } // MB/s
|
||||
public ulong BytesSent { get; set; }
|
||||
public ulong BytesReceived { get; set; }
|
||||
public List<NetworkAdapter> Adapters { get; set; } = new();
|
||||
}
|
||||
|
||||
public class NetworkAdapter
|
||||
{
|
||||
public string Name { get; set; } = string.Empty;
|
||||
public string Description { get; set; } = string.Empty;
|
||||
public bool IsOperational { get; set; }
|
||||
public long Speed { get; set; }
|
||||
public float UploadSpeed { get; set; }
|
||||
public float DownloadSpeed { get; set; }
|
||||
public string IPAddress { get; set; } = string.Empty;
|
||||
public string MACAddress { get; set; } = string.Empty;
|
||||
}
|
||||
|
||||
public class ProcessInfo
|
||||
{
|
||||
public int ProcessId { get; set; }
|
||||
|
||||
Reference in New Issue
Block a user