Table of Contents

Class EmergencyOffModule

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

Represents a emergency off button.

public class EmergencyOffModule : EmergencyButtonModule, INotifyPropertyChangedEx, ICompositeModule, ILisrtModule, INotifyPropertyChanged, IDigitalInput, IHasKey, IHasDescription, IHasDeviceLabel
Inheritance
PropertyChangedBase
EmergencyOffModule
Implements
INotifyPropertyChangedEx
Inherited Members
PropertyChangedBase.Refresh()
PropertyChangedBase.IsNotifying
PropertyChangedBase.PropertyChanged

Remarks

This module shows a state message if the emergency off is actuated. You can disable this behavior by the DisableIsActiveMessage property.

Constructors

EmergencyOffModule(string, IDigitalInput, IDigitalInput, IDigitalOutput, ContactType)

Initializes a new instance of the EmergencyOffModule class.

public EmergencyOffModule(string name, IDigitalInput inputChannel1, IDigitalInput inputChannel2 = null, IDigitalOutput indicator = null, ContactType contactType = ContactType.NormmallyClosed)

Parameters

name string

The module name.

inputChannel1 IDigitalInput

Input channel 1.
If the input has no name, it is set by this constructor. See TrySetModuleName<T>(T, string, bool).
If the input is a ILisrtModule implementation, it is add as SubModules.

inputChannel2 IDigitalInput

Optional input channel 2, if the emergency off has two contacts.
If the input has no name, it is set by this constructor. See TrySetModuleName<T>(T, string, bool).
If the input is a ILisrtModule implementation, it is add as SubModules.

indicator IDigitalOutput

Optional indicator that indicates whether the emergency off button is pressed.
If the output has no name, it is set by this constructor. See TrySetModuleName<T>(T, string, bool).
If the input is a ILisrtModule implementation, it is add as SubModules.

contactType ContactType

The type of the contact.