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
-
PropertyChangedBaseViewAwareScreenDigitalOutputServiceViewModel
- Implements
-
IViewAwareIChildIScreenIHaveDisplayNameIActivateIDeactivateIGuardCloseICloseINotifyPropertyChangedEx
- Inherited Members
-
Screen.OnInitialize()Screen.OnActivate()Screen.ParentScreen.DisplayNameScreen.IsActiveScreen.IsInitializedScreen.ActivatedScreen.AttemptingDeactivationScreen.DeactivatedViewAware.DefaultContextViewAware.ViewsViewAware.ViewAttachedPropertyChangedBase.Refresh()PropertyChangedBase.IsNotifyingPropertyChangedBase.PropertyChanged
Constructors
DigitalOutputServiceViewModel(IDigitalOutput)
Initializes a new instance of the DigitalOutputServiceViewModel class.
public DigitalOutputServiceViewModel(IDigitalOutput digitalOutput)
Parameters
digitalOutput
IDigitalOutputModel of this view model.
Properties
Description
Gets the description.
public string Description { get; }
Property Value
IsBusy
Gets a value indicating whether the output is busy.
public bool IsBusy { get; }
Property Value
Value
Gets or sets a value indicating whether the output is high or low.
public bool Value { get; set; }