version 1.1.2.1, 2012/01/24 13:50:07
|
version 1.1.2.2, 2012/02/15 17:46:20
|
|
|
|
// Copyright (c) 2005 DMTF. All rights reserved. |
|
// <change cr="ArchCR00066.004" type="add">Add UmlPackagePath |
|
// qualifier values to CIM Schema.</change> |
|
// ================================================================== |
|
// CIM_DiscreteSensor |
|
// ================================================================== |
|
[Deprecated { "CIM_Sensor" }, |
|
Version ( "2.8.0" ), |
|
UMLPackagePath ( "CIM::Device::Sensors" ), |
|
Description ( |
|
"A DiscreteSensor has a set of legal string values, that it can " |
|
"report. These values are enumerated in the Sensor\'s " |
|
"PossibleValues property. A DiscreteSensor will always have a " |
|
"\'current reading\' that corresponds to one of the enumerated " |
|
"values. \n" |
|
"The use of this class is being deprecated in lieu of " |
|
"CIM_Sensor. Information in the CurrentReading and " |
|
"PossibleValues properties will typically have the same values " |
|
"and semantics as for the CurrentState and PossibleStates " |
|
"properties, inherited from Sensor." )] |
|
class CIM_DiscreteSensor : CIM_Sensor { |
|
|
|
[Deprecated { "CIM_Sensor.CurrentState" }, |
|
Description ( "The current value indicated by the Sensor." ), |
|
MaxLen ( 64 )] |
|
string CurrentReading; |
|
|
|
[Deprecated { "CIM_Sensor.PossibleStates" }, |
|
Description ( |
|
"PossibleValues enumerates the string outputs that can be " |
|
"reported by the DiscreteSensor." ), |
|
MaxLen ( 64 )] |
|
string PossibleValues[]; |
|
|
|
[Deprecated { "No Value" }, |
|
Description ( |
|
"AcceptableValues details which of the PossibleValues " |
|
"strings are considered \'acceptable\' (ie, \'not an " |
|
"error\')." ), |
|
MaxLen ( 64 )] |
|
string AcceptableValues[]; |
|
|
|
|
|
}; |