Class: WMI::CIM_AssociatedBattery

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

Overview

論理ドライブにより、バッテリが使用または必要です。この関係は CIM_AssociatedBattery 依存関係によって説明されます。この関連付けを使用して UPS が含まれる個々のバッテリを設計することも可能です。

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

- (ref:CIM_Battery) Antecedent (readonly)

バッテリです。

Returns:

  • (ref:CIM_Battery)

    Antecedent



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

def Antecedent
  @Antecedent
end

- (ref:CIM_LogicalDevice) Dependent (readonly)

バッテリを必要とするか、またはバッテリに関連付けられた論理デバイスです。

Returns:

  • (ref:CIM_LogicalDevice)

    Dependent



12
13
14
# File 'lib/CIM_AssociatedBattery.rb', line 12

def Dependent
  @Dependent
end