OTX Reference  
OpenTestSystem.Otx.Extensions.Job.Actions.AddEnvDataByDtc Class Reference

Add an environment data to the value of a DTC. More...

Inheritance diagram for OpenTestSystem.Otx.Extensions.Job.Actions.AddEnvDataByDtc:
Inheritance graph

Public Attributes

NumericTerm dtc
 The value of the DTC for the environment data structures to be added More...
 
ParameterContainerTerm parameterContainer
 Parameter container contains the Parameter to be retrieved. More...
 
- Public Attributes inherited from OpenTestSystem.Otx.Core.Actions.ActionRealisation
OtxLink validFor
 Validity of ActionRealisation. More...
 

Detailed Description

Add an environment data to the value of a DTC.

AddEnvDataByDtc is used to add an environment data parameter structure to the response structure according to the value of a DTC.

Exceptions
Job.Exceptions.InvalidParameterizationException
Syntax
Job.AddEnvDataByDtc(ParameterContainerTerm parameterContainer, NumericTerm dtc);
NumericTerm dtc
The value of the DTC for the environment data structures to be added
Definition: Job.cs:467
ParameterContainerTerm parameterContainer
Parameter container contains the Parameter to be retrieved.
Definition: Job.cs:457
Examples
// Local Declarations
DiagCom.ComChannel ComChannel1;
DiagCom.DiagService DiagService1;
DiagCom.Result Result1;
DiagCom.Response Response1;
// Flow
ComChannel1 = DiagCom.GetComChannel("LL_GatewUDS", "EV_GatewLear_006", false);
DiagService1 = DiagCom.CreateDiagServiceByName(ComChannel1, "DiagnServi_ReadDTCInforReporDTCExtenDataRecorByDTCNumbe");
[#MetaData(RequestPdu), <#Data>19 06 00 00 0D 01</#Data>]
DiagCom.ExecuteDiagService(DiagService1, {Param_DTCMaskRecorGroupOfDTC = 13, Param_DTCExtenDataRecorNumbe = "Standard DTC Information"}, {}, Result1, NULL, false, false);
Response1 = DiagCom.GetFirstResponse(Result1);
Job.AddEnvDataByDtc(Response1, 4);

Member Data Documentation

◆ dtc

NumericTerm OpenTestSystem.Otx.Extensions.Job.Actions.AddEnvDataByDtc.dtc

The value of the DTC for the environment data structures to be added

◆ parameterContainer

ParameterContainerTerm OpenTestSystem.Otx.Extensions.Job.Actions.AddEnvDataByDtc.parameterContainer

Parameter container contains the Parameter to be retrieved.