Class LightBarrierIsBrokenStateMessage
Represents a state message, which is shown when an light barrier is broken.
public class LightBarrierIsBrokenStateMessage : DigitalInputStateMessage, INotifyPropertyChangedEx, IStateMessage, IMessage, ITranslatableText, INotifyPropertyChanged
- Inheritance
-
PropertyChangedBaseLightBarrierIsBrokenStateMessage
- Implements
-
INotifyPropertyChangedEx
- Inherited Members
-
PropertyChangedBase.Refresh()PropertyChangedBase.IsNotifyingPropertyChangedBase.PropertyChanged
Constructors
LightBarrierIsBrokenStateMessage(IDigitalInput, bool, int?)
Initializes a new instance of the LightBarrierIsBrokenStateMessage class.
public LightBarrierIsBrokenStateMessage(IDigitalInput digitalInput, bool isActiveValue = false, int? id = null)
Parameters
digitalInputIDigitalInputInput the IsActive state depends on. The input type must implement INotifyPropertyChanged.
isActiveValueboolValue of the input for which the message is active.
idint?Optional message ID.
Exceptions
- ArgumentNullException
Thrown when
digitalInputis null.- ArgumentException
Thrown when
digitalInputdoes not implement INotifyPropertyChanged.