C# Class Opc.Ua.Sample.Controls.PerformanceTestDlg

显示文件 Open project: OPCFoundation/UA-.NET

Public Methods

Method Description
PerformanceTestDlg ( ) : System
ShowDialog ( ApplicationConfiguration configuration, ConfiguredEndpointCollection endpoints, X509Certificate2 clientCertificate ) : EndpointDescription

Displays the dialog.

TestComplete ( object state ) : void

Called when the test completes.

Private Methods

Method Description
DoAllTests ( object state ) : void

Runs all tests in a background thread.

DoTest ( ConfiguredEndpoint endpoint ) : void

Runs the test in a background thread.

DoTest ( object state ) : void

Runs the test in a background thread.

EndpointSelectorCTRL_ConnectEndpoint ( object sender, ConnectEndpointEventArgs e ) : void
LoadBTN_Click ( object sender, EventArgs e ) : void
LoadResults ( string filePath ) : void

Loads previously saved results.

OkBTN_Click ( object sender, EventArgs e ) : void
SaveBTN_Click ( object sender, EventArgs e ) : void
SaveResults ( string filePath ) : void

Saves the current results.

TestAllBTN_Click ( object sender, EventArgs e ) : void
TestException ( object state ) : void

Called when the the test fails with an exception.

TestProgress ( object state ) : void

Called to indicate the test progress.

Method Details

PerformanceTestDlg() public method

public PerformanceTestDlg ( ) : System
return System

ShowDialog() public method

Displays the dialog.
public ShowDialog ( ApplicationConfiguration configuration, ConfiguredEndpointCollection endpoints, X509Certificate2 clientCertificate ) : EndpointDescription
configuration ApplicationConfiguration
endpoints ConfiguredEndpointCollection
clientCertificate X509Certificate2
return EndpointDescription

TestComplete() public method

Called when the test completes.
public TestComplete ( object state ) : void
state object
return void