OTX-Runtime for Java  
OpenTestSystem.Otx.Runtime.Api.DiagConnectionState Class Reference

The diagnostic connection state describes conditions how a procedure can be executed. More...

Public Member Functions

ClampState GetBatteryState ()
 Returns the state of the battery. More...
 
int GetBatteryVoltageThreshold ()
 Get the voltage threshold in millivolt from which the battery voltage, see GetBatteryVoltage is enough for KL30 = On. More...
 
ClampState GetIgnitionState ()
 Returns the state of the ignition, see GetIgnitionState.
 
int GetPollingTime ()
 Returns the time in milliseconds between the next check of the connection state during the procedure execution (Polling). More...
 
void SetBatteryVoltageThreshold (int batteryVoltageThreshold)
 Set the voltage threshold in millivolt from which the battery voltage, see GetBatteryVoltage is enough for KL30 = On.
 
void SetPollingTime (int pollingTime)
 Set the time in milliseconds between the next check of the connection state during the procedure execution (Polling).
 

Detailed Description

The diagnostic connection state describes conditions how a procedure can be executed.

Member Function Documentation

◆ GetBatteryState()

ClampState OpenTestSystem.Otx.Runtime.Api.DiagConnectionState.GetBatteryState ( )
inline

Returns the state of the battery.

It returns ON, if the battery voltage, see GetBatteryVoltage is greater than the value in BatteryVoltageThreshold.

◆ GetBatteryVoltageThreshold()

int OpenTestSystem.Otx.Runtime.Api.DiagConnectionState.GetBatteryVoltageThreshold ( )
inline

Get the voltage threshold in millivolt from which the battery voltage, see GetBatteryVoltage is enough for KL30 = On.

The default value is 6000 mV.

◆ GetPollingTime()

int OpenTestSystem.Otx.Runtime.Api.DiagConnectionState.GetPollingTime ( )
inline

Returns the time in milliseconds between the next check of the connection state during the procedure execution (Polling).

The default value is 500 ms.


The documentation for this class was generated from the following file: