Table of Contents

Class DigitalInputTreeItemViewModel

Namespace
Loehnert.Lisrt.IO.Controls.ViewModels
Assembly
Loehnert.Lisrt.IO.dll

Represents a view model for a IDigitalInputITreeItem.

public class DigitalInputTreeItemViewModel : ItemViewModel, INotifyPropertyChangedEx, ITreeItem, INotifyPropertyChanged
Inheritance
PropertyChangedBase
DigitalInputTreeItemViewModel
Implements
INotifyPropertyChangedEx
Inherited Members
PropertyChangedBase.Refresh()
PropertyChangedBase.IsNotifying
PropertyChangedBase.PropertyChanged

Constructors

DigitalInputTreeItemViewModel(IDigitalInput)

Initializes a new instance of the DigitalInputTreeItemViewModel class.

public DigitalInputTreeItemViewModel(IDigitalInput digitalInput)

Parameters

digitalInput IDigitalInput

The IDigitalInput as ILisrtModule.

Properties

Color

Gets or sets the indicator color. Default is Green.

public Color Color { get; set; }

Property Value

Color

Value

Gets a value indicating whether the output is on.

public bool Value { get; }

Property Value

bool