Class ProtectiveEarthTest
- Namespace
- Loehnert.Lisrt.HighVoltageTester.Etl
- Assembly
- Loehnert.Lisrt.HighVoltageTester.Etl.dll
Represents a ground bond (protective earth) test.
public class ProtectiveEarthTest : TestBase<ProtectiveEarthTestConfiguration, ProtectiveEarthTestResult>, INotifyPropertyChangedEx, INotifyPropertyChanged
- Inheritance
-
PropertyChangedBaseProtectiveEarthTest
- Implements
-
INotifyPropertyChangedEx
- Inherited Members
-
PropertyChangedBase.Refresh()PropertyChangedBase.IsNotifyingPropertyChangedBase.PropertyChanged
Methods
Run(ProtectiveEarthTestConfiguration, CancellationToken, int)
Runs the ground bond (protective earth) test.
public override ProtectiveEarthTestResult Run(ProtectiveEarthTestConfiguration configuration, CancellationToken cancellationToken, int startTimeoutInMS = 10000)
Parameters
configurationProtectiveEarthTestConfigurationThe configuration parameters for the test.
cancellationTokenCancellationTokenCancellation token to cancel the method.
startTimeoutInMSintTimeout in milliseconds to wait for the test to start. This is relevant if the test is started by the test probe. Use -1 to disable the timeout.
Returns
- ProtectiveEarthTestResult
The result of the ground bond test, including measured values and test state.
Exceptions
- NotInitializedException
Thrown if the module is not initialized.
- ArgumentNullException
Thrown if
configurationis null.- TimeoutException
Thrown when the test does not start within
startTimeoutInMS
-or- when the test does not finish within the configured TestTime.