Difference between revisions of "Extensions.DiagDataBrowsingPlus.IsParameterConstant"
Jump to navigation
Jump to search
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;"> | ||
− | + | /// Local Declarations | |
+ | Boolean BooleanVariable; | ||
+ | /// Flow | ||
+ | BooleanVariable = DiagDataBrowsingPlus.IsParameterConstant(ParameterTerm); | ||
</syntaxhighlight> | </syntaxhighlight> | ||
Line 20: | Line 23: | ||
{| {{TableHeader}} | {| {{TableHeader}} | ||
{{TableRowPropertiesHeader}} | {{TableRowPropertiesHeader}} | ||
− | {{TableRowPropertie2| | + | {{TableRowPropertie2| Parameter|[[Extensions.DiagCom.Parameter|Parameter]] | [[Term]] | - | [1..1] |The element addresses the '''diag:Parameter''' (MCDParameter) which is checked whether it is constant or not.}} |
|} | |} | ||
== 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.Parameter Parameter; | DiagCom.Parameter Parameter; | ||
Boolean MyBoolean; | Boolean MyBoolean; |
Revision as of 09:57, 24 October 2018
Contents
Classification
Name | IsParameterConstant |
Short Description | Checks whether the diag:Parameter is constant or not |
Class | Term |
Extension | OTX DiagDataBrowsingPlus extension |
Group | Parameter related terms |
Exceptions | NONE |
Checker Rules | - |
Standard Compliant | Yes |
OTL Syntax
/// Local Declarations
Boolean BooleanVariable;
/// Flow
BooleanVariable = DiagDataBrowsingPlus.IsParameterConstant(ParameterTerm);
Description
IsParameterConstant returns true whether this parameter is of type CODED-CONST, NRC_CONST or PHYS-CONST. In all other cases it returns false.
![]()
NOTE — The appropriate MVCI system operation is MCDParameter::getMCDParameterType
![]()
NOTE — This term is introduced to complete the existing terms in the DiagDataBrowsing extension (ISO 13209 Part-3 [3]) that uses ParameterTerms. This completion primarily enables a generically interpretation of responses by using runtime parameters without using DbParameters.
Return Value
The Term returns the value, see table below.
![]()
In OTX, Terms are categorized according to its return data type!
Data Type | Description |
Boolean | Returns true whether this parameter is of type CODED-CONST, NRC_CONST or PHYS-CONST. |
Properties
Name | Data Type | Class | Default | Cardinality | Description |
Parameter | Parameter | Term | - | [1..1] | The element addresses the diag:Parameter (MCDParameter) which is checked whether it is constant or not. |
OTL Examples
/// Local Declarations
DiagCom.Parameter Parameter;
Boolean MyBoolean;
/// Flow
Parameter = DiagCom.GetParameterByPath(DiagCom.GetRequest(DiagCom.CreateDiagServiceByName(DiagCom.GetComChannel("LL_GatewUDS", "", false), "DiagnServi_ReadDataByIdentActuaTestStatu")), {"Param_RequeServiId"});
MyBoolean = DiagDataBrowsingPlus.IsParameterConstant(Parameter);
See also
GetComChannel
CreateDiagServiceByName
CreateDiagServiceBySemantic
ExecuteDiagService
GetFirstResponse
GetRequest
GetParameterByPath
GetParameterBySemantic