Class AnalogOutputModule
- Namespace
- Loehnert.Lisrt.AutomationController
- Assembly
- Loehnert.Lisrt.AutomationController.dll
Represents an analog output for the AutomationControllerModule.
public abstract class AnalogOutputModule : PropertyChangedBase, ILisrtModule, IInitializable, INotifyPropertyChangedEx, INotifyPropertyChanged, IAnalogOutput, IHasKey, IHasDescription, IHasServiceView, IHasDeviceLabel
- Inheritance
-
PropertyChangedBaseAnalogOutputModule
- Implements
-
INotifyPropertyChangedEx
- Inherited Members
-
PropertyChangedBase.Refresh()PropertyChangedBase.IsNotifyingPropertyChangedBase.PropertyChanged
Properties
Actuator
Gets or sets the actuator.
public IActuator Actuator { get; set; }
Property Value
Adjustment
Gets or sets the adjustment.
public IAdjustment Adjustment { get; set; }
Property Value
Description
Gets the translatable description.
public ITranslation Description { get; }
Property Value
- ITranslation
DeviceLabel
Gets or sets the label for the device.
[Configuration("")]
public string DeviceLabel { get; set; }
Property Value
Enabled
Gets or sets a value indicating whether the module is enabled.
public bool Enabled { get; set; }
Property Value
Icon
Gets the icon from the module.
public Uri Icon { get; }
Property Value
InitializationState
Gets a value indicating whether the object is initialized.
public InitializationState InitializationState { get; }
Property Value
InstanceID
Gets or sets the ID for this instance.
public int InstanceID { get; set; }
Property Value
Key
Gets the full module name as unique key.
public string Key { get; }
Property Value
Name
Gets or sets the name.
public string Name { get; set; }
Property Value
Parent
Gets or sets the parent module.
public ILisrtModule Parent { get; set; }
Property Value
TreeItem
Gets the view model for the module.
public ITreeItem TreeItem { get; }
Property Value
UnadjustedValue
Gets the value, that isn't adjusted by Adjustment.
public double UnadjustedValue { get; }
Property Value
UnscaledValue
Gets the real value of the analog output, not scaled by Actuator
and not adjusted by Adjustment.
In percent for a PWM output or voltage for a voltage output.
public double UnscaledValue { get; }
Property Value
Value
Gets or sets the output value.
public double Value { get; set; }
Property Value
Methods
Exit()
De initializes the object.
public void Exit()
GetValue()
Gets the value by scaling the latest set value with Actuator and then with Adjustment.
public double GetValue()
Returns
- double
The latest set value.
Initialize()
Initializes the object.
public void Initialize()
SetValue(double)
Sets the value for the actuator.
public void SetValue(double value)
Parameters
value
doubleThe value to set.
ShowServiceView()
Shows the service window.
public void ShowServiceView()