Extensions.DiagDataBrowsingPlus.GetDbDiagServiceDbResponses

From emotive
Jump to navigation Jump to search

Classification

Name GetDbDiagServiceDbResponses
Short Description Gets the responses of the DbDiagService
Class Term
Extension OTX DiagDataBrowsingPlus extension
Group DbResponse related terms
Exceptions NONE
Checker Rules -
Standard Compliant Yes

OTL Syntax

ListTerm DiagDataBrowsingPlus.GetDbDiagServiceDbResponses(DbDiagServiceTerm dbDiagService);

Description

GetDbDiagServiceDbResponses returns a list of DbResponse objects which represents the MCDDbResponses for the given DbDiagService. An empty list can be returned, if no response is defined for the diag service in the project's data base.

Icons Note.png The appropriate MVCI system operation is MCDDbDiagComPrimitive::getDbResponses

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 DbResponse objects which represents the MCDDbResponses for the given DbDiagService.

Properties

Name Data Type Class Default Cardinality Description
DbDiagService DbDiagService Term - [1..1] The element addresses the DbDiagService which responses shall be returned.

OTL Examples

/// Local Declarations

DiagCom.DiagService DiagService;
DiagDataBrowsingPlus.DbDiagService DbDiagService;
List<DiagDataBrowsingPlus.DbResponse> List_DbResponse;

/// Flow

DiagService = DiagCom.CreateDiagServiceByName(DiagCom.GetComChannel("LL_AllEmissRelatUDSSyste", "", false), "DiagnServi_ReadDataByIdentActuaTestStatu");
DbDiagService = DiagDataBrowsingPlus.GetDiagServiceDbDiagService(DiagService);
List_DbResponse = DiagDataBrowsingPlus.GetDbDiagServiceDbResponses(DbDiagService);

See also

GetComChannel
CreateDiagServiceByName
CreateDiagServiceBySemantic
GetDiagServiceDbDiagService