Extensions.DiagDataBrowsingPlus.GetDbDiagServiceDbFunctionalClasses

From emotive
Revision as of 08:34, 10 September 2018 by Hb (talk | contribs) (→‎OTL Examples)
Jump to navigation Jump to search

Classification

Name GetDbDiagServiceDbFunctionalClasses
Short Description Is a user defined collection of Diagnostic Services
Class Term
Extension OTX DiagDataBrowsingPlus extension
Group DbDiagService related terms
Exceptions NONE
Checker Rules -
Standard Compliant Yes

OTL Syntax

ListTerm = DiagDataBrowsingPlus.GetDbDiagServiceDbFunctionalClasses(DbDiagServiceTerm);


Description

GetDbDiagServiceDbFunctionalClasses returns a list of String of names of DbFunctionalClasses the DbDiagService is assigned within the project's data bases. A Functional Class is a user defined collection of Diagnostic Services. It can for example be used to separate Services with different tasks. The length of the list is zero, if the DbDiagService is not assigned with a Functional Class in the project's data bases.

Icons Note.png NOTE — The appropriate MVCI system operation is MCDDbDiagComPrimitive::getDbFunctionalClasses

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
List Returns a list of String of names of DbFunctionalClasses the DbDiagService is assigned within the project's data bases

Properties

Name Data Type Class Default Cardinality Description
dbDiagService DbDiagService Term - [1..1] The element addresses the DbDiagService whose functional classes shall be returned.

OTL Examples

DiagCom.ComChannel ComChannel;
DiagCom.DiagService DiagService;
DiagDataBrowsingPlus.DbDiagService DbDiagService;
List<String> List_String;

/// Flow

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

See also

GetComChannel
CreateDiagServiceByName
CreateDiagServiceBySemantic
GetDiagServiceDbDiagService
GetComChannelDbComChannel
GetDbComChannel
GetDbComChannelDbDiagServices