The Sensor type exposes the following members.
Back to Top
Back to Top
Back to Top
Back to Top
Back to Top
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 .) | |
| (Inherited from | ||
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from | ||
Serves as a hash function for a particular type. (Inherited from | ||
| GetObjectData | (Overrides CtcObjectBase GetObjectData(SerializationInfo, StreamingContext).) | |
Gets the (Inherited from | ||
| InitStoredState | Used internally during deserialization. (Inherited from CtcObjectBase.) | |
Creates a shallow copy of the current (Inherited from | ||
| NotifyObjectChanged | Raises the ObjectChangedevent for this object. (Inherited from CtcObjectBase.) | |
| ToString | (Overrides |
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.) | |
| 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.) | |
| ScriptEventBinder | ||
| 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. |
See Also