Difference between revisions of "Extensions.DiagDataBrowsingPlus.GetDbComChannelProtocolType"
Jump to navigation
Jump to search
(Created page with "{{DISPLAYTITLE:OTX '''GetDbComChannelProtocolType'''}}DiagDataBrowsingPlus == Classification == {{ClassificationActivity | GetDbComChannelProtocolType | Returns the protoc...") |
|||
(11 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
− | {{DISPLAYTITLE:OTX '''GetDbComChannelProtocolType'''}}[[DiagDataBrowsingPlus]] | + | {{DISPLAYTITLE:OTX '''GetDbComChannelProtocolType'''}}[[Category:DiagDataBrowsingPlus]] |
== Classification == | == Classification == | ||
− | {{ClassificationActivity | GetDbComChannelProtocolType | | + | {{ClassificationActivity | GetDbComChannelProtocolType | Gets the protocol type of the [[Extensions.DiagDataBrowsingPlus.DbComChannel|DbComChannel]]| [[Term]] | [[Extensions.DiagDataBrowsingPlus|OTX DiagDataBrowsingPlus Extension]] | [[Extensions.DiagDataBrowsingPlus#Terms|DbComChannel 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;"> | ||
− | DiagDataBrowsingPlus.GetDbComChannelProtocolType(DbComChannelTerm); | + | StringTerm DiagDataBrowsingPlus.GetDbComChannelProtocolType(DbComChannelTerm dbComChannel); |
</syntaxhighlight> | </syntaxhighlight> | ||
== Description == | == Description == | ||
− | '''GetDbComChannelProtocolType''' returns the protocol type as a string with the format as defined in the D-PDU API specification in version ISO 22900-2 [7], B.1 Standardized protocols - support and naming conventions (Table B.3 - Standard protocol short names in ODX and Table B.4 - OBD protocol shortnames). However, this table does only contain standardized names. In addition, vendor specific names can also be returned. | + | '''GetDbComChannelProtocolType''' returns the protocol type as a [[Core.DataTypes.SimpleDataType.String|string]] with the format as defined in the D-PDU API specification in version ISO 22900-2 [7], B.1 Standardized protocols - support and naming conventions (Table B.3 - Standard protocol short names in ODX and Table B.4 - OBD protocol shortnames). However, this table does only contain standardized names. In addition, vendor specific names can also be returned. |
− | {{Note| | + | {{Note|The related MVCI system method is MCDDbLogicalLink::getProtocolType}} |
{{TermReturnValue| [[Core.DataTypes.SimpleDataType.String|String]] | Returns the protocol type as a [[Core.DataTypes.SimpleDataType.String|string]]}} | {{TermReturnValue| [[Core.DataTypes.SimpleDataType.String|String]] | Returns the protocol type as a [[Core.DataTypes.SimpleDataType.String|string]]}} | ||
Line 18: | Line 18: | ||
{| {{TableHeader}} | {| {{TableHeader}} | ||
{{TableRowPropertiesHeader}} | {{TableRowPropertiesHeader}} | ||
− | {{TableRowPropertie2| | + | {{TableRowPropertie2| DbComChannel | [[Extensions.DiagDataBrowsingPlus.DbComChannel|DbComChannel]] | [[Term]] | - | [1..1] | This element addresses the '''DbComChannel''' which protocol type 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 | ||
+ | |||
String MyString; | String MyString; | ||
DiagDataBrowsingPlus.DbComChannel DbComChannel; | DiagDataBrowsingPlus.DbComChannel DbComChannel; | ||
+ | |||
+ | /// Flow | ||
+ | |||
DbComChannel = DiagDataBrowsingPlus.GetDbComChannel(NULL, "LL_AllEmissRelatUDSSyste"); | DbComChannel = DiagDataBrowsingPlus.GetDbComChannel(NULL, "LL_AllEmissRelatUDSSyste"); | ||
MyString = DiagDataBrowsingPlus.GetDbComChannelProtocolType(DbComChannel); | MyString = DiagDataBrowsingPlus.GetDbComChannelProtocolType(DbComChannel); |
Latest revision as of 05:48, 25 September 2019
Contents
Classification
Name | GetDbComChannelProtocolType |
Short Description | Gets the protocol type of the DbComChannel |
Class | Term |
Extension | OTX DiagDataBrowsingPlus Extension |
Group | DbComChannel related terms |
Exceptions | NONE |
Checker Rules | - |
Standard Compliant | Yes |
OTL Syntax
StringTerm DiagDataBrowsingPlus.GetDbComChannelProtocolType(DbComChannelTerm dbComChannel);
Description
GetDbComChannelProtocolType returns the protocol type as a string with the format as defined in the D-PDU API specification in version ISO 22900-2 [7], B.1 Standardized protocols - support and naming conventions (Table B.3 - Standard protocol short names in ODX and Table B.4 - OBD protocol shortnames). However, this table does only contain standardized names. In addition, vendor specific names can also be returned.
![]()
The related MVCI system method is MCDDbLogicalLink::getProtocolType
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 protocol type as a string |
Properties
Name | Data Type | Class | Default | Cardinality | Description |
DbComChannel | DbComChannel | Term | - | [1..1] | This element addresses the DbComChannel which protocol type shall be returned. |
OTL Examples
/// Local Declarations
String MyString;
DiagDataBrowsingPlus.DbComChannel DbComChannel;
/// Flow
DbComChannel = DiagDataBrowsingPlus.GetDbComChannel(NULL, "LL_AllEmissRelatUDSSyste");
MyString = DiagDataBrowsingPlus.GetDbComChannelProtocolType(DbComChannel);