Digital |
public class DigitalInput : PortDevice
The DigitalInput type exposes the following members.
| Name | Description | |
|---|---|---|
| DigitalInput(Object, UInt32, CrestronDevice) | Constructor used to create a new DigitalInput port on an external device. | |
| DigitalInput(UInt32, CrestronDevice, UInt32, Object) | Constructor to create a new DigitalInput port. |
| Name | Description | |
|---|---|---|
| SlotType |
Returns the slot type
(Overrides CrestronDevice.SlotType) | |
| State | Returns the current state of the digital input |
| Name | Description | |
|---|---|---|
| Equals | Determines whether the specified object is equal to the current object. (Inherited from Object) | |
| Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object) | |
| GetHashCode | Serves as the default hash function. (Inherited from Object) | |
| GetType | Gets the Type of the current instance. (Inherited from Object) | |
| MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object) | |
| UnRegister |
Function to unregister the DigitalInput, if registered.
(Overrides PortDevice.UnRegister) |
| Name | Description | |
|---|---|---|
| StateChange | State change event to notify when the digital input port's state has changed. |