Difference between revisions of "Extensions.DiagDataBrowsingPlus.GetDiagServiceDbDiagService"
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; | ||
DiagDataBrowsingPlus.DbComChannel DbComChannel; | DiagDataBrowsingPlus.DbComChannel DbComChannel; | ||
− | |||
DiagDataBrowsingPlus.DbDiagService DbDiagService; | DiagDataBrowsingPlus.DbDiagService DbDiagService; | ||
Line 30: | Line 31: | ||
ComChannel = DiagCom.GetComChannel("LL_GatewUDS", NULL, false); | ComChannel = DiagCom.GetComChannel("LL_GatewUDS", NULL, false); | ||
− | DiagService = DiagCom.CreateDiagServiceByName( | + | DiagService = DiagCom.CreateDiagServiceByName(ComChannel, "DiagnServi_ReadDataByIdentActuaTestStatu"); |
DbDiagService = DiagDataBrowsingPlus.GetDiagServiceDbDiagService(DiagService); | DbDiagService = DiagDataBrowsingPlus.GetDiagServiceDbDiagService(DiagService); | ||
</syntaxhighlight> | </syntaxhighlight> | ||
− | |||
== See also == | == See also == |
Revision as of 08:24, 10 September 2018
Contents
Classification
Name | GetDiagServiceDbDiagService |
Short Description | Returns the the data base part of a diag:DiagService |
Class | Term |
Extension | OTX DiagDataBrowsingPlus extension |
Group | DbDiagService related terms |
Exceptions | NONE |
Checker Rules | - |
Standard Compliant | Yes |
OTL Syntax
DbDiagServiceTerm = DiagDataBrowsingPlus.GetDiagServiceDbDiagService(DiagServiceTerm);
Description
GetDiagServiceDbDiagService returns the data base part (MCDDbDiagComPrimitive) of a diag:DiagService (MCDDiagComPrimitive).
![]()
NOTE — The appropriate MVCI system operation is MCDDiagComPrimitive::getDbObject
Return Value
The Term returns the value, see table below.
![]()
In OTX, Terms are categorized according to its return data type!
Data Type | Description |
DiagService | Returns the data base part (MCDDbDiagComPrimitive) of a diag:DiagService (MCDDiagComPrimitive). |
Properties
Name | Data Type | Class | Default | Cardinality | Description |
diagService | DiagService | Term | - | [1..1] | This element represents the diag:DiagService which data base part shall be returnd. |
OTL Examples
DiagCom.ComChannel ComChannel;
DiagCom.DiagService DiagService;
DiagDataBrowsingPlus.DbComChannel DbComChannel;
DiagDataBrowsingPlus.DbDiagService DbDiagService;
/// Flow
ComChannel = DiagCom.GetComChannel("LL_GatewUDS", NULL, false);
DiagService = DiagCom.CreateDiagServiceByName(ComChannel, "DiagnServi_ReadDataByIdentActuaTestStatu");
DbDiagService = DiagDataBrowsingPlus.GetDiagServiceDbDiagService(DiagService);
See also
GetComChannel
CreateDiagServiceByName
CreateDiagServiceBySemantic
GetComChannelDbComChannel
GetDbComChannel
GetDbComChannelDbDiagServices