C# Класс Opc.Ua.Sample.Controls.ClientForm

Показать файл Открыть проект Примеры использования класса

Защищенные свойства (Protected)

Свойство Тип Описание
BrowseCTRL BrowseTreeCtrl
SessionsCTRL SessionTreeCtrl

Открытые методы

Метод Описание
ClientForm ( ) : System
ClientForm ( ServiceMessageContext context, ApplicationInstance application, ClientForm masterForm, ApplicationConfiguration configuration ) : System
Connect ( ConfiguredEndpoint endpoint ) : void

Connects to a server.

Disconnect ( ) : void

Disconnects from a server.

OpenForm ( ) : void

Opens a new form.

Защищенные методы

Метод Описание
Dispose ( bool disposing ) : void

Clean up any resources being used.

DoTest ( Session session ) : void

Provides a user defined method.

OnClosing ( CancelEventArgs e ) : void

Disconnect from the server if ths form is closing.

Приватные методы

Метод Описание
DiscoverServersMI_Click ( object sender, EventArgs e ) : void
DiscoverServersOnNetworkMI_Click ( object sender, EventArgs e ) : void
Discovery_RegisterMI_Click ( object sender, EventArgs e ) : void
EndpointSelectorCTRL_ConnectEndpoint ( object sender, ConnectEndpointEventArgs e ) : void
EndpointSelectorCTRL_OnChange ( object sender, EventArgs e ) : void
FileExit_Click ( object sender, EventArgs e ) : void
InitializeComponent ( ) : void

Required method for Designer support - do not modify the contents of this method with the code editor.

MainForm_FormClosing ( object sender, FormClosingEventArgs e ) : void
NewWindowMI_Click ( object sender, EventArgs e ) : void
OnRegister ( object sender ) : void
PerformanceTestMI_Click ( object sender, EventArgs e ) : void
StandardClient_KeepAlive ( Session sender, KeepAliveEventArgs e ) : void

Updates the status control when a keep alive event occurs.

StandardClient_Server_ReconnectComplete ( object sender, EventArgs e ) : void
Task_TestMI_Click ( object sender, EventArgs e ) : void
Window_FormClosing ( object sender, FormClosingEventArgs e ) : void

Handles a close event fo

contentsToolStripMenuItem_Click ( object sender, EventArgs e ) : void

Описание методов

ClientForm() публичный Метод

public ClientForm ( ) : System
Результат System

ClientForm() публичный Метод

public ClientForm ( ServiceMessageContext context, ApplicationInstance application, ClientForm masterForm, ApplicationConfiguration configuration ) : System
context ServiceMessageContext
application ApplicationInstance
masterForm ClientForm
configuration ApplicationConfiguration
Результат System

Connect() публичный Метод

Connects to a server.
public Connect ( ConfiguredEndpoint endpoint ) : void
endpoint ConfiguredEndpoint
Результат void

Disconnect() публичный Метод

Disconnects from a server.
public Disconnect ( ) : void
Результат void

Dispose() защищенный Метод

Clean up any resources being used.
protected Dispose ( bool disposing ) : void
disposing bool true if managed resources should be disposed; otherwise, false.
Результат void

DoTest() защищенный Метод

Provides a user defined method.
protected DoTest ( Session session ) : void
session Session
Результат void

OnClosing() защищенный Метод

Disconnect from the server if ths form is closing.
protected OnClosing ( CancelEventArgs e ) : void
e CancelEventArgs
Результат void

OpenForm() публичный Метод

Opens a new form.
public OpenForm ( ) : void
Результат void

Описание свойств

BrowseCTRL защищенное свойство

protected BrowseTreeCtrl,Opc.Ua.Sample.Controls BrowseCTRL
Результат BrowseTreeCtrl

SessionsCTRL защищенное свойство

protected SessionTreeCtrl,Opc.Ua.Sample.Controls SessionsCTRL
Результат SessionTreeCtrl