Table of Contents

Class InterlockModuleBase

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

Represents a base class for a solenoid interlock.

public abstract class InterlockModuleBase : LisrtModule, INotifyPropertyChangedEx, IInterlock, ILisrtModule, INotifyPropertyChanged, IHasDeviceLabel, IHasServiceView
Inheritance
PropertyChangedBase
InterlockModuleBase
Implements
INotifyPropertyChangedEx
Inherited Members
PropertyChangedBase.Refresh()
PropertyChangedBase.IsNotifying
PropertyChangedBase.PropertyChanged

Constructors

InterlockModuleBase(string)

Initializes a new instance of the InterlockModuleBase class.

protected InterlockModuleBase(string name)

Parameters

name string

Name of the module.

Properties

DeviceLabel

Gets or sets the device label.

[Configuration("")]
public string DeviceLabel { get; set; }

Property Value

string

Icon

Gets the icon.

public override Uri Icon { get; }

Property Value

Uri

InstanceID

Gets or sets the instance ID.

public int InstanceID { get; set; }

Property Value

int

IsClosed

Gets a value indicating whether the interlock is closed.

public abstract bool IsClosed { get; }

Property Value

bool

IsLocked

Gets a value indicating whether the interlock is locked.

public abstract bool IsLocked { get; }

Property Value

bool

Methods

Lock()

Locks the interlock.

public abstract void Lock()

ShowServiceView()

Shows the service view.

public virtual void ShowServiceView()

Unlock()

Unlocks the interlock.

public abstract void Unlock()