The Sensor type exposes the following members.
Constructors
| Name | Description | |
|---|---|---|
|
|
Sensor()()()() |
Initializes a new instance of the Sensor class
|
|
|
Sensor(SerializationInfo, StreamingContext) |
Initializes a new instance of the Sensor class
|
Methods
| Name | Description | |
|---|---|---|
|
|
Clone |
Used internally. (Inherited from CtcObjectBase.) |
|
|
DeleteSelf | (Overrides CtcObjectBase..::..DeleteSelf()()()().) |
|
|
Equals | (Inherited from Object.) |
|
|
Finalize |
Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
(Inherited from Object.) |
|
|
GetHashCode |
Serves as a hash function for a particular type.
(Inherited from Object.) |
|
|
GetObjectData | (Overrides CtcObjectBase..::..GetObjectData(SerializationInfo, StreamingContext).) |
|
|
GetType |
Gets the Type of the current instance.
(Inherited from Object.) |
|
|
InitStoredState |
Used internally during deserialization. (Inherited from CtcObjectBase.) |
|
|
MemberwiseClone |
Creates a shallow copy of the current Object.
(Inherited from Object.) |
|
|
NotifyObjectChange |
Raises the ObjectChangedevent for this object. (Inherited from CtcObjectBase.) |
|
|
ToString | (Overrides Object..::..ToString()()()().) |
Fields
| Name | Description | |
|---|---|---|
|
|
_blnDeleted | (Inherited from CtcObjectBase.) |
|
|
_objParent | (Inherited from CtcObjectBase.) |
|
|
_objPersistedTag | (Inherited from CtcObjectBase.) |
|
|
_objStoredState | (Inherited from CtcObjectBase.) |
|
|
_sctId | (Inherited from CtcObjectBase.) |
|
|
_strDefaultName | (Inherited from CtcObjectBase.) |
|
|
_strName | (Inherited from CtcObjectBase.) |
Properties
| Name | Description | |
|---|---|---|
|
|
Address |
Gets or sets the device address this sensor will respond to.
|
|
|
DefaultName |
Gets the default identifiable name assigned to this CTC object. (Inherited from CtcObjectBase.) |
|
|
DynamicScriptBinder | |
|
|
ID |
Gets the CTC object's globaly unique static identifier. (Inherited from CtcObjectBase.) |
|
|
InputDevice |
Gets or sets the input device type which determines how the packet's 12 bit address space should be decoded.
|
|
|
IsDeleted |
Gets an indication whether this CTC object has been flaged for deletion by DeleteSelf()()()(). (Inherited from CtcObjectBase.) |
|
|
Name |
Gets or sets the identifiable name assigned to this CTC object. (Inherited from CtcObjectBase.) |
|
|
ObservePacket |
Gets or sets the packet type this sensor should observe for events.
|
|
|
Parent |
Gets the parent collection that contains this CTC object. (Inherited from CtcObjectBase.) |
|
|
PersistedTag |
Gets or sets the binary representation of an arbitrary object that provides additional data to be stored with the layout data. (Inherited from CtcObjectBase.) |
|
|
State |
Gets or sets the sensor's current OnOff value.
|
|
|
Tag |
Gets or sets an arbitrary object that provides additional data but is disposed between sessions. (Inherited from CtcObjectBase.) |
Events
| Name | Description | |
|---|---|---|
|
|
StateChanged |
Occurs after a phisical sensor has reported its state different than the current state of our logical sensor.
|
|
|
StateReported |
Occurs after a phisical sensor has reported its state, regardless of the current state of our logical sensor.
|