Table of Contents

Class DigitalInputModule

Namespace
Loehnert.Lisrt.AutomationController
Assembly
Loehnert.Lisrt.AutomationController.dll

Represents a digital input for the AutomationControllerModule.

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

Properties

Description

Gets the translatable description.

public ITranslation Description { get; }

Property Value

ITranslation

DeviceLabel

Gets or sets the label for the device.

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

Property Value

string

Enabled

Gets or sets a value indicating whether the module is enabled.

public bool Enabled { get; set; }

Property Value

bool

Icon

Gets the icon from the module.

public Uri Icon { get; }

Property Value

Uri

InstanceID

Gets or sets the ID for this instance.

public int InstanceID { get; set; }

Property Value

int

Key

Gets the full module name as unique key.

public string Key { get; }

Property Value

string

Name

Gets or sets the name.

public string Name { get; set; }

Property Value

string

Parent

Gets or sets the parent module.

public ILisrtModule Parent { get; set; }

Property Value

ILisrtModule

TreeItem

Gets the view model for the module.

public ITreeItem TreeItem { get; }

Property Value

ITreeItem

Value

Gets a value indicating whether the input is high.

public bool Value { get; }

Property Value

bool

Methods

GetValue()

Gets the value of the input.

public bool GetValue()

Returns

bool

Latest read input value.