Class EL2904
Represents a EL2904 terminal with 4 safe digital outputs.
public sealed class EL2904 : SafetyTerminal, INotifyPropertyChangedEx, INotifyPropertyChanged, ITerminal, IHasWCState, IDigitalOutputsTerminal
- Inheritance
-
PropertyChangedBaseEL2904
- Implements
-
INotifyPropertyChangedEx
- Inherited Members
-
PropertyChangedBase.Refresh()PropertyChangedBase.IsNotifyingPropertyChangedBase.PropertyChanged
Constructors
EL2904(SafetyGroup, string, bool)
Initializes a new instance of the EL2904 class.
public EL2904(SafetyGroup group, string name, bool standardOutputsActive = true)
Parameters
group
SafetyGroupTwinSAFE group the terminal belongs to.
name
stringName of the terminal.
standardOutputsActive
boolA value indicating whether the standard outputs are active. This value must match the parameter of the terminal Standard outputs active (index 8000:01).
Exceptions
- ArgumentNullException
Thrown when
group
is null.- ArgumentException
Thrown when
name
is null or empty.
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<DigitalFailSafeOutput> Outputs { get; }