Struct SensorState
- Namespace
- SenseAnywhere.Sdk.Events
- Assembly
- SenseAnywhere.Sdk.dll
Represents the state of a sensor.
public struct SensorState
- Inherited Members
Constructors
SensorState(ReedState, MotionState)
Initializes a new instance of the SensorState struct.
public SensorState(ReedState reed, MotionState motion)
Parameters
reed
ReedStateThe state of the sensor's reed switch
motion
MotionStateThe motion state of the sensor.
Properties
Motion
Gets the motion state of the sensor.
public readonly MotionState Motion { get; }
Property Value
Reed
Gets the state of the sensor's reed switch.
public readonly ReedState Reed { get; }