Class EmergencyOffModule
Represents a emergency off button.
public class EmergencyOffModule : EmergencyButtonModule, INotifyPropertyChangedEx, ICompositeModule, ILisrtModule, INotifyPropertyChanged, IDigitalInput, IHasKey, IHasDescription, IHasDeviceLabel
- Inheritance
-
PropertyChangedBaseEmergencyOffModule
- Implements
-
INotifyPropertyChangedEx
- Inherited Members
-
PropertyChangedBase.Refresh()PropertyChangedBase.IsNotifyingPropertyChangedBase.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
namestringThe module name.
inputChannel1IDigitalInputInput 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.inputChannel2IDigitalInputOptional 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.indicatorIDigitalOutputOptional 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.contactTypeContactTypeThe type of the contact.