C# Class Opc.Ua.ServerTest.ReadTest

Browses all of the nodes in the hierarchies.
Inheritance: TestBase
ファイルを表示 Open project: OPCFoundation/UA-.NET Class Usage Examples

Public Methods

Method Description
ReadTest ( Session session, ServerTestConfiguration configuration, ReportMessageEventHandler reportMessage, ReportProgressEventHandler reportProgress, TestBase template ) : System

Creates the test object.

Run ( ServerTestCase testcase, int iteration ) : bool

Runs the test for all of the browse roots.

Private Methods

Method Description
AddAttributes ( Node node, ReadValueIdCollection nodesToRead ) : void

Adds the attributes to the request collection.

AddDataEncodings ( Node node, ReadValueIdCollection nodesToRead ) : void

Adds index ranges to the collection.

AddIndexRanges ( Node node, ReadValueIdCollection nodesToRead ) : void

Adds index ranges to the collection.

AddWriteValues ( Node node, WriteValueCollection nodesToWrite ) : void

Adds index ranges to the collection.

DoReadDataEncodingTest ( ) : bool

Reads an verifies all of the nodes.

DoReadIndexRangeTest ( ) : bool

Reads an verifies all of the nodes.

DoReadTest ( ) : bool

Reads an verifies all of the nodes.

DoReadWriteTest ( ) : bool

Reads an verifies all of the nodes.

IsDaBadStatus ( StatusCode statusCode ) : bool

Checks for a DA quality code value.

Read ( ReadValueIdCollection nodesToRead ) : bool

Reads the attributes, verifies the results and updates the nodes.

VerifyDataEncoding ( IVariableBase variable, BuiltInType type, QualifiedName dataEncoding, DataValue result ) : bool
VerifyIndexRangeForArray ( IVariableBase variable, BuiltInType type, string indexRange, DataValue result ) : bool

Verifies the index range result for a scalar value.

VerifyIndexRangeForScalar ( IVariableBase variable, BuiltInType type, DataValue result ) : bool

Verifies the index range result for a scalar value.

Write ( WriteValueCollection nodesToWrite ) : bool

Reads the attributes, verifies the results and updates the nodes.

Method Details

ReadTest() public method

Creates the test object.
public ReadTest ( Session session, ServerTestConfiguration configuration, ReportMessageEventHandler reportMessage, ReportProgressEventHandler reportProgress, TestBase template ) : System
session Opc.Ua.Client.Session
configuration ServerTestConfiguration
reportMessage ReportMessageEventHandler
reportProgress ReportProgressEventHandler
template TestBase
return System

Run() public method

Runs the test for all of the browse roots.
public Run ( ServerTestCase testcase, int iteration ) : bool
testcase ServerTestCase
iteration int
return bool