Difference between revisions of "Extensions.DiagDataBrowsingPlus.GetDbDiagServiceIsApiExecutable"

From emotive
Jump to navigation Jump to search
 
(8 intermediate revisions by the same user not shown)
Line 1: Line 1:
 
{{DISPLAYTITLE:OTX '''GetDbDiagServiceIsApiExecutable'''}}[[Category:DiagDataBrowsingPlus]]
 
{{DISPLAYTITLE:OTX '''GetDbDiagServiceIsApiExecutable'''}}[[Category:DiagDataBrowsingPlus]]
 
== Classification ==
 
== Classification ==
{{ClassificationActivity | GetDbDiagServiceIsApiExecutable | Returns the information from the data base | [[Term]] | [[Extensions.DiagDataBrowsingPlus|OTX DiagDataBrowsingPlus extension]] | [[Extensions.DiagDataBrowsingPlus|DbDiagService related terms]] | NONE | - }}
+
{{ClassificationActivity | GetDbDiagServiceIsApiExecutable | Checks the executable state of the [[Extensions.DiagDataBrowsingPlus.DbDiagService|DbDiagService]]| [[Term]] | [[Extensions.DiagDataBrowsingPlus|OTX DiagDataBrowsingPlus extension]] | [[Extensions.DiagDataBrowsingPlus#Terms|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.GetDbDiagServiceIsApiExecutable(DbDiagServiceTerm);
+
BooleanTerm DiagDataBrowsingPlus.GetDbDiagServiceIsApiExecutable(DbDiagServiceTerm dbDiagService);
 
</syntaxhighlight>
 
</syntaxhighlight>
  
Line 11: Line 11:
 
'''GetDbDiagServiceIsApiExecutable''' returns the information from the data base, if this [[Extensions.DiagDataBrowsingPlus.DbDiagService|DbDiagService]] is executable at the interface (True) or only within the D-System (False).
 
'''GetDbDiagServiceIsApiExecutable''' returns the information from the data base, if this [[Extensions.DiagDataBrowsingPlus.DbDiagService|DbDiagService]] is executable at the interface (True) or only within the D-System (False).
  
{{Note|NOTE — The appropriate MVCI system operation is MCDDbDiagComPrimitive::isApiExecutable}}
+
{{Note|The appropriate MVCI system operation is MCDDbDiagComPrimitive::isApiExecutable}}
  
 
{{TermReturnValue| [[Core.DataTypes.SimpleDataType.Boolean|Boolean]] | Returns the information from the data base, if this [[Extensions.DiagDataBrowsingPlus.DbDiagService|DbDiagService]] is executable at the interface (True) or only within the D-System (False).}}
 
{{TermReturnValue| [[Core.DataTypes.SimpleDataType.Boolean|Boolean]] | Returns the information from the data base, if this [[Extensions.DiagDataBrowsingPlus.DbDiagService|DbDiagService]] is executable at the interface (True) or only within the D-System (False).}}
Line 18: Line 18:
 
{| {{TableHeader}}
 
{| {{TableHeader}}
 
{{TableRowPropertiesHeader}}
 
{{TableRowPropertiesHeader}}
{{TableRowPropertie1| dbDiagService | [[Extensions.DiagDataBrowsingPlus.DbDiagService|DbDiagService]] | [[Term]] | - | [1..1] | The element addresses the [[Extensions.DiagDataBrowsingPlus.DbDiagService|DbDiagService]] whose executable state shall be returned.}}
+
{{TableRowPropertie2| DbDiagService | [[Extensions.DiagDataBrowsingPlus.DbDiagService|DbDiagService]] | [[Term]] | - | [1..1] | The element addresses the '''DbDiagService''' whose executable state shall be returned.}}
 
|}
 
|}
  
 
== OTL Examples ==
 
== OTL Examples ==
 
<syntaxhighlight lang="java" enclose="div" style="font-size: medium;">
 
<syntaxhighlight lang="java" enclose="div" style="font-size: medium;">
DiagDataBrowsingPlus.DbComChannel DbComChannel;
+
/// Local Declarations
List<DiagDataBrowsingPlus.DbDiagService> List_DbDiagService;
+
 
 +
DiagCom.ComChannel ComChannel;
 +
DiagCom.DiagService DiagService;
 +
DiagDataBrowsingPlus.DbDiagService DbDiagService;
 
Boolean MyBoolean = false;
 
Boolean MyBoolean = false;
  
 
/// Flow
 
/// Flow
  
DbComChannel = DiagDataBrowsingPlus.GetDbComChannel(NULL, "LL_AllEmissRelatUDSSyste");
+
ComChannel = DiagCom.GetComChannel("LL_GatewUDS", NULL, false);
List_DbDiagService = DiagDataBrowsingPlus.GetDbComChannelDbDiagServices(DbComChannel);
+
DiagService = DiagCom.CreateDiagServiceByName(ComChannel, "DiagnServi_ReadDataByIdentActuaTestStatu");
MyBoolean = DiagDataBrowsingPlus.GetDbDiagServiceIsApiExecutable(List_DbDiagService[0]);
+
DbDiagService = DiagDataBrowsingPlus.GetDiagServiceDbDiagService(DiagService);
 +
MyBoolean = DiagDataBrowsingPlus.GetDbDiagServiceIsApiExecutable(DbDiagService);
 
</syntaxhighlight>
 
</syntaxhighlight>
  
 
== See also ==
 
== See also ==
 +
[[Extensions.DiagCom.GetComChannel|GetComChannel]] <br/>
 +
[[Extensions.DiagCom.CreateDiagServiceByName|CreateDiagServiceByName]] <br/>
 +
[[Extensions.DiagCom.CreateDiagServiceBySemantic|CreateDiagServiceBySemantic]] <br/>
 +
[[Extensions.DiagDataBrowsingPlus.GetDiagServiceDbDiagService|GetDiagServiceDbDiagService]]<br/>
 
[[Extensions.DiagDataBrowsingPlus.GetComChannelDbComChannel|GetComChannelDbComChannel]] <br/>
 
[[Extensions.DiagDataBrowsingPlus.GetComChannelDbComChannel|GetComChannelDbComChannel]] <br/>
 
[[Extensions.DiagDataBrowsingPlus.GetDbComChannel|GetDbComChannel]] <br/>
 
[[Extensions.DiagDataBrowsingPlus.GetDbComChannel|GetDbComChannel]] <br/>
 
[[Extensions.DiagDataBrowsingPlus.GetDbComChannelDbDiagServices|GetDbComChannelDbDiagServices]]
 
[[Extensions.DiagDataBrowsingPlus.GetDbComChannelDbDiagServices|GetDbComChannelDbDiagServices]]

Latest revision as of 09:13, 2 November 2018

Classification

Name GetDbDiagServiceIsApiExecutable
Short Description Checks the executable state of the DbDiagService
Class Term
Extension OTX DiagDataBrowsingPlus extension
Group DbDiagService related terms
Exceptions NONE
Checker Rules -
Standard Compliant Yes

OTL Syntax

BooleanTerm DiagDataBrowsingPlus.GetDbDiagServiceIsApiExecutable(DbDiagServiceTerm dbDiagService);

Description

GetDbDiagServiceIsApiExecutable returns the information from the data base, if this DbDiagService is executable at the interface (True) or only within the D-System (False).

Icons Note.png The appropriate MVCI system operation is MCDDbDiagComPrimitive::isApiExecutable

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 the information from the data base, if this DbDiagService is executable at the interface (True) or only within the D-System (False).

Properties

Name Data Type Class Default Cardinality Description
DbDiagService DbDiagService Term - [1..1] The element addresses the DbDiagService whose executable state shall be returned.

OTL Examples

/// Local Declarations

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.GetDbDiagServiceIsApiExecutable(DbDiagService);

See also

GetComChannel
CreateDiagServiceByName
CreateDiagServiceBySemantic
GetDiagServiceDbDiagService
GetComChannelDbComChannel
GetDbComChannel
GetDbComChannelDbDiagServices