Difference between revisions of "Extensions.DiagDataBrowsingPlus.GetDbDiagServiceSemantic"
Jump to navigation
Jump to search
(6 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
{{DISPLAYTITLE:OTX '''GetDbDiagServiceSemantic'''}}[[Category:DiagDataBrowsingPlus]] | {{DISPLAYTITLE:OTX '''GetDbDiagServiceSemantic'''}}[[Category:DiagDataBrowsingPlus]] | ||
== Classification == | == Classification == | ||
− | {{ClassificationActivity | GetDbDiagServiceSemantic | Gets the value of the semantic attribute for that DbDiagService out of the ODX file | [[Term]] | [[Extensions.DiagDataBrowsingPlus|OTX DiagDataBrowsingPlus extension]] | [[Extensions.DiagDataBrowsingPlus#Terms|DbDiagService related terms]] | NONE | - }} | + | {{ClassificationActivity | GetDbDiagServiceSemantic | Gets the value of the semantic attribute for that [[Extensions.DiagDataBrowsingPlus.DbDiagService|DbDiagService]] out of the ODX file | [[Term]] | [[Extensions.DiagDataBrowsingPlus|OTX DiagDataBrowsingPlus extension]] | [[Extensions.DiagDataBrowsingPlus#Terms|DbDiagService related terms]] | NONE | - }} |
== OTL Syntax == | == OTL Syntax == | ||
<syntaxhighlight lang="java" enclose="div" style="font-size: medium;"> | <syntaxhighlight lang="java" enclose="div" style="font-size: medium;"> | ||
− | StringTerm | + | StringTerm DiagDataBrowsingPlus.GetDbDiagServiceSemantic(DbDiagServiceTerm dbDiagService); |
</syntaxhighlight> | </syntaxhighlight> | ||
== Description == | == Description == | ||
− | + | '''GetDbDiagServiceSemantic''' returns the value of the semantic attribute for that [[Extensions.DiagDataBrowsingPlus.DbDiagService|DbDiagService]] out of the ODX file as a [[Core.DataTypes.SimpleDataType.String|string]]. The semantic desribes the diagnosis class the service belongs to. e.g. IO_Control, Read, Write or VariantIdentification. | |
− | {{Note| | + | {{Note|The appropriate MVCI system operation is MCDDbDiagComPrimitive::getSemantic}} |
− | {{TermReturnValue| [[Core.DataTypes.SimpleDataType.String|String]] | Returns the value of the semantic attribute for that [[Extensions.DiagDataBrowsingPlus.DbDiagService|DbDiagService]] out of the ODX file | + | {{TermReturnValue| [[Core.DataTypes.SimpleDataType.String|String]] | Returns the value of the semantic attribute for that [[Extensions.DiagDataBrowsingPlus.DbDiagService|DbDiagService]] out of the ODX file.}} |
== Properties == | == Properties == | ||
{| {{TableHeader}} | {| {{TableHeader}} | ||
{{TableRowPropertiesHeader}} | {{TableRowPropertiesHeader}} | ||
− | {{TableRowPropertie2| | + | {{TableRowPropertie2| DbDiagService | [[Extensions.DiagDataBrowsingPlus.DbDiagService|DbDiagService]] | [[Term]] | - | [1..1] | The element addresses the '''DbDiagService''' whose semantic attribute shall be returned.}} |
|} | |} | ||
== OTL Examples == | == OTL Examples == | ||
<syntaxhighlight lang="java" enclose="div" style="font-size: medium;"> | <syntaxhighlight lang="java" enclose="div" style="font-size: medium;"> | ||
+ | /// Local Declarations | ||
+ | |||
DiagCom.ComChannel ComChannel; | DiagCom.ComChannel ComChannel; | ||
DiagCom.DiagService DiagService; | DiagCom.DiagService DiagService; |
Latest revision as of 09:13, 2 November 2018
Contents
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.
![]()
The appropriate MVCI system operation is MCDDbDiagComPrimitive::getSemantic
Return Value
The Term returns the value, see table below.
![]()
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