Difference between revisions of "Extensions.DiagDataBrowsing.IsByteFieldParameter"
Jump to navigation
Jump to search
(Created page with "Category:DiagDataBrowsing == Classification == {{ClassificationActivity | IsByteFieldParameter | Checks if the parameter is of type ByteField | Term | DiagDataBrowsi...") |
|||
Line 3: | Line 3: | ||
{{ClassificationActivity | IsByteFieldParameter | Checks if the parameter is of type ByteField | [[Term]] | [[DiagDataBrowsing|OTX DiagDataBrowsing extension]] | [[DiagDataBrowsing terms]] | - | - }} | {{ClassificationActivity | IsByteFieldParameter | Checks if the parameter is of type ByteField | [[Term]] | [[DiagDataBrowsing|OTX DiagDataBrowsing extension]] | [[DiagDataBrowsing terms]] | - | - }} | ||
− | == | + | == OTL Syntax == |
<syntaxhighlight lang="java" enclose="div" style="font-size: medium;"> | <syntaxhighlight lang="java" enclose="div" style="font-size: medium;"> | ||
− | + | BooleanTerm = DiagDataBrowsing.IsByteFieldParameter(ParameterTerm); | |
</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;"> | ||
− | Boolean | + | DiagCom.ComChannel ComChannel1; |
+ | DiagCom.DiagService DiagService1; | ||
+ | DiagCom.Parameter Parameter1; | ||
+ | DiagCom.Request Request1; | ||
+ | Boolean Boolean1 = false; | ||
+ | List<String> List1; | ||
+ | |||
+ | ComChannel1 = DiagCom.GetComChannel("LL_AccesStartInterUDS", "", false); | ||
+ | DiagService1 = DiagCom.CreateDiagServiceByName(ComChannel1, "DiagnServi_ReadDataByIdentActuaTestStatu"); | ||
+ | List1 = DiagDataBrowsing.GetRequestParameterList(DiagService1); | ||
+ | Request1 = DiagCom.GetRequest(DiagService1); | ||
+ | Parameter1 = DiagCom.GetParameterByPath(Request1, {List1[0]}); | ||
+ | Boolean1 = DiagDataBrowsing.IsByteFieldParameter(Parameter1); | ||
</syntaxhighlight> | </syntaxhighlight> | ||
Revision as of 08:47, 6 February 2015
Contents
Classification
Name | IsByteFieldParameter |
Short Description | Checks if the parameter is of type ByteField |
Class | Term |
Extension | OTX DiagDataBrowsing extension |
Group | DiagDataBrowsing terms |
Exceptions | - |
Checker Rules | - |
Standard Compliant | Yes |
OTL Syntax
BooleanTerm = DiagDataBrowsing.IsByteFieldParameter(ParameterTerm);
Description
IsByteFieldParameter will return TRUE if the specified parameter if and only represents a ByteField value as defined in the diagnostic database.
Return Value
The Term returns the value, see table below.
![]()
In OTX, Terms are categorized according to its return data type!
Data Type | Description |
Booelan | Returns TRUE if exactly then the specified parameter is a ByteField value as defined in the diagnostic database |
Properties
Name | Data Type | Class | Default | Cardinality | Description |
Parameter | Parameter | Term | - | [1] | The request or response parameter that is checked by Type |
OTL Examples
DiagCom.ComChannel ComChannel1;
DiagCom.DiagService DiagService1;
DiagCom.Parameter Parameter1;
DiagCom.Request Request1;
Boolean Boolean1 = false;
List<String> List1;
ComChannel1 = DiagCom.GetComChannel("LL_AccesStartInterUDS", "", false);
DiagService1 = DiagCom.CreateDiagServiceByName(ComChannel1, "DiagnServi_ReadDataByIdentActuaTestStatu");
List1 = DiagDataBrowsing.GetRequestParameterList(DiagService1);
Request1 = DiagCom.GetRequest(DiagService1);
Parameter1 = DiagCom.GetParameterByPath(Request1, {List1[0]});
Boolean1 = DiagDataBrowsing.IsByteFieldParameter(Parameter1);
See also
IsBooleanParameter
IsStringParameter
IsNumericParameter
IsComplexParameter