C# Class Opc.Ua.SampleClient.ClientPage

An empty page that can be used on its own or navigated to within a Frame.
Inheritance: Windows.UI.Xaml.Controls.Page
ファイルを表示 Open project: OPCFoundation/UA-.NETStandardLibrary Class Usage Examples

Public Methods

Method Description
ClientPage ( ) : Opc.Ua.Client
ClientPage ( ServiceMessageContext context, ApplicationInstance application, ClientPage masterPage, ApplicationConfiguration configuration ) : Opc.Ua.Client
Connect ( ConfiguredEndpoint endpoint ) : Task

Connects to a server.

CreateMonitoredItem ( Session session, Subscription subscription, NodeId nodeId, MonitoringMode mode ) : void
OpenPage ( ) : void

Protected Methods

Method Description
DoTest ( Session session ) : void

Provides a user defined method.

Private Methods

Method Description
BrowseCTRL_NodeSelected ( object sender, TreeNodeActionEventArgs e ) : void
CertificateValidator_CertificateValidation ( CertificateValidator validator, CertificateValidationEventArgs e ) : void
ContextMenu_OnCancel ( object sender, RoutedEventArgs e ) : void
ContextMenu_OnDelete ( object sender, RoutedEventArgs e ) : void
ContextMenu_OnDisconnect ( object sender, RoutedEventArgs e ) : void
ContextMenu_OnReport ( object sender, RoutedEventArgs e ) : void
DiscoverServersMI_Click ( object sender, EventArgs e ) : void
Discovery_RegisterMI_Click ( object sender, EventArgs e ) : void
EndpointSelectorCTRL_ConnectEndpoint ( object sender, ConnectEndpointEventArgs e ) : Task
EndpointSelectorCTRL_OnChange ( object sender, EventArgs e ) : void
ExceptionMessageDlg ( string message ) : void
MainPage_PageClosing ( object sender, RoutedEventArgs e ) : void
MonitoredItem_Notification ( MonitoredItem monitoredItem, MonitoredItemNotificationEventArgs e ) : void
NewWindowMI_Click ( object sender, EventArgs e ) : void
OnRegister ( object sender ) : void
RemoveAllClickEventsFromButton ( ) : void
SessionCtrl_NodeSelected ( object sender, TreeNodeActionEventArgs e ) : void
StandardClient_KeepAlive ( Session sender, KeepAliveEventArgs e ) : void

Updates the status control when a keep alive event occurs.

Task_TestMI_Click ( object sender, EventArgs e ) : void
Window_PageClosing ( object sender, RoutedEventArgs e ) : void

Method Details

ClientPage() public method

public ClientPage ( ) : Opc.Ua.Client
return Opc.Ua.Client

ClientPage() public method

public ClientPage ( ServiceMessageContext context, ApplicationInstance application, ClientPage masterPage, ApplicationConfiguration configuration ) : Opc.Ua.Client
context ServiceMessageContext
application Opc.Ua.Configuration.ApplicationInstance
masterPage ClientPage
configuration ApplicationConfiguration
return Opc.Ua.Client

Connect() public method

Connects to a server.
public Connect ( ConfiguredEndpoint endpoint ) : Task
endpoint ConfiguredEndpoint
return Task

CreateMonitoredItem() public method

public CreateMonitoredItem ( Session session, Subscription subscription, NodeId nodeId, MonitoringMode mode ) : void
session Opc.Ua.Client.Session
subscription Subscription
nodeId NodeId
mode MonitoringMode
return void

DoTest() protected method

Provides a user defined method.
protected DoTest ( Session session ) : void
session Opc.Ua.Client.Session
return void

OpenPage() public method

public OpenPage ( ) : void
return void