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

Describes the format of a flash file More...

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

Public Attributes

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

Detailed Description

Describes the format of a flash file

FlashFileFormat is anenumeration type describing the format of a flash file. It is used by the action StoreUploadData.

Order Relation
FlashFileFormat values may occur as operands of comparisons. For this case, the following order relation is defined. Started with the lowest value BINARY = 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.

@FlashFileFormat:BINARY|INTEL|SREC



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

Sample

Flash.FlashFileFormat FlashFileFormatVariable = @FlashFileFormat:BINARY;

Member Data Documentation

◆ init

FlashFileFormatLiteral OpenTestSystem.Otx.Extensions.Flash.DataTypes.FlashFileFormat.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::OtxFlashFileFormats::INTEL
@ INTEL
OpenTestSystem.Otx::DiagManager::OtxDiagApi::DataTypes::OtxFlashFileFormats::SREC
@ SREC
OpenTestSystem.Otx::DiagManager::OtxDiagApi::DataTypes::OtxFlashFileFormats::BINARY
@ BINARY