OTX-Runtime for DotNet  
OpenTestSystem.Otx.Runtime.Api.Custom.DefaultMeasureImplementation Class Reference

Default measure implementation More...

Inheritance diagram for OpenTestSystem.Otx.Runtime.Api.Custom.DefaultMeasureImplementation:
Inheritance graph

Public Member Functions

void ExecuteDeviceService (IRuntimeContext runtimeContext, IDeviceService deviceService, List< IDeviceServiceParameter > parameters, bool suppressInvalidMeasurementException, bool executeAsync)
 Invoked when a ExecuteDeviceService occurs in OTX-Runtime. More...
 
void SetValue (string deviceServiceOutParameterName, object value)
 Set the value for a device service out parameter. More...
 

Detailed Description

Default measure implementation

Member Function Documentation

◆ ExecuteDeviceService()

void OpenTestSystem.Otx.Runtime.Api.Custom.DefaultMeasureImplementation.ExecuteDeviceService ( IRuntimeContext  runtimeContext,
IDeviceService  deviceService,
List< IDeviceServiceParameter parameters,
bool  suppressInvalidMeasurementException,
bool  executeAsync 
)
inline

Invoked when a ExecuteDeviceService occurs in OTX-Runtime.

Parameters
deviceServiceDeviceService represents an OTX DeviceService.
suppressInvalidMeasurementException
executeAsyncExecuteAsync tells the communication backend to make this device service execution non-blocking. This means that if executeAsync is set to true, the OTX execution flow will immediately move on to the next Action, without waiting for the result of the ExecuteDeviceService action.
runtimeContextThe related runtime context.
parametersArguments which are passed to ExecuteDeviceService.

Implements OpenTestSystem.Otx.Runtime.Api.Custom.IMeasureImplementation.

◆ SetValue()

void OpenTestSystem.Otx.Runtime.Api.Custom.DefaultMeasureImplementation.SetValue ( string  deviceServiceOutParameterName,
object  value 
)
inline

Set the value for a device service out parameter.

Parameters
deviceServiceOutParameterNameA path to Device service out parameter, eg: Package.otxDoc.DeviceSignatureName.DeviceServiceName.deviceServiceOutParameterName
valueThe value to set for the context variable.

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