Difference between revisions of "Extensions.DiagDataBrowsingPlus.GetDbDiagServiceAudienceStates"
Jump to navigation
Jump to search
Line 23: | Line 23: | ||
== OTL Examples == | == OTL Examples == | ||
<syntaxhighlight lang="java" enclose="div" style="font-size: medium;"> | <syntaxhighlight lang="java" enclose="div" style="font-size: medium;"> | ||
− | + | DiagCom.ComChannel ComChannel; | |
− | + | DiagCom.DiagService DiagService; | |
List<String> List_String; | List<String> List_String; | ||
+ | DiagDataBrowsingPlus.DbDiagService DbDiagService; | ||
/// Flow | /// Flow | ||
− | + | ComChannel = DiagCom.GetComChannel("LL_GatewUDS", NULL, false); | |
− | + | DiagService = DiagCom.CreateDiagServiceByName(ComChannel, "DiagnServi_ReadDataByIdentActuaTestStatu"); | |
− | List_String = DiagDataBrowsingPlus.GetDbDiagServiceAudienceStates( | + | DbDiagService = DiagDataBrowsingPlus.GetDiagServiceDbDiagService(DiagService); |
+ | List_String = DiagDataBrowsingPlus.GetDbDiagServiceAudienceStates(DbDiagService); | ||
</syntaxhighlight> | </syntaxhighlight> | ||
− | |||
== See also == | == See also == |
Revision as of 08:27, 10 September 2018
Contents
Classification
Name | GetDbDiagServiceAudienceStates |
Short Description | Returns a list of strings of all audience attribute names |
Class | Term |
Extension | OTX DiagDataBrowsingPlus extension |
Group | DbDiagService related terms |
Exceptions | NONE |
Checker Rules | - |
Standard Compliant | Yes |
OTL Syntax
ListTerm = DiagDataBrowsingPlus.GetDbDiagServiceAudienceStates(DbDiagServiceTerm);
Description
GetDbDiagServiceAudienceStates returns a list of strings of all audience attribute names, whose are set to true for this DiagService in ODX. Valid names are "isAfterMarket", "isAfterSales", "isDevelopment", "isManufacturing", "isSupplier".
![]()
NOTE — The appropriate MVCI system operation is MCDDbDataPrimitive::getAudienceState
Return Value
The Term returns the value, see table below.
![]()
In OTX, Terms are categorized according to its return data type!
Data Type | Description |
List | Returns a list of strings of all audience attribute names |
Properties
Name | Data Type | Class | Default | Cardinality | Description |
dbDiagService | DbDiagService | Term | - | [1..1] | The element addresses the DbDiagService whose audience states shall be returned. |
OTL Examples
DiagCom.ComChannel ComChannel;
DiagCom.DiagService DiagService;
List<String> List_String;
DiagDataBrowsingPlus.DbDiagService DbDiagService;
/// Flow
ComChannel = DiagCom.GetComChannel("LL_GatewUDS", NULL, false);
DiagService = DiagCom.CreateDiagServiceByName(ComChannel, "DiagnServi_ReadDataByIdentActuaTestStatu");
DbDiagService = DiagDataBrowsingPlus.GetDiagServiceDbDiagService(DiagService);
List_String = DiagDataBrowsingPlus.GetDbDiagServiceAudienceStates(DbDiagService);
See also
GetComChannelDbComChannel
GetDbComChannel
GetDbComChannelDbDiagServices