Click or drag to resize

DigitalInput Class

DigitalInput device class.
Inheritance Hierarchy
SystemObject
  DeviceBasis
    CrestronDevice
      PortDevice
        Crestron.SimplSharpProDigitalInput

Namespace: Crestron.SimplSharpPro
Assembly: SimplSharpPro (in SimplSharpPro.dll) Version: 2.21.121
Syntax
C#
public class DigitalInput : PortDevice

The DigitalInput type exposes the following members.

Constructors
 NameDescription
Public methodDigitalInput(Object, UInt32, CrestronDevice) Constructor used to create a new DigitalInput port on an external device.
Public methodDigitalInput(UInt32, CrestronDevice, UInt32, Object) Constructor to create a new DigitalInput port.
Top
Properties
 NameDescription
Protected propertySlotType Returns the slot type
(Overrides CrestronDevice.SlotType)
Public propertyState Returns the current state of the digital input
Top
Methods
 NameDescription
Public methodEqualsDetermines whether the specified object is equal to the current object.
(Inherited from Object)
Protected methodFinalizeAllows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object)
Public methodGetHashCodeServes as the default hash function.
(Inherited from Object)
Public methodGetTypeGets the Type of the current instance.
(Inherited from Object)
Protected methodMemberwiseCloneCreates a shallow copy of the current Object.
(Inherited from Object)
Public methodUnRegister Function to unregister the DigitalInput, if registered.
(Overrides PortDevice.UnRegister)
Top
Events
 NameDescription
Public eventStateChange State change event to notify when the digital input port's state has changed.
Top

Version Information

.NET

Supported in: 6.0

.NET Compact Framework

Supported in: 3.5
See Also