OTX Reference  
OpenTestSystem.Otx.Extensions.DiagDataBrowsingPlus.Terms.GetDbDiagServiceDbPreConditionStatesBySemantic Class Reference

Get a list of String of ECU state SHORT-NAMEs More...

Inheritance diagram for OpenTestSystem.Otx.Extensions.DiagDataBrowsingPlus.Terms.GetDbDiagServiceDbPreConditionStatesBySemantic:
Inheritance graph

Public Attributes

DbDiagServiceTerm dbDiagService
 Cardinality [1]
The element addresses the DbDiagService whose pre condition states shall be returned. More...
 
StringTerm semantic
 Cardinality [1]
This element addresses the semantic of an ECU state one of which is required to be able to execute an instance of the current DiagService.The semantic of a ECU state is given by the semantic definition of the MCDDbEcuStateChart object. More...
 
- Public Attributes inherited from OpenTestSystem.Otx.Core.Terms.Term
MetaData metaData
 Cardinality [0..1]
The MetaData type allows tools to store additional, mainly tool-specific data. More...
 

Detailed Description

Get a list of String of ECU state SHORT-NAMEs

GetDbDiagServiceDbPreConditionStatesBySemantic returns a list of String of ECU state (MCDDbEcuState) SHORT-NAMEs of the given semantic one of which is required to be able to execute the given DbDiagService successfully. The result is reduced to states that have a semantic value equals to the given semantic. An empty list will be delivered if no ECU state of the given semantic is associated with the current DbDiagService as a pre-condition.

Note: The appropriate MVCI system operation is MCDDbDiagComPrimitive::getDbPreConditionStatesBySemantic.

Syntax
ListTerm = DiagDataBrowsingPlus.GetDbDiagServiceDbPreConditionStatesBySemantic(DbDiagServiceTerm dbDiagService, StringTerm semantic);
Examples
// Local Declarations
DiagCom.ComChannel ComChannel;
DiagCom.DiagService DiagService;
DiagDataBrowsingPlus.DbDiagService DbDiagService;
List<String> List_String;
// Flow
ComChannel = DiagCom.GetComChannel("LL_GatewUDS", NULL, false);
DiagService = DiagCom.CreateDiagServiceByName(ComChannel, "DiagnServi_ReadDataByIdentActuaTestStatu");
DbDiagService = DiagDataBrowsingPlus.GetDiagServiceDbDiagService(DiagService);
List_String = DiagDataBrowsingPlus.GetDbDiagServiceDbPreConditionStatesBySemantic(DbDiagService, "CURRENTDATA");

Member Data Documentation

◆ dbDiagService

DbDiagServiceTerm OpenTestSystem.Otx.Extensions.DiagDataBrowsingPlus.Terms.GetDbDiagServiceDbPreConditionStatesBySemantic.dbDiagService

Cardinality [1]
The element addresses the DbDiagService whose pre condition states shall be returned.

◆ semantic

StringTerm OpenTestSystem.Otx.Extensions.DiagDataBrowsingPlus.Terms.GetDbDiagServiceDbPreConditionStatesBySemantic.semantic

Cardinality [1]
This element addresses the semantic of an ECU state one of which is required to be able to execute an instance of the current DiagService.The semantic of a ECU state is given by the semantic definition of the MCDDbEcuStateChart object.

OpenTestSystem.Otx.Extensions.DiagDataBrowsingPlus.Terms.GetDbDiagServiceDbPreConditionStatesBySemantic.dbDiagService
DbDiagServiceTerm dbDiagService
Cardinality [1] The element addresses the DbDiagService whose pre condition states shall be returned.
Definition: DiagDataBrowsingPlus.cs:2118
OpenTestSystem.Otx.Extensions.DiagDataBrowsingPlus.Terms.GetDbDiagServiceDbPreConditionStatesBySemantic.semantic
StringTerm semantic
Cardinality [1] This element addresses the semantic of an ECU state one of which is required to be ab...
Definition: DiagDataBrowsingPlus.cs:2128