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
-
PropertyChangedBaseDigitalInputTreeItemViewModel
- Implements
-
INotifyPropertyChangedEx
- Inherited Members
-
PropertyChangedBase.Refresh()PropertyChangedBase.IsNotifyingPropertyChangedBase.PropertyChanged
Constructors
DigitalInputTreeItemViewModel(IDigitalInput)
Initializes a new instance of the DigitalInputTreeItemViewModel class.
public DigitalInputTreeItemViewModel(IDigitalInput digitalInput)
Parameters
digitalInput
IDigitalInputThe IDigitalInput as ILisrtModule.
Properties
Color
Gets or sets the indicator color. Default is Green.
public Color Color { get; set; }
Property Value
Value
Gets a value indicating whether the output is on.
public bool Value { get; }