mirror of
https://github.com/openhardwaremonitor/openhardwaremonitor
synced 2025-08-31 22:35:11 +00:00
Refactored some of the hardware monitoring code and fixed a few code inspection warnings.
This commit is contained in:
@@ -52,8 +52,8 @@ namespace OpenHardwareMonitor.Hardware {
|
||||
}
|
||||
|
||||
public struct SensorValue {
|
||||
private float value;
|
||||
private DateTime time;
|
||||
private readonly float value;
|
||||
private readonly DateTime time;
|
||||
|
||||
public SensorValue(float value, DateTime time) {
|
||||
this.value = value;
|
||||
|
Reference in New Issue
Block a user