(file) Return to Device28_Sensors.mof CVS log (file) (dir) Up to [Pegasus] / pegasus / Schemas / CIMPrelim28

   1 tony  1.1 // ===================================================================
   2           // Title:       Device Sensors and Alarms 2.8
   3           // Filename:    Device28_Sensors.mof
   4           // Version:     2.8
   5           // Release:     Preliminary
   6           // Date:        08/18/2003
   7           // ===================================================================
   8           // Copyright 1998-2003 Distributed Management Task Force, Inc. (DMTF).
   9           // All rights reserved.
  10           // DMTF is a not-for-profit association of industry members dedicated
  11           // to promoting enterprise and systems management and interoperability.
  12           // DMTF specifications and documents may be reproduced for uses
  13           // consistent with this purpose by members and non-members,
  14           // provided that correct attribution is given.
  15           // As DMTF specifications may be revised from time to time,
  16           // the particular version and release date should always be noted.
  17           // 
  18           // Implementation of certain elements of this standard or proposed
  19           // standard may be subject to third party patent rights, including
  20           // provisional patent rights (herein "patent rights"). DMTF makes
  21           // no representations to users of the standard as to the existence
  22 tony  1.1 // of such rights, and is not responsible to recognize, disclose, or
  23           // identify any or all such third party patent right, owners or
  24           // claimants, nor for any incomplete or inaccurate identification or
  25           // disclosure of such rights, owners or claimants. DMTF shall have no
  26           // liability to any party, in any manner or circumstance, under any
  27           // legal theory whatsoever, for failure to recognize, disclose, or
  28           // identify any such third party patent rights, or for such party's
  29           // reliance on the standard or incorporation thereof in its product,
  30           // protocols or testing procedures. DMTF shall have no liability to
  31           // any party implementing such standard, whether such implementation
  32           // is foreseeable or not, nor to any patent owner or claimant, and shall
  33           // have no liability or responsibility for costs or losses incurred if
  34           // a standard is withdrawn or modified after publication, and shall be
  35           // indemnified and held harmless by any party implementing the
  36           // standard from any and all claims of infringement by a patent owner
  37           // for such implementations.
  38           // 
  39           // For information about patents held by third-parties which have
  40           // notified the DMTF that, in their opinion, such patent may relate to
  41           // or impact implementations of DMTF standards, visit
  42           // http://www.dmtf.org/about/policies/disclosures.php.
  43 tony  1.1 // ===================================================================
  44           // Description: The Device Model extends the management concepts that
  45           //              are related to LogicalDevices. This file describes
  46           //              the management of sensors (including LEDs, Buzzers,
  47           //              WatchDog processors, etc.).
  48           // 
  49           //              The object classes below are listed in an order that
  50           //              avoids forward references. Required objects, defined
  51           //              by other working groups, are omitted.
  52           // ==================================================================
  53           // Change Log for v2.8 Preliminary
  54           // CR1036 - Sensor cleanup
  55           // 
  56           // Change Log for v2.7
  57           // CR621 - Promote subclassing of PackageTempSensor and PackageAlarm
  58           //         from Dependency to PackageDependency and deprecate them.
  59           // CR771 - Add the composition qualifer to CollectionOfSensors
  60           // ==================================================================
  61           
  62           #pragma locale ("en_US")
  63           
  64 tony  1.1 
  65           // ===================================================================
  66           // Sensor
  67           // ===================================================================
  68              [Abstract, Version ("2.6.0"), Description (
  69                  "A Sensor is a hardware device capable of measuring the "
  70                  "characteristics of some physical property - for example, the "
  71                  "temperature or voltage characteristics of a UnitaryComputer "
  72                  "System.") ]
  73           class CIM_Sensor : CIM_LogicalDevice {
  74           
  75                 [Description (
  76                     "The Type of the Sensor, e.g.  Voltage or Temperature "
  77                     "Sensor.  If the type is set to \"Other\", then the "
  78                     "OtherSensorType Description can be used to further identify "
  79                     "the type, or if the Sensor has numeric readings, then the "
  80                     "type of the Sensor can be implicitly determined by the "
  81                     "Units.  A description of the different Sensor types is as "
  82                     "follows: A Temperature Sensor measures the environmental "
  83                     "temperature.  Voltage and Current Sensors measure "
  84                     "electrical voltage and current readings.  A Tachometer "
  85 tony  1.1           "measures speed/revolutions of a Device.  For example, a Fan "
  86                     "Device can have an associated Tachometer which measures its "
  87                     "speed.  A Counter is a general purpose Sensor that measures "
  88                     "some numerical property of a Device.  A Counter value can "
  89                     "be cleared, but it never decreases.  A Switch Sensor has "
  90                     "states like Open/Close, On/Off, or Up/Down.  A Lock has "
  91                     "states of Locked/Unlocked.  Humidity, Smoke Detection and "
  92                     "Air Flow Sensors measure the equivalent environmental "
  93                     "characteristics.  A Presence Sensor detects the presence of "
  94                     "a PhysicalElement."), 
  95                  ValueMap {"0", "1", "2", "3", "4", "5", "6", "7", "8", "9",
  96                     "10", "11", "12"}, 
  97                  Values {"Unknown", "Other", "Temperature", "Voltage", "Current",
  98                     "Tachometer", "Counter", "Switch", "Lock", "Humidity",
  99                      "Smoke Detection", "Presence", "Air Flow"}, 
 100                  ModelCorrespondence {"CIM_Sensor.OtherSensorTypeDescription"} ]
 101              uint16 SensorType;
 102           
 103                 [Description (
 104                     "A string describing the Sensor type - used when the "
 105                     "SensorType property is set to \"Other\"."), 
 106 tony  1.1        MaxLen (128), 
 107                  ModelCorrespondence {"CIM_Sensor.SensorType"} ]
 108              string OtherSensorTypeDescription;
 109           
 110                 [Description (
 111                     "PossibleStates enumerates the string outputs of the "
 112                     "Sensor.  For example, a \"Switch\" Sensor may output the "
 113                     "states \"On\", or \"Off\".  Another implementation of the "
 114                     "Switch may output the states \"Open\", and \"Close\".  "
 115                     "Another example is a NumericSensor supporting thresholds.  "
 116                     "This Sensor can report the states like \"Normal\", \"Upper "
 117                     "Fatal\", \"Lower Non-Critical\", etc.  A NumericSensor that "
 118                     "does not publish readings and thresholds, but stores this "
 119                     "data internally, can still report its states."), 
 120                  MaxLen (128) ]
 121              string PossibleStates[];
 122           
 123                 [Description (
 124                     "The current state indicated by the Sensor.  This is always "
 125                     "one of the \"PossibleStates\"."), 
 126                  MaxLen (128) ]
 127 tony  1.1    string CurrentState;
 128           
 129                 [Description (
 130                     "The polling interval that the Sensor hardware or the "
 131                     "instrumentation uses to determine the current state of the "
 132                     "Sensor."), 
 133                  Units ("NanoSeconds") ]
 134              uint64 PollingInterval;
 135           };
 136           
 137           
 138           // ===================================================================
 139           // AssociatedSensor
 140           // ===================================================================
 141              [Association, Version ("2.6.0"), Description (
 142                  "Many Devices include Sensors or have Sensors installed nearby, "
 143                  "in order to measure critical input and output properties.  "
 144                  "This association indicates that relationship.") ]
 145           class CIM_AssociatedSensor : CIM_Dependency {
 146           
 147                 [Override ("Antecedent"), Description (
 148 tony  1.1           "The Sensor.") ]
 149              CIM_Sensor REF Antecedent;
 150           
 151                 [Override ("Dependent"), Description (
 152                     "The LogicalDevice for which information is measured by the "
 153                     "Sensor.") ]
 154              CIM_LogicalDevice REF Dependent;
 155           };
 156           
 157           
 158           // ===================================================================
 159           // BinarySensor
 160           // ===================================================================
 161              [Deprecated {"CIM_Sensor"}, Version ("2.7.1000"), Description (
 162                  "A BinarySensor provides a boolean output.  The use of this "
 163                  "class is being deprecated in lieu of creating a Sensor with "
 164                  "two PossibleStates.") ]
 165           class CIM_BinarySensor : CIM_Sensor {
 166           
 167                 [Deprecated {"CIM_Sensor.SensorType"}, Description (
 168                     "The current value indicated by the Sensor.") ]
 169 tony  1.1    boolean CurrentReading;
 170           
 171                 [Deprecated {"CIM_Sensor.SensorType"}, Description (
 172                     "ExpectedReading indicates the 'normal' value for the "
 173                     "Sensor.") ]
 174              boolean ExpectedReading;
 175           
 176                 [Deprecated {"CIM_Sensor.PossibleStates"}, Description (
 177                     "InterpretationOfTrue is a string indicating what a 'True' "
 178                     "value from the BinarySensor means.  This information could "
 179                     "be displayed to a user."), 
 180                  MaxLen (64) ]
 181              string InterpretationOfTrue;
 182           
 183                 [Deprecated {"CIM_Sensor.PossibleStates"}, Description (
 184                     "InterpretationOfFalse is a string indicating what a 'False' "
 185                     "value from the BinarySensor means.  This information could "
 186                     "be displayed to a user."), 
 187                  MaxLen (64) ]
 188              string InterpretationOfFalse;
 189           };
 190 tony  1.1 
 191           
 192           // ===================================================================
 193           // MultiStateSensor
 194           // ===================================================================
 195              [Version ("2.6.0"), Description (
 196                  "A Multi-StateSensor is a multi-member set of Sensors.") ]
 197           class CIM_MultiStateSensor : CIM_Sensor {
 198           };
 199           
 200           
 201           // ===================================================================
 202           // CollectionOfSensors
 203           // ===================================================================
 204              [Association, Aggregation, Composition, Version ("2.7.0"), 
 205               Description (
 206                  "The CollectionOfSensors association indicates the Sensors that "
 207                  "make up a MultiStateSensor.") ]
 208           class CIM_CollectionOfSensors : CIM_Component {
 209           
 210                 [Aggregate, Override ("GroupComponent"), Max (1), Description (
 211 tony  1.1           "The MultiStateSensor.") ]
 212              CIM_MultiStateSensor REF GroupComponent;
 213           
 214                 [Override ("PartComponent"), Min (2), Description (
 215                     "A Sensor that is part of the MultiStateSensor.") ]
 216              CIM_Sensor REF PartComponent;
 217           };
 218           
 219           
 220           // ===================================================================
 221           // NumericSensor
 222           // ===================================================================
 223              [Version ("2.7.1000"), Description (
 224                  "A Numeric Sensor is capable of returning numeric readings and "
 225                  "optionally supports thresholds settings.") ]
 226           class CIM_NumericSensor : CIM_Sensor {
 227           
 228                 [Description (
 229                     "The base unit of the values returned by this Sensor.  All "
 230                     "the values returned by this Sensor are represented in the "
 231                     "units obtained by (BaseUnits * 10 raised to the power of "
 232 tony  1.1           "the UnitModifier).  For example, if BaseUnits is Volts and "
 233                     "the UnitModifier is -6, then the units of the values "
 234                     "returned are MicroVolts.  However, if the RateUnits "
 235                     "property is set to a value other than \"None\", then the "
 236                     "units are further qualified as rate units.  In the above "
 237                     "example, if RateUnits is set to \"Per Second\", then the "
 238                     "values returned by the Sensor are in MicroVolts/Second.  "
 239                     "The units apply to all numeric properties of the Sensor, "
 240                     "unless explicitly overridden by the Units qualifier."), 
 241                  ValueMap {"0", "1", "2", "3", "4", "5", "6", "7", "8", "9",
 242                     "10", "11", "12", "13", "14", "15", "16", "17", "18", "19",
 243                     "20", "21", "22", "23", "24", "25", "26", "27", "28", "29",
 244                     "30", "31", "32", "33", "34", "35", "36", "37", "38", "39",
 245                     "40", "41", "42", "43", "44", "45", "46", "47", "48", "49",
 246                     "50", "51", "52", "53", "54", "55", "56", "57", "58", "59",
 247                     "60", "61", "62", "63", "64", "65"}, 
 248                  Values {"Unknown", "Other", "Degrees C", "Degrees F",
 249                     "Degrees K", "Volts", "Amps", "Watts", "Joules", "Coulombs", 
 250                  //10 
 251                     "VA", "Nits", "Lumens", "Lux", "Candelas", "kPa", "PSI",
 252                     "Newtons", "CFM", "RPM", 
 253 tony  1.1        //20 
 254                     "Hertz", "Seconds", "Minutes", "Hours", "Days", "Weeks", "Mils",
 255                     "Inches", "Feet", "Cubic Inches", 
 256                  //30 
 257                     "Cubic Feet", "Meters", "Cubic Centimeters", "Cubic Meters",
 258                     "Liters", "Fluid Ounces", "Radians", "Steradians",
 259                     "Revolutions", "Cycles", 
 260                  //40 
 261                     "Gravities", "Ounces", "Pounds", "Foot-Pounds", "Ounce-Inches",
 262                     "Gauss", "Gilberts", "Henries", "Farads", "Ohms", 
 263                  //50 
 264                     "Siemens", "Moles", "Becquerels", "PPM (parts/million)",
 265                     "Decibels", "DbA", "DbC", "Grays", "Sieverts",
 266                     "Color Temperature Degrees K", 
 267                  //60 
 268                     "Bits", "Bytes", "Words (data)", "DoubleWords", "QuadWords",
 269                     "Percentage"}, 
 270                  ModelCorrespondence {"CIM_NumericSensor.UnitModifier",
 271                     "CIM_NumericSensor.RateUnits"} ]
 272              uint16 BaseUnits;
 273           
 274 tony  1.1       [Description (
 275                     "The unit multiplier for the values returned by this "
 276                     "Sensor.  All the values returned by this Sensor are "
 277                     "represented in the units obtained by (BaseUnits * 10 raised "
 278                     "to the power of the UnitModifier).  For example, if "
 279                     "BaseUnits is Volts and the Unit Modifier is -6, then the "
 280                     "units of the values returned are MicroVolts.  However, if "
 281                     "the RateUnits property is set to a value other than "
 282                     "\"None\", then the units are further qualified as rate "
 283                     "units.  In the above example, if RateUnits is set to \"Per "
 284                     "Second\", then the values returned by the Sensor are in "
 285                     "MicroVolts/Second.  The units apply to all numeric "
 286                     "properties of the Sensor, unless explicitly overridden by "
 287                     "the Units qualifier."), 
 288                  ModelCorrespondence {"CIM_NumericSensor.BaseUnits",
 289                     "CIM_NumericSensor.RateUnits"} ]
 290              sint32 UnitModifier;
 291           
 292                 [Description (
 293                     "Specifies if the units returned by this Sensor are rate "
 294                     "units.  All the values returned by this Sensor are "
 295 tony  1.1           "represented in the units obtained by (BaseUnits * 10 raised "
 296                     "to the power of the UnitModifier).  This is true unless "
 297                     "this property (RateUnits) has a value different than "
 298                     "\"None\".  For example, if BaseUnits is Volts and the "
 299                     "UnitModifier is -6, then the units of the values returned "
 300                     "are MicroVolts.  But, if the RateUnits property is set to a "
 301                     "value other than \"None\", then the units are further "
 302                     "qualified as rate units.  In the above example, if "
 303                     "RateUnits is set to \"Per Second\", then the values "
 304                     "returned by the Sensor are in MicroVolts/Second.  The units "
 305                     "apply to all numeric properties of the Sensor, unless "
 306                     "explicitly overridden by the Units qualifier.  Any "
 307                     "implementation of CurrentReading should be qualified with "
 308                     "either a Counter or a Gauge qualifier, depending on the "
 309                     "characteristics of the sensor being modeled."), 
 310                  ValueMap {"0", "1", "2", "3", "4", "5", "6", "7", "8", "9"}, 
 311                  Values {"None", "Per MicroSecond", "Per MilliSecond",
 312                      "Per Second", "Per Minute", "Per Hour", "Per Day",
 313                      "Per Week", "Per Month", "Per Year"}, 
 314                  ModelCorrespondence {"CIM_NumericSensor.UnitModifier",
 315                     "CIM_NumericSensor.BaseUnits"} ]
 316 tony  1.1    uint16 RateUnits;
 317           
 318                 [Description (
 319                     "The current value indicated by the Sensor."), 
 320                  MappingStrings {"MIF.DMTF|Temperature Probe|002.5",
 321                     "MIF.DMTF|Electrical Current Probe|001.5",
 322                      "MIF.DMTF|Voltage Probe|001.5"} ]
 323              sint32 CurrentReading;
 324           
 325                 [Description (
 326                     "NominalReading indicates the 'normal' or expected value for "
 327                     "the NumericSensor."), 
 328                  MappingStrings {"MIF.DMTF|Temperature Probe|002.6",
 329                     "MIF.DMTF|Electrical Current Probe|001.6",
 330                     "MIF.DMTF|Voltage Probe|001.6"} ]
 331              sint32 NominalReading;
 332           
 333                 [Description (
 334                     "NormalMax provides guidance for the user as to the normal "
 335                     "maximum range for the NumericSensor."), 
 336                  MappingStrings {"MIF.DMTF|Temperature Probe|002.7",
 337 tony  1.1           "MIF.DMTF|Electrical Current Probe|001.7",
 338                      "MIF.DMTF|Voltage Probe|001.7"} ]
 339              sint32 NormalMax;
 340           
 341                 [Description (
 342                     "NormalMin provides guidance for the user as to the normal "
 343                     "minimum range for the NumericSensor."), 
 344                  MappingStrings {"MIF.DMTF|Temperature Probe|002.8",
 345                     "MIF.DMTF|Electrical Current Probe|001.8",
 346                      "MIF.DMTF|Voltage Probe|001.8"} ]
 347              sint32 NormalMin;
 348           
 349                 [Description (
 350                     "MaxReadable indicates the largest value of the measured "
 351                     "property that can be read by the NumericSensor."), 
 352                  MappingStrings {"MIF.DMTF|Temperature Probe|002.9",
 353                     "MIF.DMTF|Electrical Current Probe|001.9",
 354                     "MIF.DMTF|Voltage Probe|001.9"} ]
 355              sint32 MaxReadable;
 356           
 357                 [Description (
 358 tony  1.1           "MinReadable indicates the smallest value of the measured "
 359                     "property that can be read by the NumericSensor."), 
 360                  MappingStrings {"MIF.DMTF|Temperature Probe|002.10",
 361                     "MIF.DMTF|Electrical Current Probe|001.10",
 362                     "MIF.DMTF|Voltage Probe|001.10"} ]
 363              sint32 MinReadable;
 364           
 365                 [Description (
 366                     "Resolution indicates the ability of the Sensor to resolve "
 367                     "differences in the measured property.  The units for this "
 368                     "measurement are determined by "
 369                     "BaseUnit*UnitModifier/RateUnit."), 
 370                  MappingStrings {"MIF.DMTF|Temperature Probe|002.17",
 371                     "MIF.DMTF|Electrical Current Probe|001.17",
 372                     "MIF.DMTF|Voltage Probe|001.17"} ]
 373              uint32 Resolution;
 374           
 375                 [Deprecated {"CIM_NumericSensor.Resolution",
 376                     "CIM_NumericSensor.Accuracy"}, Description (
 377                     "This property is being deprecated in lieu of using the "
 378                     "Resolution and Accuracy properties.\n"
 379 tony  1.1           "Indicates the tolerance of the Sensor for the measured "
 380                     "property.  Tolerance, along with Resolution and Accuracy, "
 381                     "is used to calculate the actual value of the measured "
 382                     "physical property.  Tolerance may vary depending on whether "
 383                     "the Device is linear over its dynamic range.") ]
 384              sint32 Tolerance;
 385           
 386                 [Description (
 387                     "Indicates the accuracy of the Sensor for the measured "
 388                     "property.  Its value is recorded as plus/minus hundredths "
 389                     "of a percent.  Accuracy, along with Resolution, is used to "
 390                     "calculate the actual value of the measured physical "
 391                     "property.  Accuracy may vary depending on whether the "
 392                     "Device is linear over its dynamic range."), 
 393                  Units ("Hundredths of Percent"), 
 394                  MappingStrings {"MIF.DMTF|Temperature Probe|002.19",
 395                     "MIF.DMTF|Electrical Current Probe|001.19",
 396                     "MIF.DMTF|Voltage Probe|001.19"} ]
 397              sint32 Accuracy;
 398           
 399                 [Description (
 400 tony  1.1           "Indicates that the Sensor is linear over its dynamic "
 401                     "range.") ]
 402              boolean IsLinear;
 403           
 404                 [Description (
 405                     "Indicates the margin built around the thresholds.  This "
 406                     "margin prevents unnecessary state changes when the Sensor "
 407                     "reading may fluctuate very close to its thresholds.  This "
 408                     "could be due to the Sensor's tolerance/accuracy/resolution "
 409                     "or due to environmental factors.  Once a threshold is "
 410                     "crossed, the state of the Sensor should change.  However, "
 411                     "the state should not fluctuate between the old and new "
 412                     "states unless the Sensor's change in the reading exceeds "
 413                     "the hysteresis value.  The units for this measurement are "
 414                     "determined by BaseUnit*UnitModifier/RateUnit.") ]
 415              uint32 Hysteresis;
 416           
 417                 [Description (
 418                     "The Sensor's threshold values specify the ranges (min and "
 419                     "max values) for determining whether the Sensor is operating "
 420                     "under Normal, NonCritical, Critical or Fatal conditions.  "
 421 tony  1.1           "If Current Reading is between LowerThresholdNonCritical and "
 422                     "Upper ThresholdNonCritical, then the Sensor is reporting a "
 423                     "normal value.  If CurrentReading is between "
 424                     "LowerThresholdNonCritical and LowerThresholdCritical, then "
 425                     "the CurrentState is NonCritical."), 
 426                  MappingStrings {"MIF.DMTF|Temperature Probe|002.11",
 427                     "MIF.DMTF|Electrical Current Probe|001.11",
 428                     "MIF.DMTF|Voltage Probe|001.11"} ]
 429              sint32 LowerThresholdNonCritical;
 430           
 431                 [Description (
 432                     "The Sensor's threshold values specify the ranges (min and "
 433                     "max values) for determining whether the Sensor is operating "
 434                     "under Normal, NonCritical, Critical or Fatal conditions.  "
 435                     "If the CurrentReading is between LowerThresholdNonCritical "
 436                     "and UpperThresholdNonCritical, then the Sensor is reporting "
 437                     "a normal value.  If the CurrentReading is between "
 438                     "UpperThreshold NonCritical and UpperThresholdCritical, then "
 439                     "the CurrentState is NonCritical."), 
 440                  MappingStrings {"MIF.DMTF|Temperature Probe|002.12",
 441                     "MIF.DMTF|Electrical Current Probe|001.12",
 442 tony  1.1           "MIF.DMTF|Voltage Probe|001.12"} ]
 443              sint32 UpperThresholdNonCritical;
 444           
 445                 [Description (
 446                     "The Sensor's threshold values specify the ranges (min and "
 447                     "max values) for determining whether the Sensor is operating "
 448                     "under Normal, NonCritical, Critical or Fatal conditions.  "
 449                     "If the CurrentReading is between LowerThresholdCritical and "
 450                     "Lower ThresholdFatal, then the CurrentState is Critical."), 
 451                  MappingStrings {"MIF.DMTF|Temperature Probe|002.13",
 452                     "MIF.DMTF|Electrical Current Probe|001.13",
 453                     "MIF.DMTF|Voltage Probe|001.13"} ]
 454              sint32 LowerThresholdCritical;
 455           
 456                 [Description (
 457                     "The Sensor's threshold values specify the ranges (min and "
 458                     "max values) for determining whether the Sensor is operating "
 459                     "under Normal, NonCritical, Critical or Fatal conditions.  "
 460                     "If the CurrentReading is between UpperThresholdCritical and "
 461                     "Upper ThresholdFatal, then the CurrentState is Critical."), 
 462                  MappingStrings {"MIF.DMTF|Temperature Probe|002.14",
 463 tony  1.1           "MIF.DMTF|Electrical Current Probe|001.14",
 464                     "MIF.DMTF|Voltage Probe|001.14"} ]
 465              sint32 UpperThresholdCritical;
 466           
 467                 [Description (
 468                     "The Sensor's threshold values specify the ranges (min and "
 469                     "max values) for determining whether the Sensor is operating "
 470                     "under Normal, NonCritical, Critical or Fatal conditions.  "
 471                     "If the CurrentReading is below LowerThresholdFatal, then "
 472                     "the Current State is Fatal."), 
 473                  MappingStrings {"MIF.DMTF|Temperature Probe|002.15",
 474                     "MIF.DMTF|Electrical Current Probe|001.15",
 475                     "MIF.DMTF|Voltage Probe|001.15"} ]
 476              sint32 LowerThresholdFatal;
 477           
 478                 [Description (
 479                     "The Sensor's threshold values specify the ranges (min and "
 480                     "max values) for determining whether the Sensor is operating "
 481                     "under Normal, NonCritical, Critical or Fatal conditions.  "
 482                     "If the CurrentReading is above UpperThresholdFatal, then "
 483                     "the Current State is Fatal."), 
 484 tony  1.1        MappingStrings {"MIF.DMTF|Temperature Probe|002.16",
 485                     "MIF.DMTF|Electrical Current Probe|001.16",
 486                     "MIF.DMTF|Voltage Probe|001.16"} ]
 487              sint32 UpperThresholdFatal;
 488           
 489                 [Description (
 490                     "An array representing the thresholds supported by this "
 491                     "Sensor."), 
 492                  ValueMap {"0", "1", "2", "3", "4", "5"}, 
 493                  Values {"LowerThresholdNonCritical",
 494                     "UpperThresholdNonCritical", "LowerThresholdCritical",
 495                     "UpperThresholdCritical", "LowerThresholdFatal",
 496                     "UpperThresholdFatal"} ]
 497              uint16 SupportedThresholds[];
 498           
 499                 [Description (
 500                     "An array representing the thresholds that are currently "
 501                     "enabled for this Sensor."), 
 502                  ValueMap {"0", "1", "2", "3", "4", "5"}, 
 503                  Values {"LowerThresholdNonCritical",
 504                     "UpperThresholdNonCritical", "LowerThresholdCritical",
 505 tony  1.1           "UpperThresholdCritical", "LowerThresholdFatal",
 506                     "UpperThresholdFatal"} ]
 507              uint16 EnabledThresholds[];
 508           
 509                 [Description (
 510                     "An array representing the writable thresholds supported by "
 511                     "Sensor."), 
 512                  ValueMap {"0", "1", "2", "3", "4", "5"}, 
 513                  Values {"LowerThresholdNonCritical",
 514                     "UpperThresholdNonCritical", "LowerThresholdCritical",
 515                     "UpperThresholdCritical", "LowerThresholdFatal",
 516                     "UpperThresholdFatal"} ]
 517              uint16 SettableThresholds[];
 518           
 519                 [Description (
 520                     "This method resets the values of the thresholds to hardware "
 521                     "defaults.  This method returns 0 if successful, 1 if "
 522                     "unsupported and any other value if an error occurred.  In a "
 523                     "subclass, the set of possible return codes could be "
 524                     "specified, using a ValueMap qualifier on the method.  The "
 525                     "strings to which the ValueMap contents are 'translated' may "
 526 tony  1.1           "also be specified in the subclass as a Values array "
 527                     "qualifier.") ]
 528              uint32 RestoreDefaultThresholds();
 529           
 530                 [Deprecated {"No Value"}, Description (
 531                     "The use of this method is being deprecated, since Current "
 532                     "senor reading can be retrieved through the GetInstance operation.\n"
 533                     "For a non-linear Sensor, the resolution, accuracy, "
 534                     "tolerance and hysteresis vary as the current reading "
 535                     "moves.  This method can be used to get these factors for a "
 536                     "given reading.  It returns 0 if successful, 1 if "
 537                     "unsupported, and any other value if an error occurred.  In "
 538                     "a subclass, the set of possible return codes could be "
 539                     "specified, using a ValueMap qualifier on the method.  The "
 540                     "strings to which the ValueMap contents are 'translated' may "
 541                     "also be specified in the subclass as a Values array "
 542                     "qualifier.") ]
 543              uint32 GetNonLinearFactors(
 544                  [IN]
 545                  sint32 SensorReading,
 546                  [IN (false), OUT]
 547 tony  1.1        sint32 Accuracy,
 548                  [IN (false), OUT]
 549                  uint32 Resolution,
 550                  [IN (false), OUT]
 551                  sint32 Tolerance,
 552                  [IN (false), OUT]
 553                  uint32 Hysteresis);
 554           };
 555           
 556           // ===================================================================
 557           // DiscreteSensor
 558           // ===================================================================
 559              [Deprecated {"CIM_Sensor"}, Version ("2.7.1000"), Description (
 560                  "A DiscreteSensor has a set of legal string values, that it can "
 561                  "report.  These values are enumerated in the Sensor's "
 562                  "PossibleValues property.  A DiscreteSensor will always have a "
 563                  "'current reading' that corresponds to one of the enumerated values.\n"
 564                  "The use of this class is being deprecated in lieu of "
 565                  "CIM_Sensor.  Information in the CurrentReading and "
 566                  "PossibleValues properties will typically have the same values "
 567                  "and semantics as for the CurrentState and PossibleStates "
 568 tony  1.1        "properties, inherited from Sensor.") ]
 569           class CIM_DiscreteSensor : CIM_Sensor {
 570           
 571                 [Deprecated {"CIM_Sensor.CurrentState"}, Description (
 572                     "The current value indicated by the Sensor."), 
 573                  MaxLen (64) ]
 574              string CurrentReading;
 575           
 576                 [Deprecated {"CIM_Sensor.PossibleStates"}, Description (
 577                     "PossibleValues enumerates the string outputs that can be "
 578                     "reported by the DiscreteSensor."), 
 579                  MaxLen (64) ]
 580              string PossibleValues[];
 581           
 582                 [Deprecated {"No Value"}, Description (
 583                     "AcceptableValues details which of the PossibleValues "
 584                     "strings are considered 'acceptable' (ie, 'not an error')."), 
 585                  MaxLen (64) ]
 586              string AcceptableValues[];
 587           };
 588           
 589 tony  1.1 
 590           // ===================================================================
 591           // TemperatureSensor
 592           // ===================================================================
 593              [Deprecated {"CIM_NumericSensor"}, Version ("2.7.1000"), 
 594               Description (
 595                  "The use of this class is being deprecated in lieu of the "
 596                  "additions to Sensor and Numeric Sensor.  A TemperatureSensor "
 597                  "can be defined by setting the SensorType property, inherited "
 598                  "from Sensor, to 2 (\"Temperature\").") ]
 599           class CIM_TemperatureSensor : CIM_NumericSensor {
 600           
 601                 [Deprecated {"No Value"}, Override ( "SensorType") ]
 602              uint16 SensorType = 2;
 603           
 604                 [Deprecated {"No Value"}, Override ( "BaseUnits") ]
 605              uint16 BaseUnits = 2;
 606           
 607                 [Deprecated {"No Value"}, Override ( "UnitModifier") ]
 608              sint32 UnitModifier = -1;
 609           
 610 tony  1.1       [Deprecated {"No Value"}, Override ( "RateUnits") ]
 611              uint16 RateUnits = 0;
 612           
 613                 [Deprecated {"No Value"}, Override ("CurrentReading"), 
 614                  MappingStrings {"MIF.DMTF|Temperature Probe|002.5"} ]
 615              sint32 CurrentReading;
 616           
 617                 [Deprecated {"No Value"}, Override ("NominalReading"), 
 618                  MappingStrings {"MIF.DMTF|Temperature Probe|002.6"} ]
 619              sint32 NominalReading;
 620           
 621                 [Deprecated {"No Value"}, Override ("NormalMax"), 
 622                  MappingStrings {"MIF.DMTF|Temperature Probe|002.7"} ]
 623              sint32 NormalMax;
 624           
 625                 [Deprecated {"No Value"}, Override ("NormalMin"), 
 626                  MappingStrings {"MIF.DMTF|Temperature Probe|002.8"} ]
 627              sint32 NormalMin;
 628           
 629                 [Deprecated {"No Value"}, Override ("MaxReadable"), 
 630                  MappingStrings {"MIF.DMTF|Temperature Probe|002.9"} ]
 631 tony  1.1    sint32 MaxReadable;
 632           
 633                 [Deprecated {"No Value"}, Override ("MinReadable"), 
 634                  MappingStrings {"MIF.DMTF|Temperature Probe|002.10"} ]
 635              sint32 MinReadable;
 636           
 637                 [Deprecated {"No Value"}, Override ("Resolution"),
 638                  Units ("Hundredths of Degrees C"), 
 639                  MappingStrings {"MIF.DMTF|Temperature Probe|002.17"} ]
 640              uint32 Resolution;
 641           
 642                 [Deprecated {"No Value"}, Override ("Tolerance"), 
 643                  MappingStrings {"MIF.DMTF|Temperature Probe|002.18"} ]
 644              sint32 Tolerance;
 645           
 646                 [Deprecated {"No Value"}, Override ("Accuracy"), 
 647                  MappingStrings {"MIF.DMTF|Temperature Probe|002.19"} ]
 648              sint32 Accuracy;
 649           
 650                 [Deprecated {"No Value"}, Override ("LowerThresholdNonCritical"), 
 651                  MappingStrings {"MIF.DMTF|Temperature Probe|002.11"} ]
 652 tony  1.1    sint32 LowerThresholdNonCritical;
 653           
 654                 [Deprecated {"No Value"}, Override ("UpperThresholdNonCritical"), 
 655                  MappingStrings {"MIF.DMTF|Temperature Probe|002.12"} ]
 656              sint32 UpperThresholdNonCritical;
 657           
 658                 [Deprecated {"No Value"}, Override ("LowerThresholdCritical"), 
 659                  MappingStrings {"MIF.DMTF|Temperature Probe|002.13"} ]
 660              sint32 LowerThresholdCritical;
 661           
 662                 [Deprecated {"No Value"}, Override ("UpperThresholdCritical"), 
 663                  MappingStrings {"MIF.DMTF|Temperature Probe|002.14"} ]
 664              sint32 UpperThresholdCritical;
 665           
 666                 [Deprecated {"No Value"}, Override ("LowerThresholdFatal"), 
 667                  MappingStrings {"MIF.DMTF|Temperature Probe|002.15"} ]
 668              sint32 LowerThresholdFatal;
 669           
 670                 [Deprecated {"No Value"}, Override ("UpperThresholdFatal"), 
 671                  MappingStrings {"MIF.DMTF|Temperature Probe|002.16"} ]
 672              sint32 UpperThresholdFatal;
 673 tony  1.1 };
 674           
 675           // ===================================================================
 676           // CurrentSensor
 677           // ===================================================================
 678              [Deprecated {"CIM_NumericSensor"}, Version ("2.7.1000"), 
 679               Description (
 680                  "The use of this class is being deprecated in lieu of the "
 681                  "additions to Sensor and NumericSensor.  A CurrentSensor can be "
 682                  "defined by setting the SensorType property, inherited from "
 683                  "Sensor, to 4 (\"Current\").") ]
 684           class CIM_CurrentSensor : CIM_NumericSensor {
 685           
 686                 [Deprecated {"No Value"}, Override ( "SensorType") ]
 687              uint16 SensorType = 4;
 688           
 689                 [Deprecated {"No Value"}, Override ( "BaseUnits") ]
 690              uint16 BaseUnits = 6;
 691           
 692                 [Deprecated {"No Value"}, Override ( "UnitModifier") ]
 693              sint32 UnitModifier = -3;
 694 tony  1.1 
 695                 [Deprecated {"No Value"}, Override ( "RateUnits") ]
 696              uint16 RateUnits = 0;
 697           
 698                 [Deprecated {"No Value"}, Override ("CurrentReading"), 
 699                  MappingStrings {"MIF.DMTF|Electrical Current Probe|001.5"} ]
 700              sint32 CurrentReading;
 701           
 702                 [Deprecated {"No Value"}, Override ("NominalReading"), 
 703                  MappingStrings {"MIF.DMTF|Electrical Current Probe|001.6"} ]
 704              sint32 NominalReading;
 705           
 706                 [Deprecated {"No Value"}, Override ("NormalMax"), 
 707                  MappingStrings {"MIF.DMTF|Electrical Current Probe|001.7"} ]
 708              sint32 NormalMax;
 709           
 710                 [Deprecated {"No Value"}, Override ("NormalMin"), 
 711                  MappingStrings {"MIF.DMTF|Electrical Current Probe|001.8"} ]
 712              sint32 NormalMin;
 713           
 714                 [Deprecated {"No Value"}, Override ("MaxReadable"), 
 715 tony  1.1        MappingStrings {"MIF.DMTF|Electrical Current Probe|001.9"} ]
 716              sint32 MaxReadable;
 717           
 718                 [Deprecated {"No Value"}, Override ("MinReadable"), 
 719                  MappingStrings {"MIF.DMTF|Electrical Current Probe|001.10"} ]
 720              sint32 MinReadable;
 721           
 722                 [Deprecated {"No Value"}, Override ("Resolution"),
 723                     Units ("Tenths of MilliAmps"), 
 724                  MappingStrings {"MIF.DMTF|Electrical Current Probe|001.17"} ]
 725              uint32 Resolution;
 726           
 727                 [Deprecated {"No Value"}, Override ("Tolerance"), 
 728                  MappingStrings {"MIF.DMTF|Electrical Current Probe|001.18"} ]
 729              sint32 Tolerance;
 730           
 731                 [Deprecated {"No Value"}, Override ("Accuracy"), 
 732                  MappingStrings {"MIF.DMTF|Electrical Current Probe|001.19"} ]
 733              sint32 Accuracy;
 734           
 735                 [Deprecated {"No Value"}, Override ("LowerThresholdNonCritical"), 
 736 tony  1.1        MappingStrings {"MIF.DMTF|Electrical Current Probe|001.11"} ]
 737              sint32 LowerThresholdNonCritical;
 738           
 739                 [Deprecated {"No Value"}, Override ("UpperThresholdNonCritical"), 
 740                  MappingStrings {"MIF.DMTF|Electrical Current Probe|001.12"} ]
 741              sint32 UpperThresholdNonCritical;
 742           
 743                 [Deprecated {"No Value"}, Override ("LowerThresholdCritical"), 
 744                  MappingStrings {"MIF.DMTF|Electrical Current Probe|001.13"} ]
 745              sint32 LowerThresholdCritical;
 746           
 747                 [Deprecated {"No Value"}, Override ("UpperThresholdCritical"), 
 748                  MappingStrings {"MIF.DMTF|Electrical Current Probe|001.14"} ]
 749              sint32 UpperThresholdCritical;
 750           
 751                 [Deprecated {"No Value"}, Override ("LowerThresholdFatal"), 
 752                  MappingStrings {"MIF.DMTF|Electrical Current Probe|001.15"} ]
 753              sint32 LowerThresholdFatal;
 754           
 755                 [Deprecated {"No Value"}, Override ("UpperThresholdFatal"), 
 756                  MappingStrings {"MIF.DMTF|Electrical Current Probe|001.16"} ]
 757 tony  1.1    sint32 UpperThresholdFatal;
 758           };
 759           
 760           // ===================================================================
 761           // VoltageSensor
 762           // ===================================================================
 763              [Deprecated {"CIM_NumericSensor"}, Version ("2.7.1000"), 
 764               Description (
 765                  "The use of this class is being deprecated in lieu of the "
 766                  "additions to Sensor and NumericSensor.  A VoltageSensor can be "
 767                  "defined by setting the SensorType property, inherited from "
 768                  "Sensor, to 3 (\"Voltage\").") ]
 769           class CIM_VoltageSensor : CIM_NumericSensor {
 770           
 771                 [Deprecated {"No value"}, Override ( "SensorType") ]
 772              uint16 SensorType = 3;
 773           
 774                 [Deprecated {"No value"}, Override ( "BaseUnits") ]
 775              uint16 BaseUnits = 5;
 776           
 777                 [Deprecated {"No value"}, Override ( "UnitModifier") ]
 778 tony  1.1    sint32 UnitModifier = -3;
 779           
 780                 [Deprecated {"No value"}, Override ( "RateUnits") ]
 781              uint16 RateUnits = 0;
 782           
 783                 [Deprecated {"No value"}, Override ("CurrentReading"), 
 784                  MappingStrings {"MIF.DMTF|Voltage Probe|001.5"} ]
 785              sint32 CurrentReading;
 786           
 787                 [Deprecated {"No value"}, Override ("NominalReading"), 
 788                  MappingStrings {"MIF.DMTF|Voltage Probe|001.6"} ]
 789              sint32 NominalReading;
 790           
 791                 [Deprecated {"No value"}, Override ("NormalMax"), 
 792                  MappingStrings {"MIF.DMTF|Voltage Probe|001.7"} ]
 793              sint32 NormalMax;
 794           
 795                 [Deprecated {"No value"}, Override ("NormalMin"), 
 796                  MappingStrings {"MIF.DMTF|Voltage Probe|001.8"} ]
 797              sint32 NormalMin;
 798           
 799 tony  1.1       [Deprecated {"No value"}, Override ("MaxReadable"), 
 800                  MappingStrings {"MIF.DMTF|Voltage Probe|001.9"} ]
 801              sint32 MaxReadable;
 802           
 803                 [Deprecated {"No value"}, Override ("MinReadable"), 
 804                  MappingStrings {"MIF.DMTF|Voltage Probe|001.10"} ]
 805              sint32 MinReadable;
 806           
 807                 [Deprecated {"No value"}, Override ("Resolution"),
 808                     Units ("Tenths of MilliVolts"), 
 809                  MappingStrings {"MIF.DMTF|Voltage Probe|001.17"} ]
 810              uint32 Resolution;
 811           
 812                 [Deprecated {"No value"}, Override ("Tolerance"), 
 813                  MappingStrings {"MIF.DMTF|Voltage Probe|001.18"} ]
 814              sint32 Tolerance;
 815           
 816                 [Deprecated {"No value"}, Override ("Accuracy"), 
 817                  MappingStrings {"MIF.DMTF|Voltage Probe|001.19"} ]
 818              sint32 Accuracy;
 819           
 820 tony  1.1       [Deprecated {"No value"}, Override ("LowerThresholdNonCritical"), 
 821                  MappingStrings {"MIF.DMTF|Voltage Probe|001.11"} ]
 822              sint32 LowerThresholdNonCritical;
 823           
 824                 [Deprecated {"No value"}, Override ("UpperThresholdNonCritical"), 
 825                  MappingStrings {"MIF.DMTF|Voltage Probe|001.12"} ]
 826              sint32 UpperThresholdNonCritical;
 827           
 828                 [Deprecated {"No value"}, Override ("LowerThresholdCritical"), 
 829                  MappingStrings {"MIF.DMTF|Voltage Probe|001.13"} ]
 830              sint32 LowerThresholdCritical;
 831           
 832                 [Deprecated {"No value"}, Override ("UpperThresholdCritical"), 
 833                  MappingStrings {"MIF.DMTF|Voltage Probe|001.14"} ]
 834              sint32 UpperThresholdCritical;
 835           
 836                 [Deprecated {"No value"}, Override ("LowerThresholdFatal"), 
 837                  MappingStrings {"MIF.DMTF|Voltage Probe|001.15"} ]
 838              sint32 LowerThresholdFatal;
 839           
 840                 [Deprecated {"No value"}, Override ("UpperThresholdFatal"), 
 841 tony  1.1        MappingStrings {"MIF.DMTF|Voltage Probe|001.16"} ]
 842              sint32 UpperThresholdFatal;
 843           };
 844           
 845           
 846           // ===================================================================
 847           // Tachometer
 848           // ===================================================================
 849              [Deprecated {"CIM_NumericSensor"}, Version ("2.7.1000"), 
 850               Description (
 851                  "The use of this class is deprecated in lieu of the additions "
 852                  "to Sensor and NumericSensor.  A Tachometer can be defined by "
 853                  "setting the SensorType property.  inherited from Sensor, to 5 "
 854                  "(\"Tachometer\").") ]
 855           class CIM_Tachometer : CIM_NumericSensor {
 856           
 857                 [Deprecated {"No value"}, Override ( "SensorType") ]
 858              uint16 SensorType = 5;
 859           
 860                 [Deprecated {"No value"}, Override ( "BaseUnits") ]
 861              uint16 BaseUnits = 38;
 862 tony  1.1 
 863                 [Deprecated {"No value"}, Override ( "UnitModifier") ]
 864              sint32 UnitModifier = 1;
 865           
 866                 [Deprecated {"No value"}, Override ( "RateUnits") ]
 867              uint16 RateUnits = 4;
 868           
 869                 [Deprecated {"No value"}, Override ("Resolution"),
 870                     Units ("Tenths of Revolutions per Minute") ]
 871              uint32 Resolution;
 872           };
 873           
 874           // ===================================================================
 875           // AssociatedSupplyVoltageSensor
 876           // ===================================================================
 877              [Association, Deprecated {"CIM_AssociatedSensor"},
 878               Version ("2.7.1000"), Description (
 879                  "The use of this association is being deprecated in lieu of "
 880                  "using AssociatedSensor, since the use of the referenced class "
 881                  "VoltageSensor is deprecated.\n"
 882                  "A PowerSupply may have an associated VoltageSensor, monitoring "
 883 tony  1.1        "its input voltage.  This is described by this association.") ]
 884           class CIM_AssociatedSupplyVoltageSensor : CIM_AssociatedSensor {
 885           
 886                 [Deprecated { "CIM_AssociatedSensor.Antecedent"},
 887                  Override ("Antecedent"), Description (
 888                     "The VoltageSensor.") ]
 889              CIM_VoltageSensor REF Antecedent;
 890           
 891                 [Deprecated { "CIM_AssociatedSensor.Dependent"},
 892                  Override ("Dependent"), Description (
 893                     "The PowerSupply associated with the VoltageSensor.") ]
 894              CIM_PowerSupply REF Dependent;
 895           
 896                 [Deprecated {"No Value"}, Description (
 897                     "Indicates the PowerSupply's input voltage range measured by "
 898                     "the associated sensor.  Range 1, 2 or both can be specified "
 899                     "using the values 2, 3 or 4, respectively."), 
 900                  ValueMap {"0", "1", "2", "3", "4"}, 
 901                  Values {"Unknown", "Other", "Range 1", "Range 2",
 902                      "Both Range 1 and 2"} ]
 903              uint16 MonitoringRange;
 904 tony  1.1 };
 905           
 906           // ===================================================================
 907           // AssociatedSupplyCurrentSensor
 908           // ===================================================================
 909              [Association, Deprecated {"CIM_AssociatedSensor"},
 910               Version ("2.7.1000"), Description (
 911                  "The use of this association is being deprecated in lieu of "
 912                  "using AssociatedSensor, since the use of the referenced class "
 913                  "CurrentSensor is deprecated.\n"
 914                  "A PowerSupply may have an associated CurrentSensor, monitoring "
 915                  "its input frequency.  This is described by this association.") ]
 916           class CIM_AssociatedSupplyCurrentSensor : CIM_AssociatedSensor {
 917           
 918                 [Deprecated { "CIM_AssociatedSensor.Antecedent"},
 919                  Override ("Antecedent"), Description (
 920                     "The CurrentSensor.") ]
 921              CIM_CurrentSensor REF Antecedent;
 922           
 923                 [Deprecated { "CIM_AssociatedSensor.Dependent"},
 924                  Override ("Dependent"), Description (
 925 tony  1.1           "The PowerSupply associated with the CurrentSensor.") ]
 926              CIM_PowerSupply REF Dependent;
 927           
 928                 [Deprecated {"No Value"}, Description (
 929                     "Indicates the PowerSupply's input frequency range measured "
 930                     "by the associated sensor.  Range 1, 2 or both can be "
 931                     "specified using the values 2, 3 or 4, respectively."), 
 932                  ValueMap {"0", "1", "2", "3", "4"}, 
 933                  Values {"Unknown", "Other", "Range 1", "Range 2",
 934                      "Both Range 1 and 2"} ]
 935              uint16 MonitoringRange;
 936           };
 937           
 938           // ==================================================================
 939           // PackageTempSensor
 940           // ==================================================================
 941              [Association, Deprecated {"CIM_PackageDependency"},
 942               Version ("2.7.0"), Description (
 943                  "Often, a TemperatureSensor is installed in a Package such as a "
 944                  "Chassis or a Rack, not to measure any particular Device, but "
 945                  "the Package's environment in general.  The use of this "
 946 tony  1.1        "association has been deprecated.  Instead, use "
 947                  "PackageDependency to describe this relationship.") ]
 948           class CIM_PackageTempSensor : CIM_PackageDependency {
 949           
 950                 [Deprecated {"CIM_PackageDependency.Antecedent"},
 951                  Override ("Antecedent"), Description (
 952                     "The TemperatureSensor for the Package.") ]
 953              CIM_TemperatureSensor REF Antecedent;
 954           
 955                 [Deprecated {"CIM_PackageDependency.Dependent"},
 956                  Override ("Dependent"), Description (
 957                     "The PhysicalPackage whose environment is monitored.") ]
 958              CIM_PhysicalPackage REF Dependent;
 959           };
 960           
 961           
 962           // ====================================================================
 963           // AlarmDevice
 964           // ===================================================================
 965              [Version ("2.6.0"), Description (
 966                  "An AlarmDevice is a type of Device that emits audible or "
 967 tony  1.1        "visible indications related to a problem situation.") ]
 968           class CIM_AlarmDevice : CIM_LogicalDevice {
 969           
 970                 [Description (
 971                     "Boolean indicating that the Alarm is audible.") ]
 972              boolean AudibleAlarm;
 973           
 974                 [Description (
 975                     "Boolean indicating that the Alarm is visible.") ]
 976              boolean VisibleAlarm;
 977           
 978                 [Description (
 979                     "Boolean indicating that the Alarm causes motion of the "
 980                     "Device.") ]
 981              boolean MotionAlarm;
 982           
 983                 [Description (
 984                     "Urgency is an enumerated value that indicates the relative "
 985                     "frequency at which the Alarm flashes, vibrates and/or emits "
 986                     "audible tones."), 
 987                  ValueMap {"0", "1", "2", "3", "4", "5", "6"}, 
 988 tony  1.1        Values {"Unknown", "Other", "Not Supported", "Informational",
 989                     "Non-Critical", "Critical", "Unrecoverable"} ]
 990              uint16 Urgency;
 991           
 992                 [Description (
 993                     "The current state of the alarm."), 
 994                  ValueMap {"0", "1", "2", "3"}, 
 995                  Values {"Unknown", "Off", "Steady", "Alternating"} ]
 996              uint16 AlarmState;
 997           
 998                 [Description (
 999                     "True indicates that the audio of an AlarmState indicator "
1000                     "has been disabled (i.e.  muted).  A disabled state here "
1001                     "does not imply that the AlarmState is off.") ]
1002              boolean AudioIndicatorIsDisabled;
1003           
1004                 [Description (
1005                     "True indicates that the visual of an AlarmState indicator "
1006                     "has been disabled (i.e.  dimmed).  A disabled state here "
1007                     "does not imply that the AlarmState is off.") ]
1008              boolean VisualIndicatorIsDisabled;
1009 tony  1.1 
1010                 [Description (
1011                     "True indicates that the motion of an AlarmState indicator "
1012                     "has been disabled (i.e.  stopped).  A disabled state here "
1013                     "does not imply that the AlarmState is off.") ]
1014              boolean MotionIndicatorIsDisabled;
1015           
1016                 [Description (
1017                     "SetAlarmState is a method for defining the current state of "
1018                     "the Alarm.  Its input parameter, RequestedAlarmState, is "
1019                     "specified using the Values list of AlarmDevice's AlarmState "
1020                     "property.  SetAlarmState returns 0 if the request is "
1021                     "successfully implemented, 1 if the specified RequestedAlarm "
1022                     "State is not supported, and some other value if any other "
1023                     "error occurred.  In a subclass, the set of possible return "
1024                     "codes should be specified using a ValueMap qualifier on the "
1025                     "method.  The strings to which the ValueMap contents are "
1026                     "'translated' should be specified as a Values array "
1027                     "qualifier.") ]
1028              uint32 SetAlarmState (
1029                  [IN,
1030 tony  1.1        ValueMap {"0", "1", "2", "3"},
1031                  Values {"Unknown", "Off", "Steady", "Alternating"} ]
1032                  uint16 RequestedAlarmState);
1033           
1034                 [Description (
1035                     "SetAlarmIndicator is a method for enabling or disabling the "
1036                     "indicator of the AlarmState function, without changing the "
1037                     "current AlarmState.  It has 3 input parameters, Audio "
1038                     "Indicator, VisualIndicator and MotionIndicator.  For all of "
1039                     "the input parameters, a value of 0 indicates no change to "
1040                     "the AlarmState indicator, 1 indicates Disable, and 2 "
1041                     "indicates Enable.  The method returns 0 if the request is "
1042                     "successfully implemented, 1 if the specified request is not "
1043                     "supported, and some other value if any other error "
1044                     "occurred.  In a subclass, the set of possible return codes "
1045                     "should be specified using a ValueMap qualifier on the "
1046                     "method.  The strings to which the ValueMap contents are "
1047                     "'translated' should be specified as a Values array "
1048                     "qualifier.") ]
1049              uint32 SetAlarmIndicator (
1050                  [IN,
1051 tony  1.1        ValueMap {"0", "1", "2"},
1052                  Values {"No Change", "Disable", "Enable"} ]
1053                  uint16 AudioIndicator,
1054                  [IN,
1055                  ValueMap {"0", "1", "2"},
1056                  Values {"No Change", "Disable", "Enable"} ]
1057                  uint16 VisualIndicator,
1058                  [IN,
1059                  ValueMap {"0", "1", "2"},
1060                  Values {"No Change", "Disable", "Enable"} ]
1061                  uint16 MotionIndicator);
1062           
1063                 [Description (
1064                     "SetUrgency is a method for defining the desired urgency "
1065                     "level for the Alarm.  Its input parameter, "
1066                     "RequestedUrgency, is specified using the Values list of "
1067                     "AlarmDevice's Urgency property.  SetUrgency returns 0 if "
1068                     "the request is successfully implemented, 1 if the specified "
1069                     "Urgency level is not supported, and some other value if any "
1070                     "other error occurred.  In a subclass, the set of possible "
1071                     "return codes should be specified using a ValueMap qualifier "
1072 tony  1.1           "on the method.  The strings to which the ValueMap contents "
1073                     "are 'translated' should be specified as a Values array "
1074                     "qualifier.") ]
1075              uint32 SetUrgency (
1076                  [IN,
1077                  ValueMap {"1", "3", "4", "5", "6"},
1078                  Values {"Other", "Informational", "Non-Critical",
1079                  "Critical", "Unrecoverable"} ]
1080                  uint16 RequestedUrgency);
1081           };
1082           
1083           
1084           // ===================================================================
1085           // AssociatedAlarm
1086           // ===================================================================
1087              [Association, Version ("2.6.0"), Description (
1088                  "LogicalDevices may have one or more AlarmDevices associated "
1089                  "with them, in order to indicate problem situations.  This "
1090                  "relationship is indicated by the AssociatedAlarm dependency.") ]
1091           class CIM_AssociatedAlarm : CIM_Dependency {
1092           
1093 tony  1.1       [Override ("Antecedent"), Description (
1094                     "The AlarmDevice.") ]
1095              CIM_AlarmDevice REF Antecedent;
1096           
1097                 [Override ("Dependent"), Description (
1098                     "The LogicalDevice that is alarmed.") ]
1099              CIM_LogicalDevice REF Dependent;
1100           };
1101           
1102           
1103           // ==================================================================
1104           // PackageAlarm
1105           // ==================================================================
1106              [Association, Deprecated {"CIM_PackageDependency"},
1107               Version ("2.7.0"), Description (
1108                  "Often, an AlarmDevice is installed as part of a Package, not "
1109                  "to indicate issues with any particular LogicalDevice or "
1110                  "PhysicalComponent, but with the Package's environment in "
1111                  "general, its security state or its overall health.  The use of "
1112                  "this association has been deprecated.  Instead, use "
1113                  "PackageDependency to describe this relationship.") ]
1114 tony  1.1 class CIM_PackageAlarm : CIM_PackageDependency {
1115           
1116                 [Deprecated {"CIM_PackageDependency.Antecedent"},
1117                  Override ("Antecedent"), Description (
1118                     "The AlarmDevice for the Package.") ]
1119              CIM_AlarmDevice REF Antecedent;
1120           
1121                 [Deprecated {"CIM_PackageDependency.Dependent"},
1122                  Override ("Dependent"), Description (
1123                     "The PhysicalPackage whose health, security, environment, "
1124                     "etc.  is alarmed.") ]
1125              CIM_PhysicalPackage REF Dependent;
1126           };
1127           
1128           
1129           // ===================================================================
1130           // end of file
1131           // ===================================================================

No CVS admin address has been configured
Powered by
ViewCVS 0.9.2