47 lines
1.5 KiB
C#
47 lines
1.5 KiB
C#
// This Source Code Form is subject to the terms of the Mozilla Public License, v. 2.0.
|
|
// If a copy of the MPL was not distributed with this file, You can obtain one at http://mozilla.org/MPL/2.0/.
|
|
// Copyright (C) LibreHardwareMonitor and Contributors.
|
|
// All Rights Reserved.
|
|
|
|
using LibreHardwareMonitor.Interop;
|
|
|
|
namespace LibreHardwareMonitor.Hardware.Storage;
|
|
|
|
public abstract class NVMeHealthInfo
|
|
{
|
|
public byte AvailableSpare { get; protected set; }
|
|
|
|
public byte AvailableSpareThreshold { get; protected set; }
|
|
|
|
public ulong ControllerBusyTime { get; protected set; }
|
|
|
|
public uint CriticalCompositeTemperatureTime { get; protected set; }
|
|
|
|
public Kernel32.NVME_CRITICAL_WARNING CriticalWarning { get; protected set; }
|
|
|
|
public ulong DataUnitRead { get; protected set; }
|
|
|
|
public ulong DataUnitWritten { get; protected set; }
|
|
|
|
public ulong ErrorInfoLogEntryCount { get; protected set; }
|
|
|
|
public ulong HostReadCommands { get; protected set; }
|
|
|
|
public ulong HostWriteCommands { get; protected set; }
|
|
|
|
public ulong MediaErrors { get; protected set; }
|
|
|
|
public byte PercentageUsed { get; protected set; }
|
|
|
|
public ulong PowerCycle { get; protected set; }
|
|
|
|
public ulong PowerOnHours { get; protected set; }
|
|
|
|
public short Temperature { get; protected set; }
|
|
|
|
public short[] TemperatureSensors { get; protected set; }
|
|
|
|
public ulong UnsafeShutdowns { get; protected set; }
|
|
|
|
public uint WarningCompositeTemperatureTime { get; protected set; }
|
|
} |