Class EmergencyStopIsPressedStateMessage
Represents a state message, which is shown when an emergency stop button is pressed.
public class EmergencyStopIsPressedStateMessage : DigitalInputStateMessage, INotifyPropertyChangedEx, IStateMessage, IMessage, ITranslatableText, INotifyPropertyChanged
- Inheritance
-
PropertyChangedBaseEmergencyStopIsPressedStateMessage
- Implements
-
INotifyPropertyChangedEx
- Inherited Members
-
PropertyChangedBase.Refresh()PropertyChangedBase.IsNotifyingPropertyChangedBase.PropertyChanged
Constructors
EmergencyStopIsPressedStateMessage(IDigitalInput, bool, int?)
Initializes a new instance of the EmergencyStopIsPressedStateMessage class.
public EmergencyStopIsPressedStateMessage(IDigitalInput digitalInput, bool isActiveValue = false, int? id = null)
Parameters
digitalInput
IDigitalInputInput the IsActive state depends on. The input type must implement INotifyPropertyChanged.
isActiveValue
boolValue of the input for which the message is active.
id
int?Optional message ID.
Exceptions
- ArgumentNullException
Thrown when
digitalInput
is null.- ArgumentException
Thrown when
digitalInput
does not implement INotifyPropertyChanged.