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

Inheritance: Opc.Ua.Client.Controls.BaseListCtrl
ファイルを表示 Open project: OPCFoundation/UA-.NET

Private Properties

Property Type Description
InitializeComponent void
UpdateChanges void
ViewMI_Click void

Public Methods

Method Description
Clear ( ) : void

Clears the contents of the control,

DataChangeNotificationListCtrl ( ) : System
Initialize ( Subscription subscription, MonitoredItem monitoredItem ) : void

Sets the nodes in the control.

NotificationReceived ( MonitoredItemNotificationEventArgs e ) : void

Processes a new notification.

NotificationReceived ( NotificationEventArgs e ) : void

Processes a new notification.

PublishStatusChanged ( ) : void

Updates the display after the publish status for the subscription changes.

SubscriptionChanged ( SubscriptionStateChangedEventArgs e ) : void

Processes a change to the subscription.

Protected Methods

Method Description
Dispose ( bool disposing ) : void

Clean up any resources being used.

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

Private Methods

Method Description
InitializeComponent ( ) : void

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

UpdateChanges ( IList changes, int offset ) : void

Updates the events displayed in the control.

ViewMI_Click ( object sender, EventArgs e ) : void

Method Details

Clear() public method

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

DataChangeNotificationListCtrl() public method

public DataChangeNotificationListCtrl ( ) : System
return System

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

EnableMenuItems() protected method

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

Initialize() public method

Sets the nodes in the control.
public Initialize ( Subscription subscription, MonitoredItem monitoredItem ) : void
subscription Subscription
monitoredItem Opc.Ua.Client.MonitoredItem
return void

NotificationReceived() public method

Processes a new notification.
public NotificationReceived ( MonitoredItemNotificationEventArgs e ) : void
e Opc.Ua.Client.MonitoredItemNotificationEventArgs
return void

NotificationReceived() public method

Processes a new notification.
public NotificationReceived ( NotificationEventArgs e ) : void
e Opc.Ua.Client.NotificationEventArgs
return void

PickItems() protected method

protected PickItems ( ) : void
return void

PublishStatusChanged() public method

Updates the display after the publish status for the subscription changes.
public PublishStatusChanged ( ) : void
return void

SubscriptionChanged() public method

Processes a change to the subscription.
public SubscriptionChanged ( SubscriptionStateChangedEventArgs e ) : void
e SubscriptionStateChangedEventArgs
return void

UpdateItem() protected method

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