Sensor Members Railroad Automation Class Library

The Sensor type exposes the following members.
Constructors

  NameDescription
Public methodSensor 
Initializes a new instance of the Sensor class
Protected methodSensor(SerializationInfo, StreamingContext)
Initializes a new instance of the Sensor class
Back to Top
Methods

  NameDescription
Protected methodClone
Used internally.
(Inherited from CtcObjectBase.)
Public methodDeleteSelf (Overrides CtcObjectBase DeleteSelf .)
Public methodOnlineEquals
Determines whether the specified OnlineObject is equal to the current OnlineObject.
(Inherited from OnlineObject.)
Protected methodOnlineFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from OnlineObject.)
Public methodOnlineGetHashCode
Serves as a hash function for a particular type.
(Inherited from OnlineObject.)
Protected methodGetObjectData (Overrides CtcObjectBase GetObjectData(SerializationInfo, StreamingContext).)
Public methodOnlineGetType
Gets the OnlineType of the current instance.
(Inherited from OnlineObject.)
Protected methodInitStoredState
Used internally during deserialization.
(Inherited from CtcObjectBase.)
Protected methodOnlineMemberwiseClone
Creates a shallow copy of the current OnlineObject.
(Inherited from OnlineObject.)
Public methodNotifyObjectChanged
Raises the ObjectChangedevent for this object.
(Inherited from CtcObjectBase.)
Public methodToString (Overrides OnlineObject ToString .)
Back to Top
Fields

  NameDescription
Protected field_blnDeleted (Inherited from CtcObjectBase.)
Protected field_objParent (Inherited from CtcObjectBase.)
Protected field_objPersistedTag (Inherited from CtcObjectBase.)
Protected field_objStoredState (Inherited from CtcObjectBase.)
Protected field_sctId (Inherited from CtcObjectBase.)
Protected field_strDefaultName (Inherited from CtcObjectBase.)
Protected field_strName (Inherited from CtcObjectBase.)
Back to Top
Properties

  NameDescription
Public propertyAddress
Gets or sets the device address this sensor will respond to.
Public propertyDefaultName
Gets the default identifiable name assigned to this CTC object.
(Inherited from CtcObjectBase.)
Public propertyID
Gets the CTC object's globaly unique static identifier.
(Inherited from CtcObjectBase.)
Public propertyInputDevice
Gets or sets the input device type which determines how the packet's 12 bit address space should be decoded.
Public propertyIsDeleted
Gets an indication whether this CTC object has been flaged for deletion by DeleteSelf .
(Inherited from CtcObjectBase.)
Public propertyName
Gets or sets the identifiable name assigned to this CTC object.
(Inherited from CtcObjectBase.)
Public propertyObservePacket
Gets or sets the packet type this sensor should observe for events.
Public propertyParent
Gets the parent collection that contains this CTC object.
(Inherited from CtcObjectBase.)
Public propertyPersistedTag
Gets or sets the binary representation of an arbitrary object that provides additional data to be stored with the layout data.
(Inherited from CtcObjectBase.)
Public propertyScriptEventBinder
Public propertyState
Gets or sets the sensor's current OnOff value.
Public propertyTag
Gets or sets an arbitrary object that provides additional data but is disposed between sessions.
(Inherited from CtcObjectBase.)
Back to Top
Events

  NameDescription
Public eventStateChanged
Occurs after a phisical sensor has reported its state different than the current state of our logical sensor.
Public eventStateReported
Occurs after a phisical sensor has reported its state, regardless of the current state of our logical sensor.
Back to Top
See Also