Difference between revisions of "Extensions.DiagDataBrowsingPlus.GetDbParameterValidPhysicalIntervals"

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;">
ListTerm = DiagDataBrowsingPlus.GetDbParameterValidPhysicalIntervals(DbParameterTerm);
+
ListTerm DiagDataBrowsingPlus.GetDbParameterValidPhysicalIntervals(DbParameterTerm dbParameter);
 
</syntaxhighlight>
 
</syntaxhighlight>
  
 
== Description ==
 
== Description ==
'''GetDbParameterValidPhysicalIntervals''' returns the [[Core.DataTypes.ComplexDataType.ContainerDataType.List|list]] of valid physical [[Extensions.DiagDataBrowsingPlus.Interval|interval]] objects defined by the intersection of COMPUSCALE intervals and valid ranges in ODX. The listmight be empty.
+
'''GetDbParameterValidPhysicalIntervals''' returns the [[Core.DataTypes.ComplexDataType.ContainerDataType.List|list]] of valid physical [[Extensions.DiagDataBrowsingPlus.Interval|interval]] objects defined by the intersection of COMPUSCALE intervals and valid ranges in ODX. The list might be empty.
  
{{Note|NOTE — The appropriate MVCI system operation is MCDDbParameter::getValidPhysicalIntervals}}
+
{{Note|The appropriate MVCI system operation is MCDDbParameter::getValidPhysicalIntervals}}
  
 
{{TermReturnValue| [[Core.DataTypes.ComplexDataType.ContainerDataType.List|List]] | Returns a list of valid physical [[Extensions.DiagDataBrowsingPlus.Interval|interval]] objects.}}
 
{{TermReturnValue| [[Core.DataTypes.ComplexDataType.ContainerDataType.List|List]] | Returns a list of valid physical [[Extensions.DiagDataBrowsingPlus.Interval|interval]] objects.}}
Line 18: Line 18:
 
{| {{TableHeader}}
 
{| {{TableHeader}}
 
{{TableRowPropertiesHeader}}
 
{{TableRowPropertiesHeader}}
{{TableRowPropertie2| dbParameter|[[Extensions.DiagDataBrowsingPlus.DbParameter|DbParameter]] | [[Term]] | - | [1..1] |The element addresses the '''DbParameter''' (MCDDbParameter) which valid physical intervals shall be returned.}}
+
{{TableRowPropertie2| DbParameter|[[Extensions.DiagDataBrowsingPlus.DbParameter|DbParameter]] | [[Term]] | - | [1..1] |The element addresses the '''DbParameter''' (MCDDbParameter) which valid physical intervals shall be returned.}}
 
|}
 
|}
  
 
== 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;
 
DiagDataBrowsingPlus.DbParameter DbParameter;
 
DiagDataBrowsingPlus.DbParameter DbParameter;

Latest revision as of 08:41, 2 November 2018

Classification

Name GetDbParameterValidPhysicalIntervals
Short Description Gets the valid physical intervals of the DbParameter
Class Term
Extension OTX DiagDataBrowsingPlus extension
Group Interval related terms
Exceptions NONE
Checker Rules -
Standard Compliant Yes

OTL Syntax

ListTerm DiagDataBrowsingPlus.GetDbParameterValidPhysicalIntervals(DbParameterTerm dbParameter);

Description

GetDbParameterValidPhysicalIntervals returns the list of valid physical interval objects defined by the intersection of COMPUSCALE intervals and valid ranges in ODX. The list might be empty.

Icons Note.png The appropriate MVCI system operation is MCDDbParameter::getValidPhysicalIntervals

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
List Returns a list of valid physical interval objects.

Properties

Name Data Type Class Default Cardinality Description
DbParameter DbParameter Term - [1..1] The element addresses the DbParameter (MCDDbParameter) which valid physical intervals shall be returned.

OTL Examples

/// Local Declarations

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

/// Flow

Parameter = DiagCom.GetParameterByPath(DiagCom.GetRequest(DiagCom.CreateDiagServiceByName(DiagCom.GetComChannel("AIRBAG", "", false), "DiagnServi_ClearDiagnInforSingle")), {"Dtc"});
DbParameter = DiagDataBrowsingPlus.GetParameterDbParameter(Parameter);
List_Interval = DiagDataBrowsingPlus.GetDbParameterValidPhysicalIntervals(DbParameter);

See also

GetComChannel
CreateDiagServiceByName
CreateDiagServiceBySemantic
ExecuteDiagService
GetFirstResponse
GetRequest
GetParameterByPath
GetParameterDbParameter