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
-
PropertyChangedBaseViewAwareScreenAnalogOutputServiceViewModel
- Implements
-
IViewAwareIChildIScreenIHaveDisplayNameIActivateIDeactivateIGuardCloseICloseINotifyPropertyChangedEx
- Inherited Members
-
Screen.OnInitialize()Screen.OnActivate()Screen.ParentScreen.DisplayNameScreen.IsActiveScreen.IsInitializedScreen.ActivatedScreen.AttemptingDeactivationScreen.DeactivatedViewAware.DefaultContextViewAware.ViewsViewAware.ViewAttachedPropertyChangedBase.Refresh()PropertyChangedBase.IsNotifyingPropertyChangedBase.PropertyChanged
Constructors
AnalogOutputServiceViewModel(IAnalogOutput)
Initializes a new instance of the AnalogOutputServiceViewModel class.
public AnalogOutputServiceViewModel(IAnalogOutput analogOutput)
Parameters
analogOutput
IAnalogOutputModel of this view model.
Properties
ActuatorRange
Gets a string describing the sensor range.
public string ActuatorRange { get; }
Property Value
AdjustmentViewModel
Gets the view model for the adjustment.
public object AdjustmentViewModel { get; }
Property Value
ApplyValueCommand
Gets a command for applying NewValue.
public ICommand ApplyValueCommand { 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
MaximumValue
Gets the maximum for Value.
public double MaximumValue { get; }
Property Value
MinimumValue
Gets the minimum for Value.
public double MinimumValue { get; }
Property Value
NewValue
Gets or sets the new value for applying.
public double NewValue { get; set; }
Property Value
Remarks
Not applied yet. Apply with ApplyValueCommand.
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 but not adjusted value.
public double UnscaledValue { get; }
Property Value
Value
Gets the value.
public double Value { get; }