summaryrefslogtreecommitdiffstats
path: root/Schemas/CIM228/DMTF/Device/CIM_DiscreteSensor.mof
diff options
context:
space:
mode:
Diffstat (limited to 'Schemas/CIM228/DMTF/Device/CIM_DiscreteSensor.mof')
-rw-r--r--Schemas/CIM228/DMTF/Device/CIM_DiscreteSensor.mof44
1 files changed, 44 insertions, 0 deletions
diff --git a/Schemas/CIM228/DMTF/Device/CIM_DiscreteSensor.mof b/Schemas/CIM228/DMTF/Device/CIM_DiscreteSensor.mof
new file mode 100644
index 0000000..f514f8f
--- /dev/null
+++ b/Schemas/CIM228/DMTF/Device/CIM_DiscreteSensor.mof
@@ -0,0 +1,44 @@
+// 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[];
+
+
+};