Class CIM_DiscreteSensor
extends CIM_Sensor

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. 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.

Table of Contents
Hierarchy
Direct Known Subclasses
Class Qualifiers
Class Properties
Class Methods


Class Hierarchy

CIM_ManagedElement
   |
   +--CIM_ManagedSystemElement
   |
   +--CIM_LogicalElement
   |
   +--CIM_EnabledLogicalElement
   |
   +--CIM_AllocatedLogicalElement
   |
   +--CIM_LogicalDevice
   |
   +--CIM_Sensor
   |
   +--CIM_DiscreteSensor

Direct Known Subclasses

Class Qualifiers

NameData TypeValue
DeprecatedstringCIM_Sensor
DescriptionstringA 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. 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.
UMLPackagePathstringCIM::Device::Sensors
Versionstring2.8.0

Class Properties

Local Class Properties

NameData TypeDefault ValueQualifiers
NameData TypeValue
CurrentReadingstring
DeprecatedstringCIM_Sensor.CurrentState
DescriptionstringThe current value indicated by the Sensor.
MaxLenuint3264
AcceptableValuesstring[]
DeprecatedstringNo value
DescriptionstringAcceptableValues details which of the PossibleValues strings are considered 'acceptable' (ie, 'not an error').
MaxLenuint3264
PossibleValuesstring[]
DeprecatedstringCIM_Sensor.PossibleStates
DescriptionstringPossibleValues enumerates the string outputs that can be reported by the DiscreteSensor.
MaxLenuint3264

Inherited Properties

NameData Type
AllocationStatestring
Availabilityuint16
Captionstring
CommunicationStatusuint16
CreationClassNamestring
CurrentStatestring
Descriptionstring
DetailedStatusuint16
DeviceIDstring
ElementNamestring
EnabledDefaultuint16
EnabledStateuint16
ErrorClearedboolean
ErrorDescriptionstring
Generationuint64
HealthStateuint16
InstallDatedatetime
InstanceIDstring
LastErrorCodeuint32
LocationIndicatoruint16
MaxQuiesceTimeuint64
Namestring
OperatingStatusuint16
OtherEnabledStatestring
OtherSensorTypeDescriptionstring
PollingIntervaluint64
PowerManagementSupportedboolean
PowerOnHoursuint64
PrimaryStatusuint16
RequestedStateuint16
SensorContextstring
SensorTypeuint16
Statusstring
StatusInfouint16
SystemCreationClassNamestring
SystemNamestring
TimeOfLastStateChangedatetime
TotalPowerOnHoursuint64
TransitioningToStateuint16
AdditionalAvailabilityuint16[]
AvailableRequestedStatesuint16[]
IdentifyingDescriptionsstring[]
OperationalStatusuint16[]
OtherIdentifyingInfostring[]
PossibleStatesstring[]
PowerManagementCapabilitiesuint16[]
StatusDescriptionsstring[]

Class Methods

Inherited Class Methods

NameReturn Type
EnableDeviceuint32
OnlineDeviceuint32
QuiesceDeviceuint32
RequestStateChangeuint32
Resetuint32
RestorePropertiesuint32
SavePropertiesuint32
SetPowerStateuint32