Add Network (NIC) support (updated) (#52)
* [Core] Add Network (NIC) support - All credits to XiaofengdiZhu (https://github.com/XiaofengdiZhu/openhardwaremonitor/commits/EditeByXiaofengdizhu) * [Core] NIC: Rename InternetSpeed to Throughput, drop non physical devices (like loopback), fix alltime stats for adapter
This commit is contained in:
@@ -477,6 +477,8 @@ namespace OpenHardwareMonitor.Utilities {
|
||||
return "ram.png";
|
||||
case HardwareType.Aquacomputer:
|
||||
return "acicon.png";
|
||||
case HardwareType.NIC:
|
||||
return "nic.png";
|
||||
default:
|
||||
return "cpu.png";
|
||||
}
|
||||
@@ -504,6 +506,8 @@ namespace OpenHardwareMonitor.Utilities {
|
||||
return "level.png";
|
||||
case SensorType.Power:
|
||||
return "power.png";
|
||||
case SensorType.Throughput:
|
||||
return "internetspeed.png";
|
||||
default:
|
||||
return "power.png";
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user