Class DigitalOutputsTerminal
Represents a digital output terminal.
public class DigitalOutputsTerminal : WCStateTerminalBase, INotifyPropertyChangedEx, INotifyPropertyChanged, ITerminal, IHasWCState, IDigitalOutputsTerminal
- Inheritance
-
PropertyChangedBaseDigitalOutputsTerminal
- Implements
-
INotifyPropertyChangedEx
- Derived
- Inherited Members
-
PropertyChangedBase.Refresh()PropertyChangedBase.IsNotifyingPropertyChangedBase.PropertyChanged
Constructors
DigitalOutputsTerminal(ushort)
Initializes a new instance of the DigitalOutputsTerminal class.
public DigitalOutputsTerminal(ushort outputsCount)
Parameters
outputsCount
ushortThe count of the outputs.
Exceptions
- ArgumentOutOfRangeException
Thrown when
outputsCount
is 0 (zero).
Properties
Modules
Gets the ILisrtModules from the terminal, for example input channels.
public override IEnumerable<ILisrtModule> Modules { get; }
Property Value
Outputs
Gets the outputs with their index as indexer.
public IReadOnlyList<DigitalOutput> Outputs { get; }