Difference between revisions of "Extensions.DiagDataBrowsingPlus.GetIntervalUpperLimitTypeAsString"

From emotive
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;">
/// Local Declarations
+
StringTerm DiagDataBrowsingPlus.GetIntervalUpperLimitTypeAsString(IntervalTerm interval);
String StringVariable;
 
/// Flow
 
StringVariable = DiagDataBrowsingPlus.GetIntervalUpperLimitTypeAsString(IntervalTerm);
 
 
</syntaxhighlight>
 
</syntaxhighlight>
  
Line 14: Line 11:
 
'''GetIntervalUpperLimitTypeAsString''' returns the upper limit type of the text table element of the parameter as [[Core.DataTypes.SimpleDataType.String|string]]. Valid values are "eLIMIT_CLOSED", "eLIMIT_INFINITE", "eLIMIT_OPEN".
 
'''GetIntervalUpperLimitTypeAsString''' returns the upper limit type of the text table element of the parameter as [[Core.DataTypes.SimpleDataType.String|string]]. Valid values are "eLIMIT_CLOSED", "eLIMIT_INFINITE", "eLIMIT_OPEN".
  
{{Note|NOTE — The appropriate MVCI system operation is MCDInterval::getUpperLimitIntervalType}}
+
{{Note|The appropriate MVCI system operation is MCDInterval::getUpperLimitIntervalType}}
  
 
{{TermReturnValue| [[Core.DataTypes.SimpleDataType.String|String]] | Returns the upper limit type of the text table element of the parameter.}}
 
{{TermReturnValue| [[Core.DataTypes.SimpleDataType.String|String]] | Returns the upper limit type of the text table element of the parameter.}}
Line 21: Line 18:
 
{| {{TableHeader}}
 
{| {{TableHeader}}
 
{{TableRowPropertiesHeader}}
 
{{TableRowPropertiesHeader}}
{{TableRowPropertie2| interval|[[Extensions.DiagDataBrowsingPlus.Interval|Interval]] | [[Term]] | - | [1..1] |The element addresses the '''Interval'''  (MCDInterval) which upper limit type shall be returned.}}
+
{{TableRowPropertie2| Interval|[[Extensions.DiagDataBrowsingPlus.Interval|Interval]] | [[Term]] | - | [1..1] |The element addresses the '''Interval'''  (MCDInterval) which upper limit type shall be returned.}}
 
|}
 
|}
  

Latest revision as of 08:40, 2 November 2018

Classification

Name GetIntervalUpperLimitTypeAsString
Short Description Gets the upper limit type of the Interval
Class Term
Extension OTX DiagDataBrowsingPlus extension
Group Interval related terms
Exceptions NONE
Checker Rules -
Standard Compliant Yes

OTL Syntax

StringTerm DiagDataBrowsingPlus.GetIntervalUpperLimitTypeAsString(IntervalTerm interval);

Description

GetIntervalUpperLimitTypeAsString returns the upper limit type of the text table element of the parameter as string. Valid values are "eLIMIT_CLOSED", "eLIMIT_INFINITE", "eLIMIT_OPEN".

Icons Note.png The appropriate MVCI system operation is MCDInterval::getUpperLimitIntervalType

Return Value

The Term returns the value, see table below.

Icons Note.png In OTX, Terms are categorized according to its return data type!
Data Type Description
String Returns the upper limit type of the text table element of the parameter.

Properties

Name Data Type Class Default Cardinality Description
Interval Interval Term - [1..1] The element addresses the Interval (MCDInterval) which upper limit type shall be returned.

OTL Examples

/// Local Declarations

DiagCom.Parameter Parameter;
DiagDataBrowsingPlus.DbParameter DbParameter;
List<DiagDataBrowsingPlus.Interval> List_Interval;
String MyString;

/// Flow

Parameter = DiagCom.GetParameterByPath(DiagCom.GetRequest(DiagCom.CreateDiagServiceByName(DiagCom.GetComChannel("AIRBAG", "", false), "DiagnServi_ClearDiagnInforSingle")), {"Dtc"});
DbParameter = DiagDataBrowsingPlus.GetParameterDbParameter(Parameter);
List_Interval = DiagDataBrowsingPlus.GetDbParameterValidInternalIntervals(DbParameter);
MyString = DiagDataBrowsingPlus.GetIntervalUpperLimitTypeAsString(List_Interval[0]);

See also

GetComChannel
CreateDiagServiceByName
CreateDiagServiceBySemantic
ExecuteDiagService
GetFirstResponse
GetRequest
GetParameterByPath
GetDbParameterValidInternalIntervals
GetDbParameterValidPhysicalIntervals