Table of Contents

Class LightCurtainIsBrokenStateMessage

Namespace
Loehnert.Lisrt.IO
Assembly
Loehnert.Lisrt.IO.dll

Represents a state message, which is shown when an light curtain is broken.

public class LightCurtainIsBrokenStateMessage : DigitalInputStateMessage, INotifyPropertyChangedEx, IStateMessage, IMessage, ITranslatableText, INotifyPropertyChanged
Inheritance
PropertyChangedBase
LightCurtainIsBrokenStateMessage
Implements
INotifyPropertyChangedEx
Inherited Members
PropertyChangedBase.Refresh()
PropertyChangedBase.IsNotifying
PropertyChangedBase.PropertyChanged

Constructors

LightCurtainIsBrokenStateMessage(IDigitalInput, bool, int?)

Initializes a new instance of the LightCurtainIsBrokenStateMessage class.

public LightCurtainIsBrokenStateMessage(IDigitalInput digitalInput, bool isActiveValue = false, int? id = null)

Parameters

digitalInput IDigitalInput

Input the IsActive state depends on. The input type must implement INotifyPropertyChanged.

isActiveValue bool

Value 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.