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

Gets the DbDiagTroubleCode More...

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

Public Attributes

DbFaultMemoryTerm faultMemory
 Cardinality [1]
The element addresses the DbFaultMemory which DbDiagTroubleCode shall be returned. More...
 
IntegerTerm troubleCode
 Cardinality [1]
The element addresses the trouble code from which the DbDiagTroubleCode object shall be returned. 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

Gets the DbDiagTroubleCode

The GetDbFaultMemoryDiagTroubleCodeByTroubleCode activity which returns the DbDiagTroubleCode (MCDDbDiagTroubleCode) object which matches given trouble code.

Note: The appropriate MVCI system operation is MCDDbFaultMemory::getDbDiagTroubleCodeByTroubleCode.

Exceptions
Exceptions.InvalidTypeExceptionIf the trouble code (Integer) can not be determined.
Syntax
DbDiagTroubleCodeTerm = DiagDataBrowsingPlus.GetDbFaultMemoryDiagTroubleCodeByTroubleCode(DbFaultMemoryTerm faultMemory, IntegerTerm troubleCode);
Examples
// Local Declarations
DiagDataBrowsingPlus.DbComChannel DbComChannel;
List<DiagDataBrowsingPlus.DbFaultMemory> List_DbFaultMemory;
DiagDataBrowsingPlus.DbDiagTroubleCode DbDiagTroubleCode;
// Flow
DbComChannel = DiagDataBrowsingPlus.GetDbComChannel("LL_GatewUDS");
List_DbFaultMemory = DiagDataBrowsingPlus.GetDbComChannelDbFaultMemories(DbComChannel);
DbDiagTroubleCode = DiagDataBrowsingPlus.GetDbFaultMemoryDiagTroubleCodeByTroubleCode(List_DbFaultMemory[0], 66051);

Member Data Documentation

◆ faultMemory

DbFaultMemoryTerm OpenTestSystem.Otx.Extensions.DiagDataBrowsingPlus.Terms.GetDbFaultMemoryDiagTroubleCodeByTroubleCode.faultMemory

Cardinality [1]
The element addresses the DbFaultMemory which DbDiagTroubleCode shall be returned.

◆ troubleCode

IntegerTerm OpenTestSystem.Otx.Extensions.DiagDataBrowsingPlus.Terms.GetDbFaultMemoryDiagTroubleCodeByTroubleCode.troubleCode

Cardinality [1]
The element addresses the trouble code from which the DbDiagTroubleCode object shall be returned.

OpenTestSystem.Otx.Extensions.DiagDataBrowsingPlus.Terms.GetDbFaultMemoryDiagTroubleCodeByTroubleCode.faultMemory
DbFaultMemoryTerm faultMemory
Cardinality [1] The element addresses the DbFaultMemory which DbDiagTroubleCode shall be returned.
Definition: DiagDataBrowsingPlus.cs:5842
OpenTestSystem.Otx.Extensions.DiagDataBrowsingPlus.Terms.GetDbFaultMemoryDiagTroubleCodeByTroubleCode.troubleCode
IntegerTerm troubleCode
Cardinality [1] The element addresses the trouble code from which the DbDiagTroubleCode object shall ...
Definition: DiagDataBrowsingPlus.cs:5852