C# Класс Quickstarts.AlarmConditionClient.FormUtils

Defines numerous re-useable utility functions.
Показать файл Открыть проект Примеры использования класса

Открытые свойства

Свойство Тип Описание
KnownEventTypes Opc.Ua.NodeId[]

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

Метод Описание
Browse ( Session session, BrowseDescription nodeToBrowse, bool throwOnError ) : ReferenceDescriptionCollection

Browses the address space and returns the references found.

BrowseSuperTypes ( Session session, Opc.Ua.NodeId typeId, bool throwOnError ) : ReferenceDescriptionCollection

Browses the address space and returns all of the supertypes of the specified type node.

ConstructEvent ( Session session, MonitoredItem monitoredItem, EventFieldList notification, NodeId>.Dictionary eventTypeMappings ) : BaseEventState

Constructs an event object from a notification.

FindEventType ( MonitoredItem monitoredItem, EventFieldList notification ) : Opc.Ua.NodeId

Finds the type of the event for the notification.

SelectEndpoint ( string discoveryUrl, bool useSecurity ) : EndpointDescription

Finds the endpoint that best matches the current settings.

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

Browse() публичный статический Метод

Browses the address space and returns the references found.
public static Browse ( Session session, BrowseDescription nodeToBrowse, bool throwOnError ) : ReferenceDescriptionCollection
session Opc.Ua.Client.Session The session.
nodeToBrowse Opc.Ua.BrowseDescription The NodeId for the starting node.
throwOnError bool if set to true a exception will be thrown on an error.
Результат ReferenceDescriptionCollection

BrowseSuperTypes() публичный статический Метод

Browses the address space and returns all of the supertypes of the specified type node.
public static BrowseSuperTypes ( Session session, Opc.Ua.NodeId typeId, bool throwOnError ) : ReferenceDescriptionCollection
session Opc.Ua.Client.Session The session.
typeId Opc.Ua.NodeId The NodeId for a type node in the address space.
throwOnError bool if set to true a exception will be thrown on an error.
Результат ReferenceDescriptionCollection

ConstructEvent() публичный статический Метод

Constructs an event object from a notification.
public static ConstructEvent ( Session session, MonitoredItem monitoredItem, EventFieldList notification, NodeId>.Dictionary eventTypeMappings ) : BaseEventState
session Opc.Ua.Client.Session The session.
monitoredItem Opc.Ua.Client.MonitoredItem The monitored item that produced the notification.
notification Opc.Ua.EventFieldList The notification.
eventTypeMappings NodeId>.Dictionary Mapping between event types and known event types.
Результат Opc.Ua.BaseEventState

FindEventType() публичный статический Метод

Finds the type of the event for the notification.
public static FindEventType ( MonitoredItem monitoredItem, EventFieldList notification ) : Opc.Ua.NodeId
monitoredItem Opc.Ua.Client.MonitoredItem The monitored item.
notification Opc.Ua.EventFieldList The notification.
Результат Opc.Ua.NodeId

SelectEndpoint() публичный статический Метод

Finds the endpoint that best matches the current settings.
public static SelectEndpoint ( string discoveryUrl, bool useSecurity ) : EndpointDescription
discoveryUrl string The discovery URL.
useSecurity bool if set to true select an endpoint that uses security.
Результат Opc.Ua.EndpointDescription

Описание свойств

KnownEventTypes публичное статическое свойство

The known event types which can be constructed by ConstructEvent()
public static NodeId[],Opc.Ua KnownEventTypes
Результат Opc.Ua.NodeId[]