Difference between revisions of "Extensions.Flash.GetNumberOfOwnIdents"
Jump to navigation
Jump to search
Line 1: | Line 1: | ||
{{DISPLAYTITLE: '''GetNumberOfOwnIdents'''}}[[Category:Flash]] | {{DISPLAYTITLE: '''GetNumberOfOwnIdents'''}}[[Category:Flash]] | ||
== Classification == | == Classification == | ||
− | {{ClassificationActivity | GetNumberOfOwnIdents | | + | {{ClassificationActivity | GetNumberOfOwnIdents | Gets the number of identifications of a block | [[Term]] | [[Extensions.Flash|OTX Flash extension]] | [[Extensions.Flash#Terms|Flash block related terms]] | [[Core.DataTypes.ComplexDataType.OutOfBoundsException|OutOfBoundsException]] | - }} |
== OTL Syntax == | == OTL Syntax == | ||
<syntaxhighlight lang="java" enclose="div" style="font-size: medium;"> | <syntaxhighlight lang="java" enclose="div" style="font-size: medium;"> | ||
− | IntegerTerm = Flash.GetNumberOfOwnIdents(FlashSessionTerm, | + | IntegerTerm = Flash.GetNumberOfOwnIdents(FlashSessionTerm, NumericTerm); |
</syntaxhighlight> | </syntaxhighlight> | ||
== Description == | == Description == | ||
− | The '''GetNumberOfOwnIdents''' term return the number of required and to-be-fulfilled identifications of a block. | + | The '''GetNumberOfOwnIdents''' term shall return the number of required and to-be-fulfilled identifications of a block. |
{{TermReturnValue| [[Core.DataTypes.SimpleDataType.Integer|Integer]] | The number of identifications of a block.}} | {{TermReturnValue| [[Core.DataTypes.SimpleDataType.Integer|Integer]] | The number of identifications of a block.}} | ||
Line 16: | Line 16: | ||
{| {{TableHeader}} | {| {{TableHeader}} | ||
{{TableRowPropertiesHeader}} | {{TableRowPropertiesHeader}} | ||
− | {{TableRowPropertie1| Session | [[Extensions.Flash.FlashSession|FlashSession]] | [[Term]] | - | [1] | This element represents the FlashSession in which the block of interest resides.}} | + | {{TableRowPropertie1| Session | [[Extensions.Flash.FlashSession|FlashSession]] | [[Term]] | - | [1] | This element represents the '''FlashSession''' in which the block of interest resides.}} |
− | {{TableRowPropertie2| Block | [[ | + | {{TableRowPropertie2| Block | [[Numeric]] | [[Term]] | - | [1] | This element provides the number of the block from which the number of identifications shall be retrieved. [[Core.DataTypes.SimpleDataType.Float|Float]] values shall be truncated. }} |
|} | |} | ||
Line 23: | Line 23: | ||
<syntaxhighlight lang="java" enclose="div" style="font-size: medium;"> | <syntaxhighlight lang="java" enclose="div" style="font-size: medium;"> | ||
DiagCom.ComChannel ComChannel1; | DiagCom.ComChannel ComChannel1; | ||
+ | Flash.FlashSession FlashSession1; | ||
List<String> List1; | List<String> List1; | ||
− | |||
Integer Integer1; | Integer Integer1; | ||
− | ComChannel1 = DiagCom.GetComChannel(" | + | /// Flow |
− | List1 = Flash.GetListOfValidFlashSessions(@ | + | |
− | FlashSession1 = Flash.GetFlashSession(List1[ | + | ComChannel1 = DiagCom.GetComChannel("SCHEINWERFER", "SCHEINWERFER_1", false); |
− | Integer1 = Flash.GetNumberOfOwnIdents(FlashSession1, | + | List1 = Flash.GetListOfValidFlashSessions(ComChannel1, @Audience:SUPPLIER, @Directions:DOWNLOAD); |
+ | FlashSession1 = Flash.GetFlashSession(List1[2]); | ||
+ | Integer1 = Flash.GetNumberOfOwnIdents(FlashSession1, 1); | ||
</syntaxhighlight> | </syntaxhighlight> | ||
== See also == | == See also == | ||
[[Extensions.Flash.GetNumberOfSegments|GetNumberOfSegments]] <br/> | [[Extensions.Flash.GetNumberOfSegments|GetNumberOfSegments]] <br/> | ||
+ | <!--[[Extensions.Flash.GetNumberOfOwnIdents|GetNumberOfOwnIdents]] <br/>--> | ||
[[Extensions.Flash.GetNumberOfSecurities|GetNumberOfSecurities]] <br/> | [[Extensions.Flash.GetNumberOfSecurities|GetNumberOfSecurities]] <br/> | ||
[[Extensions.Flash.GetLogicalBlockID|GetLogicalBlockID]] <br/> | [[Extensions.Flash.GetLogicalBlockID|GetLogicalBlockID]] <br/> | ||
[[Extensions.Flash.GetCompressionEncryption|GetCompressionEncryption]] <br/> | [[Extensions.Flash.GetCompressionEncryption|GetCompressionEncryption]] <br/> | ||
[[Extensions.Flash.GetType|GetType]] <br/> | [[Extensions.Flash.GetType|GetType]] <br/> | ||
− | [[Extensions.Flash.BlockIsValidForAudience|BlockIsValidForAudience]] | + | [[Extensions.Flash.BlockIsValidForAudience|BlockIsValidForAudience]]<br/> |
+ | [[Extensions.Flash.GetListOfValidFlashSessions|GetListOfValidFlashSessions]]<br/> | ||
+ | [[Extensions.Flash.GetFlashSession|GetFlashSession]]<br/> | ||
+ | [[Extensions.DiagCom.GetComChannel|GetComChannel]]<br/> |
Revision as of 11:13, 16 October 2018
Contents
Classification
Name | GetNumberOfOwnIdents |
Short Description | Gets the number of identifications of a block |
Class | Term |
Extension | OTX Flash extension |
Group | Flash block related terms |
Exceptions | OutOfBoundsException |
Checker Rules | - |
Standard Compliant | Yes |
OTL Syntax
IntegerTerm = Flash.GetNumberOfOwnIdents(FlashSessionTerm, NumericTerm);
Description
The GetNumberOfOwnIdents term shall return the number of required and to-be-fulfilled identifications of a block.
Return Value
The Term returns the value, see table below.
![]()
In OTX, Terms are categorized according to its return data type!
Data Type | Description |
Integer | The number of identifications of a block. |
Properties
Name | Data Type | Class | Default | Cardinality | Description |
Session | FlashSession | Term | - | [1] | This element represents the FlashSession in which the block of interest resides. |
Block | Numeric | Term | - | [1] | This element provides the number of the block from which the number of identifications shall be retrieved. Float values shall be truncated. |
OTL Examples
DiagCom.ComChannel ComChannel1;
Flash.FlashSession FlashSession1;
List<String> List1;
Integer Integer1;
/// Flow
ComChannel1 = DiagCom.GetComChannel("SCHEINWERFER", "SCHEINWERFER_1", false);
List1 = Flash.GetListOfValidFlashSessions(ComChannel1, @Audience:SUPPLIER, @Directions:DOWNLOAD);
FlashSession1 = Flash.GetFlashSession(List1[2]);
Integer1 = Flash.GetNumberOfOwnIdents(FlashSession1, 1);
See also
GetNumberOfSegments
GetNumberOfSecurities
GetLogicalBlockID
GetCompressionEncryption
GetType
BlockIsValidForAudience
GetListOfValidFlashSessions
GetFlashSession
GetComChannel