Difference between revisions of "Extensions.DiagDataBrowsingPlus.IsParameterConstant"
Jump to navigation
Jump to search
(5 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
{{DISPLAYTITLE:OTX '''IsParameterConstant'''}}[[Category:DiagDataBrowsingPlus]] | {{DISPLAYTITLE:OTX '''IsParameterConstant'''}}[[Category:DiagDataBrowsingPlus]] | ||
== Classification == | == Classification == | ||
− | {{ClassificationActivity | IsParameterConstant| Checks whether the [[Extensions.DiagCom.Parameter|diag:Parameter]] is constant or not| [[Term]] | [[Extensions.DiagDataBrowsingPlus|OTX DiagDataBrowsingPlus extension]] | [[Extensions.DiagDataBrowsingPlus|Parameter related terms]] | NONE | - }} | + | {{ClassificationActivity | IsParameterConstant| Checks whether the [[Extensions.DiagCom.Parameter|diag:Parameter]] is constant or not| [[Term]] | [[Extensions.DiagDataBrowsingPlus|OTX DiagDataBrowsingPlus extension]] | [[Extensions.DiagDataBrowsingPlus#Terms|Parameter 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;"> | ||
− | BooleanTerm | + | BooleanTerm DiagDataBrowsingPlus.IsParameterConstant(ParameterTerm parameter); |
</syntaxhighlight> | </syntaxhighlight> | ||
Line 11: | Line 11: | ||
'''IsParameterConstant''' returns true whether this [[Extensions.DiagCom.Parameter|parameter]] is of type CODED-CONST, NRC_CONST or PHYS-CONST. In all other cases it returns false. | '''IsParameterConstant''' returns true whether this [[Extensions.DiagCom.Parameter|parameter]] is of type CODED-CONST, NRC_CONST or PHYS-CONST. In all other cases it returns false. | ||
− | {{Note| | + | {{Note|The appropriate MVCI system operation is MCDParameter::getMCDParameterType}} |
− | {{Note| | + | {{Note|This term is introduced to complete the existing terms in the [[Extensions.DiagDataBrowsing|DiagDataBrowsing extension]] (ISO 13209 Part-3 [3]) that uses ParameterTerms. This completion primarily enables a generically interpretation of responses by using runtime [[Extensions.DiagCom.Parameter|parameters]] without using [[Extensions.DiagDataBrowsingPlus.DbParameter|DbParameters]].}} |
{{TermReturnValue| [[Core.DataTypes.SimpleDataType.Boolean|Boolean]] | Returns true whether this [[Extensions.DiagCom.Parameter|parameter]] is of type CODED-CONST, NRC_CONST or PHYS-CONST.}} | {{TermReturnValue| [[Core.DataTypes.SimpleDataType.Boolean|Boolean]] | Returns true whether this [[Extensions.DiagCom.Parameter|parameter]] is of type CODED-CONST, NRC_CONST or PHYS-CONST.}} | ||
Line 20: | Line 20: | ||
{| {{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; |
Latest revision as of 08:24, 2 November 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
BooleanTerm DiagDataBrowsingPlus.IsParameterConstant(ParameterTerm parameter);
Description
IsParameterConstant returns true whether this parameter is of type CODED-CONST, NRC_CONST or PHYS-CONST. In all other cases it returns false.
![]()
The appropriate MVCI system operation is MCDParameter::getMCDParameterType
![]()
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