Added http login, json data compression, ati.png, favicon, fixed compile error for debug build, port form updated (#256)
Thanks to @DjordjeMandic
This commit is contained in:
@@ -4,10 +4,13 @@
|
||||
// Partial Copyright (C) Michael Möller <mmoeller@openhardwaremonitor.org> and Contributors.
|
||||
// All Rights Reserved.
|
||||
|
||||
namespace LibreHardwareMonitor.Hardware.Storage
|
||||
{
|
||||
#if DEBUG
|
||||
|
||||
using System;
|
||||
using LibreHardwareMonitor.Interop;
|
||||
|
||||
namespace LibreHardwareMonitor.Hardware.Storage
|
||||
{
|
||||
internal class DebugSmart : ISmart
|
||||
{
|
||||
private readonly Drive[] _drives = {
|
||||
@@ -376,7 +379,7 @@ namespace LibreHardwareMonitor.Hardware.Storage
|
||||
|
||||
string[] lines = value.Split(new[] { '\r', '\n' }, StringSplitOptions.RemoveEmptyEntries);
|
||||
DriveAttributeValues = new Kernel32.SMART_ATTRIBUTE[lines.Length];
|
||||
var thresholds = new List<Kernel32.SMART_THRESHOLD>();
|
||||
var thresholds = new System.Collections.Generic.List<Kernel32.SMART_THRESHOLD>();
|
||||
|
||||
for (int i = 0; i < lines.Length; i++)
|
||||
{
|
||||
@@ -416,6 +419,6 @@ namespace LibreHardwareMonitor.Hardware.Storage
|
||||
public string Name { get; }
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
#endif
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user