C# Class Opc.Ua.Client.Controls.EventListView

ファイルを表示 Open project: OPCFoundation/UA-.NET

Public Methods

Method Description
AddEventHistory ( HistoryEvent events ) : void

Adds the event history to the control.

ChangeArea ( NodeId areaId, bool fetchRecent ) : void

Changes the area monitored by the control.

ChangeFilter ( FilterDeclaration filter, bool fetchRecent ) : void

Changes the filter used to select the events.

ChangeSession ( Session session, bool fetchRecent ) : void

Changes the session.

ClearEventHistory ( ) : void

Clears the event history in the control.

ConditionRefresh ( ) : void

Refreshes the conditions displayed.

EventListView ( ) : System

Initializes the object.

GetSelectedEvent ( int index ) : VariantCollection

Returns the currently selected event at the specified index (null index is not valid).

SessionReconnected ( Session session ) : void

Updates the control after the session has reconnected.

Protected Methods

Method Description
Dispose ( bool disposing ) : void

Clean up any resources being used.

Private Methods

Method Description
CreateListItem ( FilterDeclaration filter, VariantCollection fieldValues ) : ListViewItem

Creates list item for an event.

CreateSubscription ( ) : void

Creates the subscription.

DeleteHistory ( NodeId areaId, List events, FilterDeclaration filter ) : void

Deletes the recent history.

DeleteHistoryMI_Click ( object sender, EventArgs e ) : void
DeleteSubscription ( ) : void

Deletes the subscription.

InitializeComponent ( ) : void

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

MonitoredItem_Notification ( MonitoredItem monitoredItem, MonitoredItemNotificationEventArgs e ) : void

Updates the display with a new value for a monitored variable.

ReadHistory ( ReadEventDetails details, NodeId areaId ) : void

Fetches the recent history.

ReadRecentHistory ( ) : void

Fetches the recent history.

ViewDetailsMI_Click ( object sender, EventArgs e ) : void

Method Details

AddEventHistory() public method

Adds the event history to the control.
public AddEventHistory ( HistoryEvent events ) : void
events HistoryEvent
return void

ChangeArea() public method

Changes the area monitored by the control.
public ChangeArea ( NodeId areaId, bool fetchRecent ) : void
areaId NodeId
fetchRecent bool
return void

ChangeFilter() public method

Changes the filter used to select the events.
public ChangeFilter ( FilterDeclaration filter, bool fetchRecent ) : void
filter FilterDeclaration
fetchRecent bool
return void

ChangeSession() public method

Changes the session.
public ChangeSession ( Session session, bool fetchRecent ) : void
session Session
fetchRecent bool
return void

ClearEventHistory() public method

Clears the event history in the control.
public ClearEventHistory ( ) : void
return void

ConditionRefresh() public method

Refreshes the conditions displayed.
public ConditionRefresh ( ) : 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

EventListView() public method

Initializes the object.
public EventListView ( ) : System
return System

GetSelectedEvent() public method

Returns the currently selected event at the specified index (null index is not valid).
public GetSelectedEvent ( int index ) : VariantCollection
index int
return VariantCollection

SessionReconnected() public method

Updates the control after the session has reconnected.
public SessionReconnected ( Session session ) : void
session Session
return void