MSAcpi_ThermalZoneTemperature

ThermalZone temperature information

Unterstützung
Unterstützt auf allen Windows-Versionen.

Namespace

Die Klasse MSAcpi_ThermalZoneTemperature stammt aus dem WMI-Namensraum root\WMI

Methoden

Die Klasse MSAcpi_ThermalZoneTemperature stellt keine Methoden zur Verfügung.

Eigenschaften

Die Klasse MSAcpi_ThermalZoneTemperature enthält die folgenden Eigenschaften:

Active
 Datentyp: boolean
Zugriff: Read-only
 
ActiveTripPoint
 Datentyp: integer/usint32
Zugriff: Read-only
 Temperature levels (in tenths of degrees Kelvin) at which the OS must activate active cooling
ActiveTripPointCount
 Datentyp: integer/usint32
Zugriff: Read-only
 Count of active trip points
CriticalTripPoint
 Datentyp: integer/usint32
Zugriff: Read-only
 Temperature (in tenths of degrees Kelvin) at which the OS must shutdown the system (ie, critical temperature)
CurrentTemperature
 Datentyp: integer/usint32
Zugriff: Read-only
 Temperature at thermal zone in tenths of degrees Kelvin
InstanceName
 Datentyp: string
Zugriff: Read-only
 
PassiveTripPoint
 Datentyp: integer/usint32
Zugriff: Read-only
 Temperature (in tenths of degrees Kelvin) at which the OS must activate CPU throttling (ie, enable passive cooling)
Reserved
 Datentyp: integer/usint32
Zugriff: Read-only
 Reserved
SamplingPeriod
 Datentyp: integer/usint32
Zugriff: Read-only
 Sampling period
ThermalConstant1
 Datentyp: integer/usint32
Zugriff: Read-only
 First thermal constant
ThermalConstant2
 Datentyp: integer/usint32
Zugriff: Read-only
 Second thermal constant
ThermalStamp
 Datentyp: integer/usint32
Zugriff: Read-only
 Thermal information change stamp


Bemerkungen

Die Klasse MSAcpi_ThermalZoneTemperature ist abgeleitet von den folgenden Klassen:

MSAcpi


Beispiele

Das folgende Beispiel zeigt, wie alle Instanzen dieser Klasse aufgelistet und ihr Inhalt angezeigt werden kann.

[VBScript]


strServer = "."

Set objWMI = GetObject("winmgmts://" & strServer & "/root\WMI")
Set objInstances = objWMI.InstancesOf("MSAcpi_ThermalZoneTemperature",48)

For Each objInstance in objInstances
   WScript.Echo objInstance.getObjectText_
Next

Das folgende Beispiel zeigt, wie die Eigenschaften dieser Klasse einzeln ausgelesen und aufgelistet werden.

[VBScript]


strServer = "."

Set objWMI = GetObject("winmgmts://" & strServer & "/root\WMI")
Set objInstances = objWMI.InstancesOf("MSAcpi_ThermalZoneTemperature",48)

On Error Resume Next
For Each objInstance in objInstances
    With objInstance
        WScript.Echo .Active
        WScript.Echo Join(.ActiveTripPoint, ", ")
        WScript.Echo .ActiveTripPointCount
        WScript.Echo .CriticalTripPoint
        WScript.Echo .CurrentTemperature
        WScript.Echo .InstanceName
        WScript.Echo .PassiveTripPoint
        WScript.Echo .Reserved
        WScript.Echo .SamplingPeriod
        WScript.Echo .ThermalConstant1
        WScript.Echo .ThermalConstant2
        WScript.Echo .ThermalStamp
    End With
On Error Goto 0
Next


Weitere Informationen:

MSDN Dokumentation