Extensions.DiagDataBrowsingPlus.GetDbDiagServiceSemantic

From emotive
Jump to navigation Jump to search

Classification

Name GetDbDiagServiceSemantic
Short Description Gets the value of the semantic attribute for that DbDiagService out of the ODX file
Class Term
Extension OTX DiagDataBrowsingPlus extension
Group DbDiagService related terms
Exceptions NONE
Checker Rules -
Standard Compliant Yes

OTL Syntax

StringTerm DiagDataBrowsingPlus.GetDbDiagServiceSemantic(DbDiagServiceTerm dbDiagService);

Description

GetDbDiagServiceSemantic returns the value of the semantic attribute for that DbDiagService out of the ODX file as a string. The semantic desribes the diagnosis class the service belongs to. e.g. IO_Control, Read, Write or VariantIdentification.

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

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
String Returns the value of the semantic attribute for that DbDiagService out of the ODX file.

Properties

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

OTL Examples

/// Local Declarations

DiagCom.ComChannel ComChannel;
DiagCom.DiagService DiagService;
DiagDataBrowsingPlus.DbDiagService DbDiagService;
String MyString;
		
/// Flow

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


See also

GetComChannel
CreateDiagServiceByName
CreateDiagServiceBySemantic
GetDiagServiceDbDiagService
GetComChannelDbComChannel
GetDbComChannel
GetDbComChannelDbDiagServices