OTX Reference  
OpenTestSystem.Otx.Extensions.Flash.DataTypes.Audience Class Reference

Filters the flash sessions according to audience property More...

Inheritance diagram for OpenTestSystem.Otx.Extensions.Flash.DataTypes.Audience:
Inheritance graph

Public Attributes

AudienceLiteral init
 Cardinality [0..1]
This optional element stands for the hard-coded initialisation value of the identifier at declaration time. More...
 

Detailed Description

Filters the flash sessions according to audience property

Audience is an enumeration type which is used by the term GetListOfValidFlashSessions (for filtering flash sessions according to audience property) as well as by the term BlockIsValidForAudience.

Order Relation
Audience values may occur as operands of comparisons. For this case, the following order relation is defined. Started with the lowest value SUPPLIER = 0:


Literal
The syntax for Literals for complex data types will be used, where the member value is one of the values in the list.



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 Audiences enumeration (smallest index is 0)Integer val = ToInteger(@Audience:SUPPLIER); // Returns 0
ToFloatUndefined (should not be used)
ToStringReturns the name of the enumeration valueString s = ToString(@Audience:SUPPLIER); // Returns "SUPPLIER"
ToByteFieldUndefined (should not be used)

Sample

Flash.Audience AudienceVariable = @Audience:SUPPLIER;

Member Data Documentation

◆ init

AudienceLiteral OpenTestSystem.Otx.Extensions.Flash.DataTypes.Audience.init

Cardinality [0..1]
This optional element stands for the hard-coded initialisation value of the identifier at declaration time.

OpenTestSystem.Otx::DiagManager::OtxDiagApi::DataTypes::OtxAudiences::DEVELOPMENT
@ DEVELOPMENT
OpenTestSystem.Otx::DiagManager::OtxDiagApi::DataTypes::OtxAudiences::AFTERSALES
@ AFTERSALES
OpenTestSystem.Otx::DiagManager::OtxDiagApi::DataTypes::OtxAudiences::SUPPLIER
@ SUPPLIER
OpenTestSystem.Otx::DiagManager::OtxDiagApi::DataTypes::OtxAudiences::MANUFACTURING
@ MANUFACTURING
OpenTestSystem.Otx::DiagManager::OtxDiagApi::DataTypes::OtxAudiences::AFTERMARKET
@ AFTERMARKET