Class BooleanOutputAlias
Represents a boolean output alias (name in TwinSAFE "1 Digital Output (Standard)").
public sealed class BooleanOutputAlias : SafetyGroupAliasBase, INotifyPropertyChangedEx, INotifyPropertyChanged
- Inheritance
-
PropertyChangedBaseBooleanOutputAlias
- Implements
-
INotifyPropertyChangedEx
- Inherited Members
-
PropertyChangedBase.Refresh()PropertyChangedBase.IsNotifyingPropertyChangedBase.PropertyChanged
Constructors
BooleanOutputAlias(string, SafetyGroup)
Initializes a new instance of the BooleanOutputAlias class.
public BooleanOutputAlias(string aliasName, SafetyGroup group)
Parameters
aliasName
stringThe name of the alias. It must be equal to name in TwinSAFE.
group
SafetyGroupThe group the alias is belonging to.
Exceptions
- ArgumentException
Thrown when
aliasName
is null or empty
-or- thegroup
does not belong to a logic terminal.- ArgumentNullException
Thrown when
group
is null.
Properties
Value
Gets the value.
public bool Value { get; }
Property Value
Events
ValueChanged
Occurs when the Value changed.
public event EventHandler ValueChanged