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

Inheritance: Windows.UI.Xaml.Controls.Page
Exibir arquivo Open project: OPCFoundation/UA-.NET Class Usage Examples

Public Methods

Method Description
CreateDialog_FormClosing ( object sender, FormClosingEventArgs e ) : void
New ( Session session ) : Subscription

Creates a new subscription.

Session_Notification ( Session session, NotificationEventArgs e ) : void

Processes a Publish repsonse from the server.

Show ( Subscription subscription ) : void

Displays the dialog.

SubscriptionDlg ( ) : System
Subscription_PublishStatusChanged ( object subscription, EventArgs e ) : void

Handles a change to the publish status for the subscription.

Subscription_StateChanged ( Subscription subscription, SubscriptionStateChangedEventArgs e ) : void

Handles a change to the state of the subscription.

Protected Methods

Method Description
Dispose ( bool disposing ) : void

Clean up any resources being used.

Private Methods

Method Description
ConditionRefreshMI_Click ( object sender, EventArgs e ) : void
EditMI_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.

SubscriptionCreateItemFromTypeMI_Click ( object sender, EventArgs e ) : void
SubscriptionCreateItemMI_Click ( object sender, EventArgs e ) : void
SubscriptionDlg_FormClosing ( object sender, FormClosingEventArgs e ) : void
SubscriptionEnablePublishingMI_Click ( object sender, EventArgs e ) : void
SubscriptionMI_DropDownOpening ( object sender, EventArgs e ) : void
UpdateStatus ( ) : void

Updates the controls displaying the status of the subscription.

WindowMI_Click ( object sender, EventArgs e ) : void

Method Details

CreateDialog_FormClosing() public method

public CreateDialog_FormClosing ( object sender, FormClosingEventArgs e ) : void
sender object
e FormClosingEventArgs
return void

Dispose() protected method

Clean up any resources being used.
protected Dispose ( bool disposing ) : void
disposing bool true if managed resources should be disposed; otherwise, false.
return void

New() public method

Creates a new subscription.
public New ( Session session ) : Subscription
session Opc.Ua.Client.Session
return Subscription

Session_Notification() public method

Processes a Publish repsonse from the server.
public Session_Notification ( Session session, NotificationEventArgs e ) : void
session Opc.Ua.Client.Session
e Opc.Ua.Client.NotificationEventArgs
return void

Show() public method

Displays the dialog.
public Show ( Subscription subscription ) : void
subscription Subscription
return void

SubscriptionDlg() public method

public SubscriptionDlg ( ) : System
return System

Subscription_PublishStatusChanged() public method

Handles a change to the publish status for the subscription.
public Subscription_PublishStatusChanged ( object subscription, EventArgs e ) : void
subscription object
e System.EventArgs
return void

Subscription_StateChanged() public method

Handles a change to the state of the subscription.
public Subscription_StateChanged ( Subscription subscription, SubscriptionStateChangedEventArgs e ) : void
subscription Subscription
e SubscriptionStateChangedEventArgs
return void