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

Inheritance: Opc.Ua.Client.Controls.BaseListCtrl
Exibir arquivo Open project: OPCFoundation/UA-.NET

Public Methods

Method Description
Clear ( ) : void

Clears the contents of the control,

Initialize ( Session session, Subscription subscription ) : void

Initializes the control with the session/subscription indicated.

NotificationMessageListCtrl ( ) : System

Initializes the object with default values.

Protected Methods

Method Description
EnableMenuItems ( System.Windows.Forms.ListViewItem clickedItem ) : void
UpdateItem ( System.Windows.Forms.ListViewItem listItem, object item ) : void

Private Methods

Method Description
ClearMI_Click ( object sender, EventArgs e ) : void
DeleteMI_Click ( object sender, EventArgs e ) : void
RepublishMI_Click ( object sender, EventArgs e ) : void
Session_Notification ( Session sender, NotificationEventArgs e ) : void
Update ( List tags ) : void
ViewMI_Click ( object sender, EventArgs e ) : void

Method Details

Clear() public method

Clears the contents of the control,
public Clear ( ) : void
return void

EnableMenuItems() protected method

protected EnableMenuItems ( System.Windows.Forms.ListViewItem clickedItem ) : void
clickedItem System.Windows.Forms.ListViewItem
return void

Initialize() public method

Initializes the control with the session/subscription indicated.
public Initialize ( Session session, Subscription subscription ) : void
session Opc.Ua.Client.Session
subscription Subscription
return void

NotificationMessageListCtrl() public method

Initializes the object with default values.
public NotificationMessageListCtrl ( ) : System
return System

UpdateItem() protected method

protected UpdateItem ( System.Windows.Forms.ListViewItem listItem, object item ) : void
listItem System.Windows.Forms.ListViewItem
item object
return void