Difference between revisions of "Extensions.DiagDataBrowsingPlus.GetIntervalUpperLimitTypeAsString"

From emotive
Jump to navigation Jump to search
Line 9: Line 9:
  
 
== Description ==
 
== Description ==
'''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|NOTE — The appropriate MVCI system operation is MCDInterval::getUpperLimitIntervalType}}

Revision as of 03:46, 20 September 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);

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 NOTE — 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

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