Difference between revisions of "Extensions.DiagDataBrowsingPlus.IsDbDiagServiceJob"
Jump to navigation
Jump to search
Line 1: | Line 1: | ||
{{DISPLAYTITLE:OTX '''IsDbDiagServiceJob'''}}[[Category:DiagDataBrowsingPlus]] | {{DISPLAYTITLE:OTX '''IsDbDiagServiceJob'''}}[[Category:DiagDataBrowsingPlus]] | ||
== Classification == | == Classification == | ||
− | {{ClassificationActivity | IsDbDiagServiceJob | | + | {{ClassificationActivity | IsDbDiagServiceJob | Checks whether the [[Extensions.DiagDataBrowsingPlus.DbDiagService|DbDiagService]] is a job or not. | [[Term]] | [[Extensions.DiagDataBrowsingPlus|OTX DiagDataBrowsingPlus extension]] | [[Extensions.DiagDataBrowsingPlus|DbDiagService related terms]] | NONE | - }} |
== OTL Syntax == | == OTL Syntax == | ||
− | |||
<syntaxhighlight lang="java" enclose="div" style="font-size: medium;"> | <syntaxhighlight lang="java" enclose="div" style="font-size: medium;"> | ||
− | + | BooleanTerm = DiagDataBrowsingPlus.IsDbDiagServiceJob(DbDiagServiceTerm); | |
</syntaxhighlight> | </syntaxhighlight> | ||
− | |||
== Description == | == Description == | ||
− | + | '''IsDbDiagServiceJob''' returns True if the DbDiagService is a job otherwise False. It returns only True if the method getOjectType returns eMCDMULTIPLEECUJOB, eMCDFLASHJOB or eMCDSINGLEECUJOB. | |
− | + | ||
− | {{ | + | {{Note|NOTE — The appropriate MVCI system operation is MCDDbDiagComPrimitive::getObjectType}} |
− | {{ | + | |
− | + | {{TermReturnValue| [[Core.DataTypes.SimpleDataType.Boolean|Boolean]] | Returns True if the DbDiagService is a job otherwise False.}} | |
== Properties == | == Properties == | ||
− | |||
{| {{TableHeader}} | {| {{TableHeader}} | ||
{{TableRowPropertiesHeader}} | {{TableRowPropertiesHeader}} | ||
− | {{TableRowPropertie1| | + | {{TableRowPropertie1| diagService | [[Extensions.DiagCom.DiagService|DiagService]] | [[Term]] | - | [1..1] | The element addresses the [[Extensions.DiagCom.DiagService|DiagService]] which is checked whether it is a job or not.}} |
|} | |} | ||
− | |||
== OTL Examples == | == OTL Examples == | ||
− | |||
<syntaxhighlight lang="java" enclose="div" style="font-size: medium;"> | <syntaxhighlight lang="java" enclose="div" style="font-size: medium;"> | ||
− | DiagCom.ComChannel | + | DiagCom.ComChannel ComChannel; |
+ | DiagCom.DiagService DiagService; | ||
+ | DiagDataBrowsingPlus.DbDiagService DbDiagService; | ||
+ | Boolean MyBoolean = false; | ||
− | + | /// Flow | |
− | + | ComChannel = DiagCom.GetComChannel("LL_GatewUDS", NULL, false); | |
− | + | DiagService = DiagCom.CreateDiagServiceByName(ComChannel, "DiagnServi_ReadDataByIdentActuaTestStatu"); | |
− | + | DbDiagService = DiagDataBrowsingPlus.GetDiagServiceDbDiagService(DiagService); | |
+ | MyBoolean = DiagDataBrowsingPlus.IsDbDiagServiceJob(DbDiagService); | ||
</syntaxhighlight> | </syntaxhighlight> | ||
− | |||
== See also == | == See also == | ||
− | + | [[Extensions.DiagCom.GetComChannel|GetComChannel]] <br/> | |
+ | [[Extensions.DiagCom.CreateDiagServiceByName|CreateDiagServiceByName]] <br/> | ||
+ | [[Extensions.DiagCom.CreateDiagServiceBySemantic|CreateDiagServiceBySemantic]] <br/> | ||
+ | [[Extensions.DiagDataBrowsingPlus.GetComChannelDbComChannel|GetComChannelDbComChannel]] <br/> | ||
+ | [[Extensions.DiagDataBrowsingPlus.GetDbComChannel|GetDbComChannel]] <br/> | ||
+ | [[Extensions.DiagDataBrowsingPlus.GetDbComChannelDbDiagServices|GetDbComChannelDbDiagServices]] |
Revision as of 09:05, 10 September 2018
Contents
Classification
Name | IsDbDiagServiceJob |
Short Description | Checks whether the DbDiagService is a job or not. |
Class | Term |
Extension | OTX DiagDataBrowsingPlus extension |
Group | DbDiagService related terms |
Exceptions | NONE |
Checker Rules | - |
Standard Compliant | Yes |
OTL Syntax
BooleanTerm = DiagDataBrowsingPlus.IsDbDiagServiceJob(DbDiagServiceTerm);
Description
IsDbDiagServiceJob returns True if the DbDiagService is a job otherwise False. It returns only True if the method getOjectType returns eMCDMULTIPLEECUJOB, eMCDFLASHJOB or eMCDSINGLEECUJOB.
![]()
NOTE — The appropriate MVCI system operation is MCDDbDiagComPrimitive::getObjectType
Return Value
The Term returns the value, see table below.
![]()
In OTX, Terms are categorized according to its return data type!
Data Type | Description |
Boolean | Returns True if the DbDiagService is a job otherwise False. |
Properties
Name | Data Type | Class | Default | Cardinality | Description |
diagService | DiagService | Term | - | [1..1] | The element addresses the DiagService which is checked whether it is a job or not. |
OTL Examples
DiagCom.ComChannel ComChannel;
DiagCom.DiagService DiagService;
DiagDataBrowsingPlus.DbDiagService DbDiagService;
Boolean MyBoolean = false;
/// Flow
ComChannel = DiagCom.GetComChannel("LL_GatewUDS", NULL, false);
DiagService = DiagCom.CreateDiagServiceByName(ComChannel, "DiagnServi_ReadDataByIdentActuaTestStatu");
DbDiagService = DiagDataBrowsingPlus.GetDiagServiceDbDiagService(DiagService);
MyBoolean = DiagDataBrowsingPlus.IsDbDiagServiceJob(DbDiagService);
See also
GetComChannel
CreateDiagServiceByName
CreateDiagServiceBySemantic
GetComChannelDbComChannel
GetDbComChannel
GetDbComChannelDbDiagServices