Difference between revisions of "Extensions.DiagCom.GetParameterAsList"
Jump to navigation
Jump to search
Line 3: | Line 3: | ||
{{ClassificationActivity | GetParameterAsList | List of parameters within a parameter | [[Term]] | [[DiagCom|OTX DiagCom extension]] | [[Parameter related terms]] | [[TypeMismatchException]] | - }} | {{ClassificationActivity | GetParameterAsList | List of parameters within a parameter | [[Term]] | [[DiagCom|OTX DiagCom extension]] | [[Parameter related terms]] | [[TypeMismatchException]] | - }} | ||
− | == | + | == OTL Syntax == |
<syntaxhighlight lang="java" enclose="div" style="font-size: medium;"> | <syntaxhighlight lang="java" enclose="div" style="font-size: medium;"> | ||
− | + | ListTerm = DiagCom.GetParameterAsList(ParameterContainer); | |
</syntaxhighlight> | </syntaxhighlight> | ||
Line 19: | Line 19: | ||
|} | |} | ||
− | == Examples == | + | == OTL Examples == |
<syntaxhighlight lang="java" enclose="div" style="font-size: medium;"> | <syntaxhighlight lang="java" enclose="div" style="font-size: medium;"> | ||
− | List<Parameter> | + | DiagCom.Request Request1; |
+ | List<DiagCom.Parameter> List1; | ||
+ | DiagCom.ComChannel ComChannel1; | ||
+ | |||
+ | ComChannel1 = DiagCom.GetComChannel("LL_ActuaForStrucBorneSoundUDS", null, false); | ||
+ | Request1 = DiagCom.GetRequest(DiagCom.CreateDiagServiceByName(ComChannel1, "DiagnServi_ReadDataByIdentActuaTestStatu")); | ||
+ | List1 = DiagCom.GetParameterAsList(Request1); | ||
</syntaxhighlight> | </syntaxhighlight> | ||
Revision as of 03:17, 6 February 2015
Contents
Classification
Name | GetParameterAsList |
Short Description | List of parameters within a parameter |
Class | Term |
Extension | OTX DiagCom extension |
Group | Parameter related terms |
Exceptions | TypeMismatchException |
Checker Rules | - |
Standard Compliant | Yes |
OTL Syntax
ListTerm = DiagCom.GetParameterAsList(ParameterContainer);
Description
The GetParameterAsList term is a list of parameters within a parameter back. The prerequisite is that the parameter consists of a set of individual parameters of the same type, such as in an array.
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 | List of parameter (Type Parameter) |
Properties
Name | Data Type | Class | Default | Cardinality | Description |
ParameterContainer | ParameterContainer | Term | - | [1] | The container of the parameter. |
OTL Examples
DiagCom.Request Request1;
List<DiagCom.Parameter> List1;
DiagCom.ComChannel ComChannel1;
ComChannel1 = DiagCom.GetComChannel("LL_ActuaForStrucBorneSoundUDS", null, false);
Request1 = DiagCom.GetRequest(DiagCom.CreateDiagServiceByName(ComChannel1, "DiagnServi_ReadDataByIdentActuaTestStatu"));
List1 = DiagCom.GetParameterAsList(Request1);