Class EmergencyStopModule
Represents a emergency off button.
public class EmergencyStopModule : EmergencyButtonModule, INotifyPropertyChangedEx, ICompositeModule, ILisrtModule, INotifyPropertyChanged, IDigitalInput, IHasKey, IHasDescription, IHasDeviceLabel
- Inheritance
-
PropertyChangedBaseEmergencyStopModule
- Implements
-
INotifyPropertyChangedEx
- Inherited Members
-
PropertyChangedBase.Refresh()PropertyChangedBase.IsNotifyingPropertyChangedBase.PropertyChanged
Remarks
This module shows a state message if the emergency stop is actuated. You can disable this behavior by the DisableIsActiveMessage property.
Constructors
EmergencyStopModule(string, IDigitalInput, IDigitalInput, IDigitalOutput, ContactType)
Initializes a new instance of the EmergencyStopModule class.
public EmergencyStopModule(string name, IDigitalInput inputChannel1, IDigitalInput inputChannel2 = null, IDigitalOutput indicator = null, ContactType contactType = ContactType.NormmallyClosed)
Parameters
name
stringThe module name.
inputChannel1
IDigitalInputInput 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
IDigitalInputOptional input channel 2, if the emergency stop 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
IDigitalOutputOptional indicator that indicates whether the emergency stop 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
ContactTypeThe type of the contact.