Table of Contents

Class AnalogInputServiceViewModel

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

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

public class AnalogInputServiceViewModel : 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
AnalogInputServiceViewModel
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

AnalogInputServiceViewModel(IAnalogInput)

Initializes a new instance of the AnalogInputServiceViewModel class.

public AnalogInputServiceViewModel(IAnalogInput analogInput)

Parameters

analogInput IAnalogInput

Model of this view model.

Properties

AdjustmentViewModel

Gets the view model for the adjustment.

public object AdjustmentViewModel { get; }

Property Value

object

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

SensorRange

Gets a string describing the sensor range.

public string SensorRange { get; }

Property Value

string

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 and not adjusted value.

public double UnscaledValue { get; }

Property Value

double

Value

Gets the value, see Value.

public double Value { get; }

Property Value

double