Table of Contents

Class DigitalOutputTreeItemViewModel

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

Represents a view model for a IDigitalOutputITreeItem.

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

Constructors

DigitalOutputTreeItemViewModel(IDigitalOutput)

Initializes a new instance of the DigitalOutputTreeItemViewModel class.

public DigitalOutputTreeItemViewModel(IDigitalOutput digitalOutput)

Parameters

digitalOutput IDigitalOutput

The IDigitalOutput as ILisrtModule.

Properties

Color

Gets or sets the indicator color. Default is Red.

public Color Color { get; set; }

Property Value

Color

Value

Gets a value indicating whether the digital output is on.

public bool Value { get; }

Property Value

bool