Class BooleanInputAlias
Represents a boolean input alias (name in TwinSAFE "1 Digital Input (Standard)").
public sealed class BooleanInputAlias : SafetyGroupAliasBase, INotifyPropertyChangedEx, INotifyPropertyChanged
- Inheritance
-
PropertyChangedBaseBooleanInputAlias
- Implements
-
INotifyPropertyChangedEx
- Inherited Members
-
PropertyChangedBase.Refresh()PropertyChangedBase.IsNotifyingPropertyChangedBase.PropertyChanged
Constructors
BooleanInputAlias(string, SafetyGroup)
Initializes a new instance of the BooleanInputAlias class.
public BooleanInputAlias(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 or sets the value.
public bool Value { get; set; }