// Copyright (c) 1997-2008 Microsoft Corporation, All Rights Reserved

#pragma autorecover
#pragma classflags(64)
#pragma namespace("\\\\.\\root\\cimv2\\power")
instance of __namespace{ name="ms_804";};
#pragma namespace("\\\\.\\root\\cimv2\\power\\ms_804")

[AMENDMENT, LOCALE(0x0804)] 
class CIM_ManagedElement
{
};

[AMENDMENT, LOCALE(0x0804)] 
class CIM_SettingData : CIM_ManagedElement
{
};

[DisplayName("电源设置") : Amended ToSubclass,Description("此类表示系统中的电源设置。") : Amended ToSubclass,AMENDMENT, LOCALE(0x0804)] 
class Win32_PowerSetting : CIM_SettingData
{
};

[DisplayName("电源设置子组") : Amended ToSubclass,Description("此类表示系统中的电源设置子组。") : Amended ToSubclass,AMENDMENT, LOCALE(0x0804)] 
class Win32_PowerSettingSubgroup : CIM_SettingData
{
};

[DisplayName("电源计划") : Amended ToSubclass,Description("此类表示系统中的电源计划") : Amended ToSubclass,AMENDMENT, LOCALE(0x0804)] 
class Win32_PowerPlan : CIM_SettingData
{
  [DisplayName("处于活动状态") : Amended ToSubclass,Description("此电源方案当前在系统上是否处于活动状态。") : Amended ToSubclass] boolean IsActive;
  [DisplayName("激活") : Amended ToSubclass,Description("在系统上将此电源方案设为活动的电源方案。") : Amended ToSubclass] boolean Activate();
};

[AMENDMENT, LOCALE(0x0804)] 
class CIM_Capabilities : CIM_ManagedElement
{
};

[DisplayName("电源设置定义") : Amended ToSubclass,Description("此类表示电源设置定义。") : Amended ToSubclass,AMENDMENT, LOCALE(0x0804)] 
class Win32_PowerSettingDefinition : CIM_Capabilities
{
};

[AMENDMENT, LOCALE(0x0804)] 
class CIM_ElementSettingData
{
  [ValueMap{"0", "1", "2"} : Amended ToSubclass] uint16 IsDefault;
  [ValueMap{"0", "1", "2"} : Amended ToSubclass] uint16 IsCurrent;
  [ValueMap{"0", "1", "2", "3"} : Amended ToSubclass] uint16 IsNext;
};

[DisplayName("电源设置数据") : Amended ToSubclass,Description("此类表示系统中的电源设置的设置数据。") : Amended ToSubclass,AMENDMENT, LOCALE(0x0804)] 
class Win32_PowerSettingDataIndex : CIM_SettingData
{
  [DisplayName("设置值") : Amended ToSubclass,Description("电源设置的设置值。该值是可写值。无论此设置是用作交流电电源设置还是直流电电源设置，此类的 InstanceID 都将进行编码。重要提示: 保存电源设置值的设置不会自动使电源设置值在系统上生效。需要执行 Win32_PowerPlan.Activate()。") : Amended ToSubclass] uint32 SettingIndexValue;
};

[Description("此类会将电源设置的设置数据与电源设置相关联。") : Amended ToSubclass,AMENDMENT, LOCALE(0x0804)] 
class Win32_PowerSettingElementSettingDataIndex : CIM_ElementSettingData
{
  [Description("电源设置。") : Amended ToSubclass] Win32_PowerSetting Ref ManagedElement;
  [Description("与电源设置关联的设置数据。") : Amended ToSubclass] Win32_PowerSettingDataIndex Ref SettingData;
  [Description("一个枚举的整数，表示系统以交流电运行时使用引用的设置。\n对于给定的 ManagedElement 以及 SettingData 子类的所有实例，最多应该有一个引用 ManagedElement 的 ElementSettingData 实例，以及一个 SettingData 子类实例，其中存在 SettingData 子类的一个指定为非 Null 的非键属性，并且引用 ElementSettingData 实例上的 IsACSetting 属性的值为 \"Is AC Setting\"。") : Amended ToSubclass,ValueMap{"0", "1", "2"} : Amended ToSubclass,Values{"未知", "AC 设置", "非 AC 设置"} : Amended ToSubclass] uint16 IsACSetting;
};

[DisplayName("电源设置定义数据") : Amended ToSubclass,Description("此类表示系统中的电源设置的设置定义数据。") : Amended ToSubclass,AMENDMENT, LOCALE(0x0804)] 
class Win32_PowerSettingDefinitionRangeData : CIM_SettingData
{
  [DisplayName("设置定义值") : Amended ToSubclass,Description("用于定义电源设置的值。此值是可读值。无论此设置是 Min/Max/Inc 还是某个可能的值，此类的 InstanceID 都将进行编码。") : Amended ToSubclass] uint32 SettingValue;
};

[DisplayName("电源设置定义数据") : Amended ToSubclass,Description("此类表示系统中的电源设置的设置定义数据。") : Amended ToSubclass,AMENDMENT, LOCALE(0x0804)] 
class Win32_PowerSettingDefinitionPossibleValue : CIM_SettingData
{
  [DisplayName("设置定义值索引") : Amended ToSubclass,Description("用于定义电源设置的值。此值是可读值。仅当电源设置被定义为可能值的列表时才使用 SettingIndex。") : Amended ToSubclass] uint32 SettingIndex;
  [DisplayName("UINT32 值") : Amended ToSubclass,Description("用于定义 UINT32 值的值。此值是可读值。") : Amended ToSubclass] uint32 UInt32Value;
  [DisplayName("UINT64 值") : Amended ToSubclass,Description("用于定义 UINT64 值的值。此值是可读值。") : Amended ToSubclass] uint64 UInt64Value;
  [DisplayName("字符串值") : Amended ToSubclass,Description("用于定义 UINT64 值的值。此值是可读值。") : Amended ToSubclass] string StringValue;
  [DisplayName("二进制数组值") : Amended ToSubclass,Description("用于定义二进制值数组的值。此值是可读值。") : Amended ToSubclass] uint8 BinaryValue[];
};

[AMENDMENT, LOCALE(0x0804)] 
class CIM_ElementCapabilities
{
  [ValueMap{"2", "3", "..", "32768..65535"} : Amended ToSubclass] uint16 Characteristics[];
};

[DisplayName("电源设置") : Amended ToSubclass,Description("此类表示系统中的电源设置。") : Amended ToSubclass,AMENDMENT, LOCALE(0x0804)] 
class Win32_PowerSettingCapabilities : CIM_ElementCapabilities
{
};

[AMENDMENT, LOCALE(0x0804)] 
class CIM_Component
{
};

[AMENDMENT, LOCALE(0x0804)] 
class CIM_SettingsDefineCapabilities : CIM_Component
{
  [ValueMap{"0", "1", ".."} : Amended ToSubclass] uint16 PropertyPolicy;
  [ValueMap{"0", "1", "2", "3", ".."} : Amended ToSubclass] uint16 ValueRole;
  [ValueMap{"0", "1", "2", "3", ".."} : Amended ToSubclass] uint16 ValueRange;
};

[Description("此类会将电源设置定义数据与电源设置定义相关联。") : Amended ToSubclass,AMENDMENT, LOCALE(0x0804)] 
class Win32_PowerSettingDefineCapabilities : CIM_SettingsDefineCapabilities
{
  [Description("电源设置定义。") : Amended ToSubclass] Win32_PowerSettingDefinition Ref GroupComponent;
};

[AMENDMENT, LOCALE(0x0804)] 
class CIM_ConcreteComponent : CIM_Component
{
};

[Description("此类会将电源设置与子组相关联。") : Amended ToSubclass,AMENDMENT, LOCALE(0x0804)] 
class Win32_PowerSettingInSubgroup : CIM_ConcreteComponent
{
  [Description("电源设置子组。") : Amended ToSubclass] Win32_PowerSettingSubgroup Ref GroupComponent;
  [Description("电源设置。") : Amended ToSubclass] Win32_PowerSetting Ref PartComponent;
};

[Description("此类会将电源设置与计划相关联。") : Amended ToSubclass,AMENDMENT, LOCALE(0x0804)] 
class Win32_PowerSettingDataIndexInPlan : CIM_ConcreteComponent
{
  [Description("电源计划。") : Amended ToSubclass] Win32_PowerPlan Ref GroupComponent;
  [Description("电源设置数据。") : Amended ToSubclass] Win32_PowerSettingDataIndex Ref PartComponent;
};
