C# 클래스 Opc.Ua.Com.Server.ComNamespaceMapper

A class that manages the mapping between the local and remote namespace indexes.
파일 보기 프로젝트 열기: OPCFoundation/UA-.NET 1 사용 예제들

공개 메소드들

메소드 설명
ComNamespaceMapper ( ) : System

Initializes a new instance of the ComNamespaceMapper class.

GetLocalBrowseName ( QualifiedName browseName ) : string

Gets the local name for the qualified name,

GetLocalDataValue ( DataValue remoteValue ) : DaValue

Gets the local data value.

GetLocalIntegerIdMapping ( string mappingType, NodeId remoteId ) : uint

Gets the integer mapping for a remote node id.

GetLocalItemId ( NodeId nodeId ) : string

Constructs an item id from a node id.

GetLocalNamespaceIndex ( ushort remoteIndex ) : ushort

Gets the local index for the remote namespace index.

GetLocalNodeId ( NodeId remoteId ) : NodeId

Gets the local node id.

GetLocalQualifiedName ( QualifiedName localName ) : QualifiedName

Gets the c qualified name.

GetLocalServerIndex ( ushort remoteIndex ) : uint

Gets the local index for the remote server index.

GetLocalValue ( Variant remoteValue ) : object

Converts a remote variant value to a local variant value.

GetLocaleExpandedNodeId ( ExpandedNodeId remoteId ) : ExpandedNodeId

Gets the local node id.

GetRemoteBrowseName ( string browseName ) : QualifiedName

Gets the remote qualified name for the local name.

GetRemoteBrowsePaths ( NodeId localNodeId ) : BrowsePathCollection

Returns a list of remote browse paths for a list of local relative paths.

GetRemoteDataValue ( DaValue localValue, TypeInfo remoteType ) : DataValue

Gets the remote data value.

GetRemoteExpandedNodeId ( ExpandedNodeId localId ) : ExpandedNodeId

Gets the remote node id.

GetRemoteIntegerIdMapping ( string mappingType, uint integerId ) : NodeId

Gets the remote node id associated with an integer id.

GetRemoteNamespaceIndex ( ushort localIndex ) : ushort

Gets the remote index for the local namespace index.

GetRemoteNodeId ( NodeId localId ) : NodeId

Gets the remote node id.

GetRemoteNodeId ( string itemId ) : NodeId

Constructs a node id from an item id.

GetRemoteQualifiedName ( QualifiedName localName ) : QualifiedName

Gets the remote qualified name.

GetRemoteServerIndex ( uint localIndex ) : uint

Gets the remote index for the local server index.

GetRemoteValue ( Variant localeValue, TypeInfo remoteType ) : Variant

Converts a local variant value to a remote variant value.

Initialize ( Session session, ComProxyConfiguration configuration ) : void

Initializes the namespace mappings and updates the proxy configuration.

UpdateMappingSet ( NodeIdMappingSet mappingSet ) : void

Updates an integer id mapping set.

비공개 메소드들

메소드 설명
ConvertLocalToRemote ( object srcValue, BuiltInType srcType, BuiltInType dstType ) : object

Converts a local value to a remote value.

ConvertRemoteToLocal ( object srcValue, BuiltInType srcType, BuiltInType dstType ) : object

Converts a remote value to a local value.

GetLocalTypeInfo ( TypeInfo remoteType ) : TypeInfo

Gets the local type info.

IsEscapedChar ( char ch ) : bool

Returns true if char is one of the special chars that must be escaped.

ToHexDigit ( char ch ) : int

Converts to char to a hex number. Returns -1 if char is invalid.

메소드 상세

ComNamespaceMapper() 공개 메소드

Initializes a new instance of the ComNamespaceMapper class.
public ComNamespaceMapper ( ) : System
리턴 System

GetLocalBrowseName() 공개 메소드

Gets the local name for the qualified name,
public GetLocalBrowseName ( QualifiedName browseName ) : string
browseName QualifiedName The remote qualified name.
리턴 string

GetLocalDataValue() 공개 메소드

Gets the local data value.
public GetLocalDataValue ( DataValue remoteValue ) : DaValue
remoteValue DataValue The remote value.
리턴 DaValue

GetLocalIntegerIdMapping() 공개 메소드

Gets the integer mapping for a remote node id.
public GetLocalIntegerIdMapping ( string mappingType, NodeId remoteId ) : uint
mappingType string Type of the mapping.
remoteId NodeId The remote node id.
리턴 uint

GetLocalItemId() 공개 메소드

Constructs an item id from a node id.
public GetLocalItemId ( NodeId nodeId ) : string
nodeId NodeId The node id.
리턴 string

GetLocalNamespaceIndex() 공개 메소드

Gets the local index for the remote namespace index.
public GetLocalNamespaceIndex ( ushort remoteIndex ) : ushort
remoteIndex ushort The remote namespace index.
리턴 ushort

GetLocalNodeId() 공개 메소드

Gets the local node id.
public GetLocalNodeId ( NodeId remoteId ) : NodeId
remoteId NodeId The remote id.
리턴 NodeId

GetLocalQualifiedName() 공개 메소드

Gets the c qualified name.
public GetLocalQualifiedName ( QualifiedName localName ) : QualifiedName
localName QualifiedName Name of the local.
리턴 QualifiedName

GetLocalServerIndex() 공개 메소드

Gets the local index for the remote server index.
public GetLocalServerIndex ( ushort remoteIndex ) : uint
remoteIndex ushort The remote server index.
리턴 uint

GetLocalValue() 공개 메소드

Converts a remote variant value to a local variant value.
public GetLocalValue ( Variant remoteValue ) : object
remoteValue Variant The remote value.
리턴 object

GetLocaleExpandedNodeId() 공개 메소드

Gets the local node id.
public GetLocaleExpandedNodeId ( ExpandedNodeId remoteId ) : ExpandedNodeId
remoteId ExpandedNodeId The remote id.
리턴 ExpandedNodeId

GetRemoteBrowseName() 공개 메소드

Gets the remote qualified name for the local name.
public GetRemoteBrowseName ( string browseName ) : QualifiedName
browseName string The local qualified name.
리턴 QualifiedName

GetRemoteBrowsePaths() 공개 메소드

Returns a list of remote browse paths for a list of local relative paths.
public GetRemoteBrowsePaths ( NodeId localNodeId ) : BrowsePathCollection
localNodeId NodeId
리턴 BrowsePathCollection

GetRemoteDataValue() 공개 메소드

Gets the remote data value.
Thrown if a conversion error occurs.
public GetRemoteDataValue ( DaValue localValue, TypeInfo remoteType ) : DataValue
localValue DaValue The local value.
remoteType TypeInfo The remote data type.
리턴 DataValue

GetRemoteExpandedNodeId() 공개 메소드

Gets the remote node id.
public GetRemoteExpandedNodeId ( ExpandedNodeId localId ) : ExpandedNodeId
localId ExpandedNodeId The local id.
리턴 ExpandedNodeId

GetRemoteIntegerIdMapping() 공개 메소드

Gets the remote node id associated with an integer id.
public GetRemoteIntegerIdMapping ( string mappingType, uint integerId ) : NodeId
mappingType string Type of the mapping.
integerId uint The integer id.
리턴 NodeId

GetRemoteNamespaceIndex() 공개 메소드

Gets the remote index for the local namespace index.
public GetRemoteNamespaceIndex ( ushort localIndex ) : ushort
localIndex ushort The local namespace index.
리턴 ushort

GetRemoteNodeId() 공개 메소드

Gets the remote node id.
public GetRemoteNodeId ( NodeId localId ) : NodeId
localId NodeId The local id.
리턴 NodeId

GetRemoteNodeId() 공개 메소드

Constructs a node id from an item id.
public GetRemoteNodeId ( string itemId ) : NodeId
itemId string The item id.
리턴 NodeId

GetRemoteQualifiedName() 공개 메소드

Gets the remote qualified name.
public GetRemoteQualifiedName ( QualifiedName localName ) : QualifiedName
localName QualifiedName The local qualified name.
리턴 QualifiedName

GetRemoteServerIndex() 공개 메소드

Gets the remote index for the local server index.
public GetRemoteServerIndex ( uint localIndex ) : uint
localIndex uint The local server index.
리턴 uint

GetRemoteValue() 공개 메소드

Converts a local variant value to a remote variant value.
public GetRemoteValue ( Variant localeValue, TypeInfo remoteType ) : Variant
localeValue Variant The local value.
remoteType TypeInfo The expected type for the remote value.
리턴 Variant

Initialize() 공개 메소드

Initializes the namespace mappings and updates the proxy configuration.
public Initialize ( Session session, ComProxyConfiguration configuration ) : void
session Opc.Ua.Client.Session The session.
configuration ComProxyConfiguration The configuration.
리턴 void

UpdateMappingSet() 공개 메소드

Updates an integer id mapping set.
public UpdateMappingSet ( NodeIdMappingSet mappingSet ) : void
mappingSet NodeIdMappingSet
리턴 void