Table of Contents

Class DigitalOutputServiceViewModel

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

Represents a view model for a service view of an IAnalogOutput implementation.

public class DigitalOutputServiceViewModel : ServiceViewModelBase, IViewAware, IChild, IDocument, ILayoutItem, IScreen, IHaveDisplayName, IActivate, IDeactivate, IGuardClose, IClose, INotifyPropertyChangedEx, INotifyPropertyChanged, ICommandHandler<UndoCommandDefinition>, ICommandHandler<RedoCommandDefinition>, ICommandHandler<SaveFileCommandDefinition>, ICommandHandler<SaveFileAsCommandDefinition>, ICommandHandler
Inheritance
PropertyChangedBase
ViewAware
Screen
DigitalOutputServiceViewModel
Implements
IViewAware
IChild
IScreen
IHaveDisplayName
IActivate
IDeactivate
IGuardClose
IClose
INotifyPropertyChangedEx
Inherited Members
Screen.OnInitialize()
Screen.OnActivate()
Screen.Parent
Screen.DisplayName
Screen.IsActive
Screen.IsInitialized
Screen.Activated
Screen.AttemptingDeactivation
Screen.Deactivated
ViewAware.DefaultContext
ViewAware.Views
ViewAware.ViewAttached
PropertyChangedBase.Refresh()
PropertyChangedBase.IsNotifying
PropertyChangedBase.PropertyChanged

Constructors

DigitalOutputServiceViewModel(IDigitalOutput)

Initializes a new instance of the DigitalOutputServiceViewModel class.

public DigitalOutputServiceViewModel(IDigitalOutput digitalOutput)

Parameters

digitalOutput IDigitalOutput

Model of this view model.

Properties

Description

Gets the description.

public string Description { get; }

Property Value

string

IsBusy

Gets a value indicating whether the output is busy.

public bool IsBusy { get; }

Property Value

bool

Value

Gets or sets a value indicating whether the output is high or low.

public bool Value { get; set; }

Property Value

bool