Table of Contents

Class AnalogOutputServiceViewModel

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 AnalogOutputServiceViewModel : 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
AnalogOutputServiceViewModel
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

AnalogOutputServiceViewModel(IAnalogOutput)

Initializes a new instance of the AnalogOutputServiceViewModel class.

public AnalogOutputServiceViewModel(IAnalogOutput analogOutput)

Parameters

analogOutput IAnalogOutput

Model of this view model.

Properties

ActuatorRange

Gets a string describing the sensor range.

public string ActuatorRange { get; }

Property Value

string

AdjustmentViewModel

Gets the view model for the adjustment.

public object AdjustmentViewModel { get; }

Property Value

object

ApplyValueCommand

Gets a command for applying NewValue.

public ICommand ApplyValueCommand { get; }

Property Value

ICommand

Description

Gets the description.

public string Description { get; }

Property Value

string

IsEnabled

Gets a value indicating whether the service window is enabled.

public override bool IsEnabled { get; }

Property Value

bool

MaximumValue

Gets the maximum for Value.

public double MaximumValue { get; }

Property Value

double

MinimumValue

Gets the minimum for Value.

public double MinimumValue { get; }

Property Value

double

NewValue

Gets or sets the new value for applying.

public double NewValue { get; set; }

Property Value

double

Remarks

Not applied yet. Apply with ApplyValueCommand.

UnadjustedValue

Gets the scaled but not adjusted value.

public double UnadjustedValue { get; }

Property Value

double

Unit

Gets the unit.

public string Unit { get; }

Property Value

string

UnscaledUnit

Gets or sets the unit for the unscaled value.

public string UnscaledUnit { get; set; }

Property Value

string

UnscaledValue

Gets the not scaled but not adjusted value.

public double UnscaledValue { get; }

Property Value

double

Value

Gets the value.

public double Value { get; }

Property Value

double

Remarks