# Class CIM_BinarySensor
extends CIM_Sensor

A BinarySensor provides a boolean output. The use of this class is being deprecated in lieu of creating a Sensor with two PossibleStates.

### 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_BinarySensor

## Direct Known Subclasses

## Class Qualifiers

Name | Data Type | Value
--- | --- | ---
Deprecated | string | CIM_Sensor
Description | string | A BinarySensor provides a boolean output. The use of this class is being deprecated in lieu of creating a Sensor with two PossibleStates.
UMLPackagePath | string | CIM::Device::Sensors
Version | string | 2.8.0

## Class Properties

### Local Class Properties

Name | Data Type | Default Value | Qualifiers
--- | --- | --- | ---
Name | Data Type | Value
CurrentReading | boolean |
Deprecated | string | CIM_Sensor.SensorType
Description | string | The current value indicated by the Sensor.
ExpectedReading | boolean |
Deprecated | string | CIM_Sensor.SensorType
Description | string | ExpectedReading indicates the 'normal' value for the Sensor.
InterpretationOfFalse | string |
Deprecated | string | CIM_Sensor.PossibleStates
Description | string | InterpretationOfFalse is a string indicating what a 'False' value from the BinarySensor means. This information could be displayed to a user.
MaxLen | uint32 | 64
InterpretationOfTrue | string |
Deprecated | string | CIM_Sensor.PossibleStates
Description | string | InterpretationOfTrue is a string indicating what a 'True' value from the BinarySensor means. This information could be displayed to a user.
MaxLen | uint32 | 64

### Inherited Properties

Name | Data Type
--- | ---
AllocationState | string
Availability | uint16
Caption | string
CommunicationStatus | uint16
CreationClassName | string
CurrentState | string
Description | string
DetailedStatus | uint16
DeviceID | string
ElementName | string
EnabledDefault | uint16
EnabledState | uint16
ErrorCleared | boolean
ErrorDescription | string
Generation | uint64
HealthState | uint16
InstallDate | datetime
InstanceID | string
LastErrorCode | uint32
LocationIndicator | uint16
MaxQuiesceTime | uint64
Name | string
OperatingStatus | uint16
OtherEnabledState | string
OtherSensorTypeDescription | string
PollingInterval | uint64
PowerManagementSupported | boolean
PowerOnHours | uint64
PrimaryStatus | uint16
RequestedState | uint16
SensorContext | string
SensorType | uint16
Status | string
StatusInfo | uint16
SystemCreationClassName | string
SystemName | string
TimeOfLastStateChange | datetime
TotalPowerOnHours | uint64
TransitioningToState | uint16
AdditionalAvailability | uint16[]
AvailableRequestedStates | uint16[]
IdentifyingDescriptions | string[]
OperationalStatus | uint16[]
OtherIdentifyingInfo | string[]
PossibleStates | string[]
PowerManagementCapabilities | uint16[]
StatusDescriptions | string[]

## Class Methods

### Inherited Class Methods

Name | Return Type
--- | ---
EnableDevice | uint32
OnlineDevice | uint32
QuiesceDevice | uint32
RequestStateChange | uint32
Reset | uint32
RestoreProperties | uint32
SaveProperties | uint32
SetPowerState | uint32