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
-
PropertyChangedBaseViewAwareScreenAnalogInputServiceViewModel
- Implements
-
IViewAwareIChildIScreenIHaveDisplayNameIActivateIDeactivateIGuardCloseICloseINotifyPropertyChangedEx
- Inherited Members
-
Screen.OnInitialize()Screen.OnActivate()Screen.ParentScreen.DisplayNameScreen.IsActiveScreen.IsInitializedScreen.ActivatedScreen.AttemptingDeactivationScreen.DeactivatedViewAware.DefaultContextViewAware.ViewsViewAware.ViewAttachedPropertyChangedBase.Refresh()PropertyChangedBase.IsNotifyingPropertyChangedBase.PropertyChanged
Constructors
AnalogInputServiceViewModel(IAnalogInput)
Initializes a new instance of the AnalogInputServiceViewModel class.
public AnalogInputServiceViewModel(IAnalogInput analogInput)
Parameters
analogInputIAnalogInputModel of this view model.
Properties
AdjustmentViewModel
Gets the view model for the adjustment.
public object AdjustmentViewModel { get; }
Property Value
Description
Gets the description.
public string Description { get; }
Property Value
IsEnabled
Gets a value indicating whether the service window is enabled.
public override bool IsEnabled { get; }
Property Value
SensorRange
Gets a string describing the sensor range.
public string SensorRange { get; }
Property Value
UnadjustedValue
Gets the scaled but not adjusted value.
public double UnadjustedValue { get; }
Property Value
Unit
Gets the unit.
public string Unit { get; }
Property Value
UnscaledUnit
Gets or sets the unit for the unscaled value.
public string UnscaledUnit { get; set; }
Property Value
UnscaledValue
Gets the not scaled and not adjusted value.
public double UnscaledValue { get; }
Property Value
Value
Gets the value, see Value.
public double Value { get; }