Extensions.DiagCom.IsVariant

From emotive
Revision as of 04:17, 16 July 2014 by Nb (talk | contribs) (Created page with "Category:DiagCom == Classification == {{ClassificationActivity | IsVariant | Tests the name of a control device variant for a communication channel | Term | DiagCom|...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Classification

Name IsVariant
Short Description Tests the name of a control device variant for a communication channel
Class Term
Extension OTX DiagCom extension
Group ComChanel related terms
Exceptions -
Checker Rules -
Standard Compliant Yes

Pseudo-Code Syntax

IsVariant(ComChannel myComChannel, String ecuVariantName);

Description

The IsVariant term tests whether the name of the specified control units version matches the version of the given communication channel, see Variant Identification.

Properties

Name Data Type Class Default Cardinality Description
ComChannel ComChannel Term - [1] Communication channel.
EcuVariant String Term - [1] Name of the ECU variant.
IsVariant Booelan Return - - True if the version matches, false otherwise.

Examples

ComChannel myComCannel = GetComChannel("LL_AirbaUDS", "", false);
Boolean result = IsVariant(myComCannel, "ecuVariantName");

See also

GetComChannelIdentifierFromResponse
GetComChannel
GetComChannelEcuVariantName