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:
LORDofDOOM
2018-08-26 10:51:09 +02:00
committed by Phyxion
parent f6d3338cda
commit 4ce099c5bf
17 changed files with 730 additions and 404 deletions
+4
View File
@@ -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";
}