OTX Reference  
OpenTestSystem.Otx.Extensions.TestResultHandling.DataTypes.TestResultHandlingLevel Class Reference

A TestResultHandlingLevel is an enumeration type describing test result handling thresholds used by the SetTestResultHandlingLevel action. The allowed values are specified in the TestResultHandlingLevels enumeration More...

Inheritance diagram for OpenTestSystem.Otx.Extensions.TestResultHandling.DataTypes.TestResultHandlingLevel:
Inheritance graph

Public Attributes

TestResultHandlingLevelLiteral init
 This optional element stands for the hard-coded initialisation value of the identifier at declaration time. More...
 

Detailed Description

A TestResultHandlingLevel is an enumeration type describing test result handling thresholds used by the SetTestResultHandlingLevel action. The allowed values are specified in the TestResultHandlingLevels enumeration

Order Relation
TestResultHandlingLevel values may occur as operands of comparisons (cf. ISO 13209-2, 7.15.8). For this case, the following order relation will apply:
ALL < TRACK < OFF
Literal
The syntax for Literals for complex data types will be used, where the member value is one of the values in the list.
@TestResultHandlingLevel:ALL|TRACK|OFF

Conversion terms
The following table shows the rules for conversion to another data type:

ConversionResultSample
ToBooleanUndefined (should not be used)
ToIntegerReturns the index of the value in the SetTestResultHandlingLevels enumeration (smallest index is 0)Integer val = ToInteger(@TestResultHandlingLevel:ALL); // Returns 0
ToFloatUndefined (should not be used)
ToStringThe resulting string will be the name of the enumeration valueString s = ToString(@TestResultHandlingLevel:TRACK); // Returns "TRACK"
ToByteFieldUndefined (should not be used)

Sample
TestResultHandling.TestResultHandlingLevel TestResultHandlingLevel1 = @TestResultHandlingLevel:TRACK;

Member Data Documentation

◆ init

TestResultHandlingLevelLiteral OpenTestSystem.Otx.Extensions.TestResultHandling.DataTypes.TestResultHandlingLevel.init

This optional element stands for the hard-coded initialisation value of the identifier at declaration time.

IMPORTANT - If the TestResultHandlingLevel declaration is not explicitly initialised (omitted <init> element), the default value shall be ALL.