C# 클래스 Quickstarts.AlarmConditionClient.FormUtils

Defines numerous re-useable utility functions.
파일 보기 프로젝트 열기: OPCFoundation/UA-.NET 1 사용 예제들

공개 프로퍼티들

프로퍼티 타입 설명
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[]