Click or drag to resize

CrestronDeviceWithEvents Class

Class that adds events for devices that require them.
Inheritance Hierarchy
SystemObject
  DeviceBasis
    CrestronDevice
      Crestron.SimplSharpProCrestronDeviceWithEvents
        More

Namespace: Crestron.SimplSharpPro
Assembly: SimplSharpPro (in SimplSharpPro.dll) Version: 2.21.121
Syntax
C#
public class CrestronDeviceWithEvents : CrestronDevice, 
	IDisposable

The CrestronDeviceWithEvents type exposes the following members.

Constructors
 NameDescription
Protected methodCrestronDeviceWithEvents(CrestronDevice) Constructor for ChildDevices
Protected methodCrestronDeviceWithEvents(CrestronControlSystem, eTLDMDeviceParentType) Constructor for base CrestronDevice Types (Ethernet, Cresnet, etc.)
Protected methodCrestronDeviceWithEvents(CrestronControlSystem, CrestronDevice, Boolean) Constructor for Child CrestronSlotDevice that might be emulating a real device
Protected methodCrestronDeviceWithEvents(CrestronControlSystem, eTLDMDeviceParentType, CrestronDevice) Constructor used by the IRInput slot
Protected methodCrestronDeviceWithEvents(UInt32, CrestronControlSystem, eSpecificClassType) Constructor used for Cresnet Device and RF devices.
Protected methodCrestronDeviceWithEvents(UInt32, CrestronDevice, eSpecificClassType) Constructor used for Cresnet and RF Devices when added to a device.
Protected methodCrestronDeviceWithEvents(UInt32, String, CrestronControlSystem) Constructor used for Ethernet Devices
Protected methodCrestronDeviceWithEvents(UInt32, Int32, String, CrestronControlSystem, eInternalDeviceType) Constructor used for Ethernet Devices
Top
Properties
 NameDescription
Public propertyBooleanInput Collection of Bool Inputs received from the device.
Public propertyBooleanOutput Collection of Bool Outputs received from the device.
Public propertyDisposed Property to indicate if the Device has been disposed.
Public propertyStringInput Collection of String Inputs sent to the device.
Public propertyStringOutput Collection of String Outputs received from the device.
Public propertyUShortInput Collection of UShort Inputs send to the device.
Public propertyUShortOutput Collection of UShort Outputs received from the device.
Top
Methods
 NameDescription
Protected methodDetermineOnSignalChangeInvocationListLength Function to return the number of delegates subscribed to the Join Change Event on the device.
Public methodDispose Clean up of resources.
Protected methodDispose(Boolean) Dispose of the device from either the parent device or the control system.
Public methodEqualsDetermines whether the specified object is equal to the current object.
(Inherited from Object)
Protected methodFinalize Finalizer code to call dispose
(Overrides ObjectFinalize)
Public methodGetHashCodeServes as the default hash function.
(Inherited from Object)
Public methodGetTypeGets the Type of the current instance.
(Inherited from Object)
Public methodLoadSmartObjects(Stream) Load a smart object given a reference to a stream for the SGD file.
Public methodLoadSmartObjects(String) Load a smart object given a SGD Filename with an absolute path.
Protected methodMemberwiseCloneCreates a shallow copy of the current Object.
(Inherited from Object)
Public methodSendPackedBooleans Method to send multiple booleans to a device. This also checks against the page join gating list in case this device supports page join gating.
Public methodSendPackedIntegers Function to send multiple integers to a device. This also checks against the page join gating list in case this device supports page join gating.
Top
Events
 NameDescription
Public eventOnlineOfflineStatusChange Online/Offline status change event.
Public eventSigChange Event triggered when sig information is received from a device. When processing this event, it will hold off other sigs from being received from the device. If one desires to continue processing the data and receive more information, launch a new thread and allow this event to exit.
Top
Fields
 NameDescription
Protected field_disposed Internal storage of the Disposed flag for this device.
Protected field_InternalDisposed Storage if the derived devices have disposed.
Top

Version Information

.NET

Supported in: 6.0

.NET Compact Framework

Supported in: 3.5
See Also
Inheritance Hierarchy