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

Exibir arquivo Open project: OPCFoundation/UA-.NET

Public Methods

Method Description
ApplyChanges ( ) : void

Apply any changes to the set of items.

Clear ( ) : void

Clears the contents of the control,

Initialize ( MonitoredItem monitoredItem ) : void

Displays the items for the specified subscription in the control.

Initialize ( Subscription subscription ) : void

Displays the items for the specified subscription in the control.

MonitoredItemStatusCtrl ( ) : System

Initializes the object with default values.

SubscriptionChanged ( SubscriptionStateChangedEventArgs e ) : void

Called when the subscription changes.

UpdateItems ( ) : void

Refreshes the state of all items displayed in the control.

Protected Methods

Method Description
Dispose ( bool disposing ) : void

Clean up any resources being used.

EnableMenuItems ( ListViewItem clickedItem ) : void
UpdateItem ( 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.

Method Details

ApplyChanges() public method

Apply any changes to the set of items.
public ApplyChanges ( ) : void
return void

Clear() public method

Clears the contents of the control,
public Clear ( ) : void
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

EnableMenuItems() protected method

protected EnableMenuItems ( ListViewItem clickedItem ) : void
clickedItem ListViewItem
return void

Initialize() public method

Displays the items for the specified subscription in the control.
public Initialize ( MonitoredItem monitoredItem ) : void
monitoredItem MonitoredItem
return void

Initialize() public method

Displays the items for the specified subscription in the control.
public Initialize ( Subscription subscription ) : void
subscription Subscription
return void

MonitoredItemStatusCtrl() public method

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

SubscriptionChanged() public method

Called when the subscription changes.
public SubscriptionChanged ( SubscriptionStateChangedEventArgs e ) : void
e SubscriptionStateChangedEventArgs
return void

UpdateItem() protected method

protected UpdateItem ( ListViewItem listItem, object item ) : void
listItem ListViewItem
item object
return void

UpdateItems() public method

Refreshes the state of all items displayed in the control.
public UpdateItems ( ) : void
return void