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
aliasNamestringThe name of the alias. It must be equal to name in TwinSAFE.
groupSafetyGroupThe group the alias is belonging to.
Exceptions
- ArgumentException
Thrown when
aliasNameis null or empty
-or- thegroupdoes not belong to a logic terminal.- ArgumentNullException
Thrown when
groupis null.
Properties
Value
Gets the value.
public bool Value { get; }
Property Value
Events
ValueChanged
Occurs when the Value changed.
public event EventHandler ValueChanged