OTX-Runtime for DotNet  
OpenTestSystem.Otx.Runtime.Api.Events Namespace Reference

Namespace containing the event delegates More...

Functions

delegate void DiagConnectionStateChangedHandler (ClampState batteryState, ClampState ignitionState)
 Represents the method that will handle the DiagConnectionStateChanged event raised after the ConnectionState was changed but only during the Procedure execution started with @expectedConnectionState@ not equal to @None. More...
 
delegate void InOutParameterValueChangedHandler (IRuntimeContext context, IProcedureInOutParameter parameter)
 Represents the method that will handle the InOutParameterValueChanged event raised when ProcedureInOutParameter value changed from Otx-Runtime. More...
 
delegate void ProcedureAbortedHandler (IRuntimeContext context)
 Represents the method that will handle the ProcedureAborted event raised when a procedure aborted running. More...
 
delegate void ProcedureContinuedHandler (IRuntimeContext context)
 Represents the method that will handle the ProcedureContinued event raised after a Procedure will continued. More...
 
delegate void ProcedureFinishedHandler (IRuntimeContext context)
 Represents the method that will handle the ProcedureFinished event raised when a procedure completed running. More...
 
delegate void ProcedurePausedHandler (IRuntimeContext context, ExecutionStateChangeReason executionStateChangeReason)
 Represents the method that will handle the ProcedurePaused event raised before a Procedure will paused. More...
 
delegate void ProcedurePendingHandler (IRuntimeContext context)
 Represents the method that will handle the ProcedurePending event raised after a Procedure was executed but the start condition for the expected ConnectionState has not yet been reached and the procedure was not really started.. More...
 
delegate void ProcedureStartedHandler (IRuntimeContext context)
 Represents the method that will handle the ProcedureStarted event raised when the procedure started. More...
 
delegate void ProcedureStoppedHandler (IRuntimeContext context)
 Represents the method that will handle the ProcedureStopped event raised when execution stopped. More...
 
delegate void ProcedureTimeoutHandler (IRuntimeContext context)
 Represents the method that will handle the ProcedureTimeout event raised when a procedure was running but the timeout expired. More...
 

Detailed Description

Namespace containing the event delegates

Function Documentation

◆ DiagConnectionStateChangedHandler()

delegate void OpenTestSystem.Otx.Runtime.Api.Events.DiagConnectionStateChangedHandler ( ClampState  batteryState,
ClampState  ignitionState 
)

Represents the method that will handle the DiagConnectionStateChanged event raised after the ConnectionState was changed but only during the Procedure execution started with @expectedConnectionState@ not equal to @None.

Parameters
batteryStateThe battery state.
ignitionStateThe ignition state

◆ InOutParameterValueChangedHandler()

delegate void OpenTestSystem.Otx.Runtime.Api.Events.InOutParameterValueChangedHandler ( IRuntimeContext  context,
IProcedureInOutParameter  parameter 
)

Represents the method that will handle the InOutParameterValueChanged event raised when ProcedureInOutParameter value changed from Otx-Runtime.

Parameters
contextThe related runtime context.
parameterThe changed ProcedureInOutParameter.

◆ ProcedureAbortedHandler()

delegate void OpenTestSystem.Otx.Runtime.Api.Events.ProcedureAbortedHandler ( IRuntimeContext  context)

Represents the method that will handle the ProcedureAborted event raised when a procedure aborted running.

Parameters
contextThe related runtime context.

◆ ProcedureContinuedHandler()

delegate void OpenTestSystem.Otx.Runtime.Api.Events.ProcedureContinuedHandler ( IRuntimeContext  context)

Represents the method that will handle the ProcedureContinued event raised after a Procedure will continued.

Parameters
contextThe related runtime context.

◆ ProcedureFinishedHandler()

delegate void OpenTestSystem.Otx.Runtime.Api.Events.ProcedureFinishedHandler ( IRuntimeContext  context)

Represents the method that will handle the ProcedureFinished event raised when a procedure completed running.

Parameters
contextThe related runtime context.

◆ ProcedurePausedHandler()

delegate void OpenTestSystem.Otx.Runtime.Api.Events.ProcedurePausedHandler ( IRuntimeContext  context,
ExecutionStateChangeReason  executionStateChangeReason 
)

Represents the method that will handle the ProcedurePaused event raised before a Procedure will paused.

Parameters
contextThe related runtime context.
executionStateChangeReasonThe execution state change reason.

◆ ProcedurePendingHandler()

delegate void OpenTestSystem.Otx.Runtime.Api.Events.ProcedurePendingHandler ( IRuntimeContext  context)

Represents the method that will handle the ProcedurePending event raised after a Procedure was executed but the start condition for the expected ConnectionState has not yet been reached and the procedure was not really started..

Parameters
contextThe related runtime context.

◆ ProcedureStartedHandler()

delegate void OpenTestSystem.Otx.Runtime.Api.Events.ProcedureStartedHandler ( IRuntimeContext  context)

Represents the method that will handle the ProcedureStarted event raised when the procedure started.

Parameters
contextThe related runtime context.

◆ ProcedureStoppedHandler()

delegate void OpenTestSystem.Otx.Runtime.Api.Events.ProcedureStoppedHandler ( IRuntimeContext  context)

Represents the method that will handle the ProcedureStopped event raised when execution stopped.

This event is fired once after the Procedure.Execute Method, direct after the last action before the deinitialization of the OTX Runtime in the related procedure.

Parameters
contextThe related runtime context.

◆ ProcedureTimeoutHandler()

delegate void OpenTestSystem.Otx.Runtime.Api.Events.ProcedureTimeoutHandler ( IRuntimeContext  context)

Represents the method that will handle the ProcedureTimeout event raised when a procedure was running but the timeout expired.

Parameters
contextThe related runtime context.