C# 클래스 Opc.Ua.ServerTest.TranslatePathTest

Translates browse paths and verifies the results.
상속: TestBase
파일 보기 프로젝트 열기: OPCFoundation/UA-.NET 1 사용 예제들

공개 메소드들

메소드 설명
Run ( ServerTestCase testcase, int iteration ) : bool

Runs the test.

TranslatePathTest ( Session session, ServerTestConfiguration configuration, ReportMessageEventHandler reportMessage, ReportProgressEventHandler reportProgress, TestBase template ) : System

Creates the test object.

비공개 메소드들

메소드 설명
AddMultiHopPaths ( Node node, Node baseNode, IList basePath, BrowsePathCollection pathsToTranslate, int hops ) : void

Adds a single hop path for all references for the node.

AddSingleHopPaths ( Node node, BrowsePathCollection pathsToTranslate ) : void

Adds a single hop path for all references for the node.

DoMultiHopTest ( int hops ) : bool

Reads an verifies all of the nodes.

GetRelativePath ( IList path ) : string

Formats the relative path of the string.

GetTargets ( Node start, IList path, int index, BrowsePathResult result ) : void

Recursively finds the targets of the specified path.

Translate ( BrowsePathCollection pathsToTranslate ) : bool

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

VerifyPaths ( Node node, BrowsePath request, BrowsePathResult result ) : bool

Verifies that the timestamps match the requested filter.

메소드 상세

Run() 공개 메소드

Runs the test.
public Run ( ServerTestCase testcase, int iteration ) : bool
testcase ServerTestCase
iteration int
리턴 bool

TranslatePathTest() 공개 메소드

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