Extensions.DiagDataBrowsingPlus.GetDbDiagTroubleCodeDisplayTroubleCode

From emotive
Revision as of 11:10, 10 September 2018 by Hb (talk | contribs)
Jump to navigation Jump to search

Classification

Name GetDbDiagTroubleCodeDisplayTroubleCode
Short Description Gets the display trouble code of the DbDiagService
Class Term
Extension OTX DiagDataBrowsingPlus extension
Group DbDiagTroubleCode related terms
Exceptions NONE
Checker Rules -
Standard Compliant Yes

OTL Syntax

BooleanTerm = DiagDataBrowsingPlus.IsDbDiagServiceRepetitive(DbDiagServiceTerm);

Description

GetDbDiagTroubleCodeDisplayTroubleCode returns True if MVCI-Server returns eREPEATED in getRepetitionMode otherwise False. If getRepetitionMode is not supported and NotSupportedException shall be thrown.

Icons Note.png NOTE — The appropriate MVCI system operation is MCDDbDataPrimitive::getRepetitionMode

Return Value

The Term returns the value, see table below.

Icons Note.png In OTX, Terms are categorized according to its return data type!
Data Type Description
Boolean Returns True if MVCI-Server returns eREPEATED in getRepetitionMode otherwise False.

Properties

Name Data Type Class Default Cardinality Description
DbDiagService DbDiagService Term - [1..1] The element addresses the DbDiagService which is checked whether it is repetitive or not.

OTL Examples

DiagCom.ComChannel ComChannel;
DiagCom.DiagService DiagService;
DiagDataBrowsingPlus.DbDiagService DbDiagService;
Boolean MyBoolean = false;

/// Flow

ComChannel = DiagCom.GetComChannel("LL_GatewUDS", NULL, false);
DiagService = DiagCom.CreateDiagServiceByName(ComChannel, "DiagnServi_ReadDataByIdentActuaTestStatu");
DbDiagService = DiagDataBrowsingPlus.GetDiagServiceDbDiagService(DiagService);
MyBoolean = DiagDataBrowsingPlus.IsDbDiagServiceRepetitive(DbDiagService);

See also

GetComChannel
CreateDiagServiceByName
CreateDiagServiceBySemantic
GetComChannelDbComChannel
GetDbComChannel
GetDbComChannelDbDiagServices