Class Output
- Namespace
- Loehnert.Lisrt.HighVoltageTester.SpsElectronic
- Assembly
- Loehnert.Lisrt.HighVoltageTester.SpsElectronic.dll
Represents a tester output.
public class Output : PropertyChangedBase, INotifyPropertyChangedEx, ILisrtModule, INotifyPropertyChanged, IDigitalOutput, IHasKey, IHasDescription, IHasServiceView, IHasDeviceLabel
- Inheritance
-
PropertyChangedBaseOutput
- Implements
-
INotifyPropertyChangedEx
- Inherited Members
-
PropertyChangedBase.Refresh()PropertyChangedBase.IsNotifyingPropertyChangedBase.PropertyChanged
Properties
Description
Gets the 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 for the module.
public Uri Icon { get; }
Property Value
InstanceID
Gets or sets the ID for this instance.
public int InstanceID { get; set; }
Property Value
Key
Gets the key.
public string Key { get; }
Property Value
Remarks
Returns the full module name.
Name
Gets or sets the module name.
public string Name { get; set; }
Property Value
Remarks
This must not contain ".".
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
Value
Gets or sets a value indicating whether the output is high or low.
public bool Value { get; set; }
Property Value
Methods
GetValue()
Gets the value.
public bool GetValue()
Returns
- bool
The last set value of the output.
SetValue(bool)
Sets the value.
public void SetValue(bool value)
Parameters
value
boolOutput value to set.
ShowServiceView()
Shows the service window.
public void ShowServiceView()