📄 cim_numericsensor.mof
字号:
// Copyright (c) 2005 DMTF. All rights reserved.// <change cr="ArchCR00066.004" type="add">Add UmlPackagePath// qualifier values to CIM Schema.</change>// ==================================================================// CIM_NumericSensor// ================================================================== [UMLPackagePath ( "CIM::Device::Sensors" ), Version ( "2.8.0" ), Description ( "A Numeric Sensor is capable of returning numeric readings and " "optionally supports thresholds settings.")]class CIM_NumericSensor : CIM_Sensor { [Description ( "The base unit of the values returned by this Sensor. All " "the values returned by this Sensor are represented in the " "units obtained by (BaseUnits * 10 raised to the power of " "the UnitModifier). For example, if BaseUnits is Volts and " "the UnitModifier is -6, then the units of the values " "returned are MicroVolts. However, if the RateUnits property " "is set to a value other than \"None\", then the units are " "further qualified as rate units. In the above example, if " "RateUnits is set to \"Per Second\", then the values " "returned by the Sensor are in MicroVolts/Second. The units " "apply to all numeric properties of the Sensor, unless " "explicitly overridden by the Units qualifier."), ValueMap { "0", "1", "2", "3", "4", "5", "6", "7", "8", "9", "10", "11", "12", "13", "14", "15", "16", "17", "18", "19", "20", "21", "22", "23", "24", "25", "26", "27", "28", "29", "30", "31", "32", "33", "34", "35", "36", "37", "38", "39", "40", "41", "42", "43", "44", "45", "46", "47", "48", "49", "50", "51", "52", "53", "54", "55", "56", "57", "58", "59", "60", "61", "62", "63", "64", "65" }, Values { "Unknown", "Other", "Degrees C", "Degrees F", "Degrees K", "Volts", "Amps", "Watts", "Joules", "Coulombs", //10 "VA", "Nits", "Lumens", "Lux", "Candelas", "kPa", "PSI", "Newtons", "CFM", "RPM", //20 "Hertz", "Seconds", "Minutes", "Hours", "Days", "Weeks", "Mils", "Inches", "Feet", "Cubic Inches", //30 "Cubic Feet", "Meters", "Cubic Centimeters", "Cubic Meters", "Liters", "Fluid Ounces", "Radians", "Steradians", "Revolutions", "Cycles", //40 "Gravities", "Ounces", "Pounds", "Foot-Pounds", "Ounce-Inches", "Gauss", "Gilberts", "Henries", "Farads", "Ohms", //50 "Siemens", "Moles", "Becquerels", "PPM (parts/million)", "Decibels", "DbA", "DbC", "Grays", "Sieverts", "Color Temperature Degrees K", //60 "Bits", "Bytes", "Words (data)", "DoubleWords", "QuadWords", "Percentage" }, ModelCorrespondence { "CIM_NumericSensor.UnitModifier", "CIM_NumericSensor.RateUnits" }] uint16 BaseUnits; [Description ( "The unit multiplier for the values returned by this Sensor. " "All the values returned by this Sensor are represented in " "the units obtained by (BaseUnits * 10 raised to the power " "of the UnitModifier). For example, if BaseUnits is Volts " "and the Unit Modifier is -6, then the units of the values " "returned are MicroVolts. However, if the RateUnits property " "is set to a value other than \"None\", then the units are " "further qualified as rate units. In the above example, if " "RateUnits is set to \"Per Second\", then the values " "returned by the Sensor are in MicroVolts/Second. The units " "apply to all numeric properties of the Sensor, unless " "explicitly overridden by the Units qualifier."), ModelCorrespondence { "CIM_NumericSensor.BaseUnits", "CIM_NumericSensor.RateUnits" }] sint32 UnitModifier; [Description ( "Specifies if the units returned by this Sensor are rate " "units. All the values returned by this Sensor are " "represented in the units obtained by (BaseUnits * 10 raised " "to the power of the UnitModifier). This is true unless this " "property (RateUnits) has a value different than \"None\". " "For example, if BaseUnits is Volts and the UnitModifier is " "-6, then the units of the values returned are MicroVolts. " "But, if the RateUnits property is set to a value other than " "\"None\", then the units are further qualified as rate " "units. In the above example, if RateUnits is set to \"Per " "Second\", then the values returned by the Sensor are in " "MicroVolts/Second. The units apply to all numeric " "properties of the Sensor, unless explicitly overridden by " "the Units qualifier. Any implementation of CurrentReading " "should be qualified with either a Counter or a Gauge " "qualifier, depending on the characteristics of the sensor " "being modeled."), ValueMap { "0", "1", "2", "3", "4", "5", "6", "7", "8", "9" }, Values { "None", "Per MicroSecond", "Per MilliSecond", "Per Second", "Per Minute", "Per Hour", "Per Day", "Per Week", "Per Month", "Per Year" }, ModelCorrespondence { "CIM_NumericSensor.UnitModifier", "CIM_NumericSensor.BaseUnits" }] uint16 RateUnits; [Description ( "The current value indicated by the Sensor."), MappingStrings { "MIF.DMTF|Temperature Probe|002.5", "MIF.DMTF|Electrical Current Probe|001.5", "MIF.DMTF|Voltage Probe|001.5" }] sint32 CurrentReading; [Description ( "NominalReading indicates the 'normal' or expected value for " "the NumericSensor."), MappingStrings { "MIF.DMTF|Temperature Probe|002.6", "MIF.DMTF|Electrical Current Probe|001.6", "MIF.DMTF|Voltage Probe|001.6" }] sint32 NominalReading; [Description ( "NormalMax provides guidance for the user as to the normal " "maximum range for the NumericSensor."), MappingStrings { "MIF.DMTF|Temperature Probe|002.7", "MIF.DMTF|Electrical Current Probe|001.7", "MIF.DMTF|Voltage Probe|001.7" }] sint32 NormalMax; [Description ( "NormalMin provides guidance for the user as to the normal " "minimum range for the NumericSensor."), MappingStrings { "MIF.DMTF|Temperature Probe|002.8", "MIF.DMTF|Electrical Current Probe|001.8", "MIF.DMTF|Voltage Probe|001.8" }] sint32 NormalMin; [Description ( "MaxReadable indicates the largest value of the measured " "property that can be read by the NumericSensor."), MappingStrings { "MIF.DMTF|Temperature Probe|002.9", "MIF.DMTF|Electrical Current Probe|001.9", "MIF.DMTF|Voltage Probe|001.9" }] sint32 MaxReadable; [Description ( "MinReadable indicates the smallest value of the measured " "property that can be read by the NumericSensor."), MappingStrings { "MIF.DMTF|Temperature Probe|002.10", "MIF.DMTF|Electrical Current Probe|001.10", "MIF.DMTF|Voltage Probe|001.10" }] sint32 MinReadable; [Description ( "Resolution indicates the ability of the Sensor to resolve " "differences in the measured property. The units for this " "measurement are determined by " "BaseUnit*UnitModifier/RateUnit."), MappingStrings { "MIF.DMTF|Temperature Probe|002.17", "MIF.DMTF|Electrical Current Probe|001.17", "MIF.DMTF|Voltage Probe|001.17" }] uint32 Resolution; [Deprecated { "CIM_NumericSensor.Resolution", "CIM_NumericSensor.Accuracy" }, Description ( "This property is being deprecated in lieu of using the " "Resolution and Accuracy properties. \n" "Indicates the tolerance of the Sensor for the measured " "property. Tolerance, along with Resolution and Accuracy, is " "used to calculate the actual value of the measured physical " "property. Tolerance may vary depending on whether the " "Device is linear over its dynamic range.")] sint32 Tolerance; [Description ( "Indicates the accuracy of the Sensor for the measured "
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -