Difference between revisions of "Extensions.DiagDataBrowsingPlus.IsDbDiagServiceJob"

From emotive
Jump to navigation Jump to search
Line 9: Line 9:
  
 
== 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.
+
'''IsDbDiagServiceJob''' returns True if the [[Extensions.DiagDataBrowsingPlus.DbDiagService|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}}
 
{{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.}}
+
{{TermReturnValue| [[Core.DataTypes.SimpleDataType.Boolean|Boolean]] | Returns True if the [[Extensions.DiagDataBrowsingPlus.DbDiagService|DbDiagService]] is a job otherwise False.}}
  
 
== Properties ==
 
== Properties ==

Revision as of 02:42, 21 September 2018

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.

Icons Note.png NOTE — The appropriate MVCI system operation is MCDDbDiagComPrimitive::getObjectType

Return Value

The Term returns the value, see table below.

Icons Note.png 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
DbDiagService DbDiagService Term - [1..1] The element addresses the DbDiagService 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