Class DigitalInputsTerminal
Represents a digital input terminal. For example the EL1004 https://www.beckhoff.com/en-us/products/i-o/ethercat-terminals/el1xxx-digital-input/el1004.html.
public class DigitalInputsTerminal : WCStateTerminalBase, INotifyPropertyChangedEx, INotifyPropertyChanged, ITerminal, IHasWCState, IDigitalInputsTerminal
- Inheritance
-
PropertyChangedBaseDigitalInputsTerminal
- Implements
-
INotifyPropertyChangedEx
- Derived
- Inherited Members
-
PropertyChangedBase.Refresh()PropertyChangedBase.IsNotifyingPropertyChangedBase.PropertyChanged
Constructors
DigitalInputsTerminal(ushort)
Initializes a new instance of the DigitalInputsTerminal class.
public DigitalInputsTerminal(ushort inputsCount)
Parameters
inputsCount
ushortThe count of inputs.
Exceptions
- ArgumentOutOfRangeException
Thrown when
inputsCount
is 0 (zero).
Properties
Inputs
Gets the inputs with their index as indexer.
public IReadOnlyList<DigitalInput> Inputs { get; }
Property Value
Modules
Gets the ILisrtModules from the terminal, for example input channels.
public override IEnumerable<ILisrtModule> Modules { get; }