openhardwaremonitor/Hardware/HDD/RequireSmartAttribute.cs

27 lines
677 B
C#
Raw Permalink Normal View History

/*
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) 2011 Michael Möller <mmoeller@openhardwaremonitor.org>
*/
using System;
using System.Collections.Generic;
namespace OpenHardwareMonitor.Hardware.HDD {
[AttributeUsage(AttributeTargets.Class, AllowMultiple = true)]
internal class RequireSmartAttribute : Attribute {
public RequireSmartAttribute(byte attributeId) {
AttributeId = attributeId;
}
public byte AttributeId { get; private set; }
}
}