C# Класс Opc.Ua.Client.Controls.EventListView

Показать файл Открыть проект

Открытые методы

Метод Описание
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.

Защищенные методы

Метод Описание
Dispose ( bool disposing ) : void

Clean up any resources being used.

Приватные методы

Метод Описание
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

Описание методов

AddEventHistory() публичный Метод

Adds the event history to the control.
public AddEventHistory ( HistoryEvent events ) : void
events HistoryEvent
Результат void

ChangeArea() публичный Метод

Changes the area monitored by the control.
public ChangeArea ( NodeId areaId, bool fetchRecent ) : void
areaId NodeId
fetchRecent bool
Результат void

ChangeFilter() публичный Метод

Changes the filter used to select the events.
public ChangeFilter ( FilterDeclaration filter, bool fetchRecent ) : void
filter FilterDeclaration
fetchRecent bool
Результат void

ChangeSession() публичный Метод

Changes the session.
public ChangeSession ( Session session, bool fetchRecent ) : void
session Session
fetchRecent bool
Результат void

ClearEventHistory() публичный Метод

Clears the event history in the control.
public ClearEventHistory ( ) : void
Результат void

ConditionRefresh() публичный Метод

Refreshes the conditions displayed.
public ConditionRefresh ( ) : void
Результат void

Dispose() защищенный Метод

Clean up any resources being used.
protected Dispose ( bool disposing ) : void
disposing bool true if managed resources should be disposed; otherwise, false.
Результат void

EventListView() публичный Метод

Initializes the object.
public EventListView ( ) : System
Результат System

GetSelectedEvent() публичный Метод

Returns the currently selected event at the specified index (null index is not valid).
public GetSelectedEvent ( int index ) : VariantCollection
index int
Результат VariantCollection

SessionReconnected() публичный Метод

Updates the control after the session has reconnected.
public SessionReconnected ( Session session ) : void
session Session
Результат void