Difference between revisions of "Extensions.DiagDataBrowsingPlus.GetDbSpecialDataGroupSpecialDataElements"
Jump to navigation
Jump to search
(2 intermediate revisions by the same user not shown) | |||
Line 5: | Line 5: | ||
== OTL Syntax == | == OTL Syntax == | ||
<syntaxhighlight lang="java" enclose="div" style="font-size: medium;"> | <syntaxhighlight lang="java" enclose="div" style="font-size: medium;"> | ||
− | + | ListTerm DiagDataBrowsingPlus.GetDbSpecialDataGroupSpecialDataElements(DbSpecialDataGroupTerm specialDataGroup); | |
− | |||
− | |||
− | |||
</syntaxhighlight> | </syntaxhighlight> | ||
Line 14: | Line 11: | ||
'''GetDbSpecialDataGroupSpecialDataElements''' returns a [[Core.DataTypes.ComplexDataType.ContainerDataType.List|list]] of [[Extensions.DiagDataBrowsingPlus.DbSpecialDataElement|DbSpecialDataElement]] (SD) of the [[Extensions.DiagDataBrowsingPlus.DbSpecialDataGroup|DbSpecialDataGroup]]. An empty list can be returned if no SD are available. | '''GetDbSpecialDataGroupSpecialDataElements''' returns a [[Core.DataTypes.ComplexDataType.ContainerDataType.List|list]] of [[Extensions.DiagDataBrowsingPlus.DbSpecialDataElement|DbSpecialDataElement]] (SD) of the [[Extensions.DiagDataBrowsingPlus.DbSpecialDataGroup|DbSpecialDataGroup]]. An empty list can be returned if no SD are available. | ||
− | {{Note| | + | {{Note|The appropriate MVCI system operation is MCDDbSpecialDataGroup::getItemByIndex}} |
{{TermReturnValue| [[Core.DataTypes.ComplexDataType.ContainerDataType.List|List]] | Returns a list of [[Extensions.DiagDataBrowsingPlus.DbSpecialDataElement|DbSpecialDataElement]] (SD) of the [[Extensions.DiagDataBrowsingPlus.DbSpecialDataGroup|DbSpecialDataGroup]].}} | {{TermReturnValue| [[Core.DataTypes.ComplexDataType.ContainerDataType.List|List]] | Returns a list of [[Extensions.DiagDataBrowsingPlus.DbSpecialDataElement|DbSpecialDataElement]] (SD) of the [[Extensions.DiagDataBrowsingPlus.DbSpecialDataGroup|DbSpecialDataGroup]].}} | ||
Line 21: | Line 18: | ||
{| {{TableHeader}} | {| {{TableHeader}} | ||
{{TableRowPropertiesHeader}} | {{TableRowPropertiesHeader}} | ||
− | {{TableRowPropertie2| | + | {{TableRowPropertie2| SpecialDataGroup| [[Extensions.DiagDataBrowsingPlus.DbSpecialDataGroup|DbSpecialDataGroup]] | [[Term]] | - | [1..1] |The element addresses the '''DbSpecialDataGroup''' (MCDDbSpecialDataGroup) which spacial data elements shall be returned.}} |
|} | |} | ||
Latest revision as of 08:48, 2 November 2018
Contents
Classification
Name | GetDbSpecialDataGroupSpecialDataElements |
Short Description | Gets the spacial data elements of the DbSpecialDataGroup |
Class | Term |
Extension | OTX DiagDataBrowsingPlus extension |
Group | DbSpecialDataGroup related terms |
Exceptions | NONE |
Checker Rules | - |
Standard Compliant | Yes |
OTL Syntax
ListTerm DiagDataBrowsingPlus.GetDbSpecialDataGroupSpecialDataElements(DbSpecialDataGroupTerm specialDataGroup);
Description
GetDbSpecialDataGroupSpecialDataElements returns a list of DbSpecialDataElement (SD) of the DbSpecialDataGroup. An empty list can be returned if no SD are available.
![]()
The appropriate MVCI system operation is MCDDbSpecialDataGroup::getItemByIndex
Return Value
The Term returns the value, see table below.
![]()
In OTX, Terms are categorized according to its return data type!
Data Type | Description |
List | Returns a list of DbSpecialDataElement (SD) of the DbSpecialDataGroup. |
Properties
Name | Data Type | Class | Default | Cardinality | Description |
SpecialDataGroup | DbSpecialDataGroup | Term | - | [1..1] | The element addresses the DbSpecialDataGroup (MCDDbSpecialDataGroup) which spacial data elements shall be returned. |
OTL Examples
/// Local Declarations
DiagCom.Result Result;
DiagCom.Response Response;
DiagCom.Parameter Parameter;
DiagDataBrowsingPlus.DbDiagTroubleCode DbDiagTroubleCode;
List<DiagDataBrowsingPlus.DbSpecialDataGroup> List_DbSpecialDataGroup;
List<DiagDataBrowsingPlus.DbSpecialDataElement> List_DbSpecialDataElement;
/// Flow
[#MetaData(RequestPdu), <#Data>19 02 00</#Data>]
DiagCom.ExecuteDiagService(DiagCom.CreateDiagServiceByName(DiagCom.GetComChannel("LL_GatewUDS", "", false), "DiagnServi_ReadDTCInforReporDTCByStatuMask"), {}, {}, Result, NULL, false, false);
Response = DiagCom.GetFirstResponse(Result);
Parameter = DiagCom.GetParameterByPath(Response, {"Param_DTCAndStatuRecor", "STRUC_DTCAndStatuRecor", "Param_DTCUDS"});
DbDiagTroubleCode = DiagDataBrowsingPlus.GetParameterDbDiagTroubleCode(Parameter);
List_DbSpecialDataGroup = DiagDataBrowsingPlus.GetDbDiagTroubleCodeSpecialDataGroups(DbDiagTroubleCode);
List_DbSpecialDataElement = DiagDataBrowsingPlus.GetDbSpecialDataGroupSpecialDataElements(List_DbSpecialDataGroup[0]);
See also
GetComChannel
CreateDiagServiceByName
CreateDiagServiceBySemantic
ExecuteDiagService
GetFirstResponse
GetParameterByPath
GetParameterDbDiagTroubleCode
GetDbDiagServiceDbSpecialDataGroups
GetDbResponseDbSpecialDataGroups
GetDbRequestDbSpecialDataGroups
GetDbDiagTroubleCodeSpecialDataGroups