OTX Reference  
OpenTestSystem.Otx.Extensions.DiagComPlus.Actions.AddParameters Class Reference

Adds a number of parameters to a diagCom:Parameter of type END_OF_PDU More...

Inheritance diagram for OpenTestSystem.Otx.Extensions.DiagComPlus.Actions.AddParameters:
Inheritance graph

Public Attributes

IntegerTerm count
 Cardinality [1]
The number of parameters to be added. More...
 
ParameterTerm parameter
 Cardinality [1]
The parameter to which the parameters are added. More...
 
- Public Attributes inherited from OpenTestSystem.Otx.Core.Actions.ActionRealisation
OtxLink validFor
 Cardinality [0..1]
Validity of ActionRealisation. More...
 

Detailed Description

Adds a number of parameters to a diagCom:Parameter of type END_OF_PDU

The AddParameters action adds a number of parameters to a diagCom:Parameter of type END_OF_PDU.

Exceptions
Core.Exceptions.TypeMismatchExceptionIf the given parameter is not of type END_OF_PDU.
Core.Exceptions.OutOfBoundsExceptionIf the given count plus the number of already existing parameters exceeds the max number of items of the parameter. Or if the given count is negative or zero.
Syntax
DiagComPlus.AddParameters(ParameterTerm parameter, IntegerTerm count);
Examples
// Local Declarations
DiagCom.Request Request1;
DiagCom.Parameter Parameter1;
DiagCom.DiagService DiagService1;
// Flow
DiagService1 = DiagCom.CreateDiagServiceByName(DiagCom.GetComChannel("LL_GatewUDS", "", false), "SinglJob_PostDataSet");
Request1 = DiagCom.GetRequest(DiagService1);
Parameter1 = DiagCom.GetParameterByPath(Request1, { "IPA_Refer"});
DiagComPlus.AddParameters(Parameter1, 1);

Member Data Documentation

◆ count

IntegerTerm OpenTestSystem.Otx.Extensions.DiagComPlus.Actions.AddParameters.count

Cardinality [1]
The number of parameters to be added.

◆ parameter

ParameterTerm OpenTestSystem.Otx.Extensions.DiagComPlus.Actions.AddParameters.parameter

Cardinality [1]
The parameter to which the parameters are added.

OpenTestSystem.Otx.Extensions.DiagComPlus.Actions.AddParameters.count
IntegerTerm count
Cardinality [1] The number of parameters to be added.
Definition: DiagComPlus.cs:352
OpenTestSystem.Otx.Extensions.DiagComPlus.Actions.AddParameters.parameter
ParameterTerm parameter
Cardinality [1] The parameter to which the parameters are added.
Definition: DiagComPlus.cs:342