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

Inheritance: Windows.UI.Xaml.Controls.Page
Afficher le fichier Open project: OPCFoundation/UA-.NET Class Usage Examples

Méthodes publiques

Méthode 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.

Méthodes protégées

Méthode Description
Dispose ( bool disposing ) : void

Clean up any resources being used.

Private Methods

Méthode 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 méthode

public CreateDialog_FormClosing ( object sender, FormClosingEventArgs e ) : void
sender object
e FormClosingEventArgs
Résultat void

Dispose() protected méthode

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

New() public méthode

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

Session_Notification() public méthode

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
Résultat void

Show() public méthode

Displays the dialog.
public Show ( Subscription subscription ) : void
subscription Subscription
Résultat void

SubscriptionDlg() public méthode

public SubscriptionDlg ( ) : System
Résultat System

Subscription_PublishStatusChanged() public méthode

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

Subscription_StateChanged() public méthode

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