Table of Contents

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
PropertyChangedBase
AnalogOutputModule
Implements
INotifyPropertyChangedEx
Inherited Members
PropertyChangedBase.Refresh()
PropertyChangedBase.IsNotifying
PropertyChangedBase.PropertyChanged

Properties

Actuator

Gets or sets the actuator.

public IActuator Actuator { get; set; }

Property Value

IActuator

Adjustment

Gets or sets the adjustment.

public IAdjustment Adjustment { get; set; }

Property Value

IAdjustment

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

string

Enabled

Gets or sets a value indicating whether the module is enabled.

public bool Enabled { get; set; }

Property Value

bool

Icon

Gets the icon from the module.

public Uri Icon { get; }

Property Value

Uri

InitializationState

Gets a value indicating whether the object is initialized.

public InitializationState InitializationState { get; }

Property Value

InitializationState

InstanceID

Gets or sets the ID for this instance.

public int InstanceID { get; set; }

Property Value

int

Key

Gets the full module name as unique key.

public string Key { get; }

Property Value

string

Name

Gets or sets the name.

public string Name { get; set; }

Property Value

string

Parent

Gets or sets the parent module.

public ILisrtModule Parent { get; set; }

Property Value

ILisrtModule

TreeItem

Gets the view model for the module.

public ITreeItem TreeItem { get; }

Property Value

ITreeItem

UnadjustedValue

Gets the value, that isn't adjusted by Adjustment.

public double UnadjustedValue { get; }

Property Value

double

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

double

Value

Gets or sets the output value.

public double Value { get; set; }

Property Value

double

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 double

The value to set.

ShowServiceView()

Shows the service window.

public void ShowServiceView()