C# 클래스 OpenHardwareMonitor.Hardware.HDD.SmartAttribute

파일 보기 프로젝트 열기: pklinef/open-hardware-monitor 1 사용 예제들

공개 메소드들

메소드 설명
ConvertValue ( DriveAttributeValue value ) : float
SmartAttribute ( byte identifier, string name ) : System

Initializes a new instance of the SmartAttribute class.

SmartAttribute ( byte identifier, string name, RawValueConversion rawValueConversion ) : System

Initializes a new instance of the SmartAttribute class.

SmartAttribute ( byte identifier, string name, RawValueConversion rawValueConversion, SensorType sensorType, int sensorChannel, bool defaultHiddenSensor = false ) : System

Initializes a new instance of the SmartAttribute class.

메소드 상세

ConvertValue() 공개 메소드

public ConvertValue ( DriveAttributeValue value ) : float
value DriveAttributeValue
리턴 float

SmartAttribute() 공개 메소드

Initializes a new instance of the SmartAttribute class.
public SmartAttribute ( byte identifier, string name ) : System
identifier byte The SMART identifier of the attribute.
name string The name of the attribute.
리턴 System

SmartAttribute() 공개 메소드

Initializes a new instance of the SmartAttribute class.
public SmartAttribute ( byte identifier, string name, RawValueConversion rawValueConversion ) : System
identifier byte The SMART identifier of the attribute.
name string The name of the attribute.
rawValueConversion RawValueConversion A delegate for converting the raw byte /// array into a value (or null to use the attribute value).
리턴 System

SmartAttribute() 공개 메소드

Initializes a new instance of the SmartAttribute class.
public SmartAttribute ( byte identifier, string name, RawValueConversion rawValueConversion, SensorType sensorType, int sensorChannel, bool defaultHiddenSensor = false ) : System
identifier byte The SMART identifier of the attribute.
name string The name of the attribute.
rawValueConversion RawValueConversion A delegate for converting the raw byte /// array into a value (or null to use the attribute value).
sensorType SensorType Type of the sensor or null if no sensor is to /// be created.
sensorChannel int If there exists more than one attribute with /// the same sensor channel and type, then a sensor is created only for the /// first attribute.
defaultHiddenSensor bool True to hide the sensor initially.
리턴 System