Class DigitalInputReceivedEventArgs
Provides data for the DigitalInputReceived event.
public class DigitalInputReceivedEventArgs : EventArgs
- Inheritance
-
DigitalInputReceivedEventArgs
- Inherited Members
Constructors
DigitalInputReceivedEventArgs(int, byte)
Initializes a new instance of the DigitalInputReceivedEventArgs class using the port number and port pin state received in the digital input message.
public DigitalInputReceivedEventArgs(int port, byte state)
Parameters
port
intThe number identifying the digital port (i.e. collection of 8 pins) from which the state transition event originated.
state
byteThe state of all the digital input pins in the specified port at the time the transition occurred.
Properties
Port
Gets the number identifying the digital port from which the event originated.
public int Port { get; }
Property Value
State
Gets the state of all the digital input pins in the specified port at the time the transition occurred.
public byte State { get; }