Table of Contents

Class Input

Namespace
Loehnert.Lisrt.HighVoltageTester.SpsElectronic
Assembly
Loehnert.Lisrt.HighVoltageTester.SpsElectronic.dll

Represents a tester input.

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

Properties

Description

Gets the 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 for the module.

public virtual 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 key.

public string Key { get; }

Property Value

string

Remarks

Returns the full module name.

Name

Gets or sets the module name.

public string Name { get; set; }

Property Value

string

Remarks

This must not contain ".".

Parent

Gets or sets the parent module.

public ILisrtModule Parent { get; set; }

Property Value

ILisrtModule

TreeItem

Gets the view model for the module.

public virtual ITreeItem TreeItem { get; }

Property Value

ITreeItem

Value

Gets a value indicating whether the input is high or low.

public bool Value { get; }

Property Value

bool

Methods

GetValue()

Gets the value.

public bool GetValue()

Returns

bool

The last read value of the output.