Table of Contents

Class HighVoltageTesterModule

Namespace
Loehnert.Lisrt.HighVoltageTester.Elabo
Assembly
Loehnert.Lisrt.HighVoltageTester.Elabo.dll

Represents a high voltage and insulation tester by Elabo.

public class HighVoltageTesterModule : InitializableCompositeModule, ICompositeModule, ILisrtModule, IInitializable, INotifyPropertyChangedEx, INotifyPropertyChanged, IHasServiceView
Inheritance
PropertyChangedBase
HighVoltageTesterModule
Implements
INotifyPropertyChangedEx
Inherited Members
PropertyChangedBase.Refresh()
PropertyChangedBase.IsNotifying
PropertyChangedBase.PropertyChanged

Constructors

HighVoltageTesterModule(string, ICommunication)

Initializes a new instance of the HighVoltageTesterModule class.

public HighVoltageTesterModule(string name, ICommunication communication)

Parameters

name string

Name for the device.

communication ICommunication

Communication with the device.

Properties

ActualState

Gets the state of device, when a test IsRunning.

public TestState ActualState { get; }

Property Value

TestState

HighVoltageTestSettings

Gets the settings for high voltage test.

public HighVoltageTestSettings HighVoltageTestSettings { get; }

Property Value

HighVoltageTestSettings

InsulationTestSettings

Gets the settings for insulation test.

public InsulationTestSettings InsulationTestSettings { get; }

Property Value

InsulationTestSettings

IsRunning

Gets a value indicating whether a test is running.

public bool IsRunning { get; }

Property Value

bool

TestMode

Gets or sets the measure mode.

public TestMode TestMode { get; set; }

Property Value

TestMode

Methods

GetTestState()

Request for state of device.

public TestState GetTestState()

Returns

TestState

State of device.

Exceptions

InvalidOperationException

Thrown when module is not initialized.

Initialize()

Initializes the object.

public override void Initialize()

RunTest()

Runs a Test.

public TestResult RunTest()

Returns

TestResult

Passed if test passed and Failed if test failed.

Remarks

TestMode indicates which measurement will be done.

Exceptions

InvalidOperationException

Thrown when module is not initialized.

ShowServiceView()

Shows the service window.

public void ShowServiceView()

StopTest()

Stops a running Test.

public void StopTest()

Exceptions

InvalidOperationException

Thrown when module is not initialized.