Class: WMI::Win32_PowerManagementEvent

Inherits:
Base
  • Object
show all
Defined in:
lib/Win32_PowerManagementEvent.rb

Overview

Win32_PowerManagementEvent クラスは、電源状態の変更による電源管理イベントを表します。これらの状態の変更は、アドバンスト パワー マネージメント (APM) か Advanced Configuration and Power Interface (ACPI) システム管理プロトコルのいずれかと関連付けされます。

Instance Attribute Summary (collapse)

Method Summary

Methods inherited from Base

#AddRef, #AssociatorsAsync_, #Associators_, #Clone_, #CompareTo_, #DeleteAsync_, #Delete_, #Derivation_, #ExecMethodAsync_, #ExecMethod_, #GetIDsOfNames, #GetObjectText_, #GetText_, #GetTypeInfo, #GetTypeInfoCount, #InstancesAsync_, #Instances_, #Invoke, #Methods_, #Path_, #Properties_, #PutAsync_, #Put_, #Qualifiers_, #QueryInterface, #ReferencesAsync_, #References_, #Refresh_, #Release, #Security_, #SetFromText_, #SpawnDerivedClass_, #SpawnInstance_, #SubclassesAsync_, #Subclasses_, #SystemProperties_

Instance Attribute Details

- (uint16) EventType (readonly)

EventType プロパティは、システム電源状態の変更の種類を示します。

Returns:

  • (uint16)

    EventType



7
8
9
# File 'lib/Win32_PowerManagementEvent.rb', line 7

def EventType
  @EventType
end

- (uint16) OEMEventCode (readonly)

OEMEventCode プロパティは、このクラスの EventType プロパティが "OEM Event" に設定されている場合は、相手先ブランド供給 (OEM) によって定義されたシステムの電源状態を示します。

 

Returns:

  • (uint16)

    OEMEventCode



15
16
17
# File 'lib/Win32_PowerManagementEvent.rb', line 15

def OEMEventCode
  @OEMEventCode
end