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
- 
      
      PropertyChangedBaseHighVoltageTesterModule
- Implements
- 
      
      
      
      INotifyPropertyChangedEx
- Inherited Members
- 
    
    
    
    
    
    
    
    
    
    
    PropertyChangedBase.Refresh()PropertyChangedBase.IsNotifyingPropertyChangedBase.PropertyChanged
Constructors
HighVoltageTesterModule(string, ICommunication)
Initializes a new instance of the HighVoltageTesterModule class.
public HighVoltageTesterModule(string name, ICommunication communication)Parameters
- namestring
- Name for the device. 
- communicationICommunication
- Communication with the device. 
Properties
ActualState
Gets the state of device, when a test IsRunning.
public TestState ActualState { get; }Property Value
HighVoltageTestSettings
Gets the settings for high voltage test.
public HighVoltageTestSettings HighVoltageTestSettings { get; }Property Value
InsulationTestSettings
Gets the settings for insulation test.
public InsulationTestSettings InsulationTestSettings { get; }Property Value
IsRunning
Gets a value indicating whether a test is running.
public bool IsRunning { get; }Property Value
TestMode
Gets or sets the measure mode.
public TestMode TestMode { get; set; }Property Value
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
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.