Difference between revisions of "Extensions.DiagDataBrowsingPlus.GetDbDiagServiceSemantic"
Jump to navigation
Jump to search
Line 9: | Line 9: | ||
== Description == | == Description == | ||
− | + | '''GetDbDiagServiceSemantic''' returns the value of the semantic attribute for that [[Extensions.DiagDataBrowsingPlus.DbDiagService|DbDiagService]] out of the ODX file as a [[Core.DataTypes.SimpleDataType.String|string]]. The semantic desribes the diagnosis class the service belongs to. e.g. IO_Control, Read, Write or VariantIdentification. | |
{{Note|NOTE — The appropriate MVCI system operation is MCDDbDiagComPrimitive::getSemantic}} | {{Note|NOTE — The appropriate MVCI system operation is MCDDbDiagComPrimitive::getSemantic}} | ||
− | {{TermReturnValue| [[Core.DataTypes.SimpleDataType.String|String]] | Returns the value of the semantic attribute for that [[Extensions.DiagDataBrowsingPlus.DbDiagService|DbDiagService]] out of the ODX file | + | {{TermReturnValue| [[Core.DataTypes.SimpleDataType.String|String]] | Returns the value of the semantic attribute for that [[Extensions.DiagDataBrowsingPlus.DbDiagService|DbDiagService]] out of the ODX file.}} |
== Properties == | == Properties == |
Revision as of 02:41, 21 September 2018
Contents
Classification
Name | GetDbDiagServiceSemantic |
Short Description | Gets the value of the semantic attribute for that DbDiagService out of the ODX file |
Class | Term |
Extension | OTX DiagDataBrowsingPlus extension |
Group | DbDiagService related terms |
Exceptions | NONE |
Checker Rules | - |
Standard Compliant | Yes |
OTL Syntax
StringTerm = DiagDataBrowsingPlus.GetDbDiagServiceSemantic(DbDiagServiceTerm);
Description
GetDbDiagServiceSemantic returns the value of the semantic attribute for that DbDiagService out of the ODX file as a string. The semantic desribes the diagnosis class the service belongs to. e.g. IO_Control, Read, Write or VariantIdentification.
![]()
NOTE — The appropriate MVCI system operation is MCDDbDiagComPrimitive::getSemantic
Return Value
The Term returns the value, see table below.
![]()
In OTX, Terms are categorized according to its return data type!
Data Type | Description |
String | Returns the value of the semantic attribute for that DbDiagService out of the ODX file. |
Properties
Name | Data Type | Class | Default | Cardinality | Description |
dbDiagService | DbDiagService | Term | - | [1..1] | The element addresses the DbDiagService whose semantic attribute shall be returned. |
OTL Examples
DiagCom.ComChannel ComChannel;
DiagCom.DiagService DiagService;
DiagDataBrowsingPlus.DbDiagService DbDiagService;
String MyString;
/// Flow
ComChannel = DiagCom.GetComChannel("LL_GatewUDS", NULL, false);
DiagService = DiagCom.CreateDiagServiceByName(ComChannel, "DiagnServi_ReadDataByIdentActuaTestStatu");
DbDiagService = DiagDataBrowsingPlus.GetDiagServiceDbDiagService(DiagService);
MyString = DiagDataBrowsingPlus.GetDbDiagServiceSemantic(DbDiagService);
See also
GetComChannel
CreateDiagServiceByName
CreateDiagServiceBySemantic
GetDiagServiceDbDiagService
GetComChannelDbComChannel
GetDbComChannel
GetDbComChannelDbDiagServices