C# Class DsatsDemo.DataSource.DataSource

Afficher le fichier Open project: OPCFoundation/UA-.NET

Private Properties

Свойство Type Description
CreateDecoder XmlDecoder
Import Opc.Ua.LocalizedText
ImportArrayDimensions uint[]
ImportExpandedNodeId Opc.Ua.ExpandedNodeId
ImportNamespaceIndex ushort
ImportNodeId Opc.Ua.NodeId
ImportQualifiedName Opc.Ua.QualifiedName
ImportServerIndex uint

Méthodes publiques

Méthode Description
DataSource ( ) : System

Creates an empty datasource.

Read ( Stream istrm ) : DataSource

Loads a datasource from a stream.

Read ( ISystemContext context, XmlElement element ) : Variant

Reads the value of a Variant.

ReadExpandedNodeId ( ISystemContext context, string source ) : Opc.Ua.ExpandedNodeId

Reads an ExpandedNodeId

ReadLock ( ISystemContext context, BaseObject source ) : LockConditionState

Reads a lock object.

ReadNodeId ( ISystemContext context, string source ) : Opc.Ua.NodeId

Reads a NodeId

ReadPhase ( ISystemContext context, BaseObject source ) : PhaseState

Reads a phase object.

Write ( Stream istrm ) : void

Write a datasource to a stream.

Private Methods

Méthode Description
CreateDecoder ( ISystemContext context, XmlElement source ) : XmlDecoder

Creates an decoder to restore Variant values.

Import ( ) : Opc.Ua.LocalizedText

Imports localized text.

ImportArrayDimensions ( string arrayDimensions ) : uint[]

Imports the array dimensions.

ImportExpandedNodeId ( string source, NamespaceTable namespaceUris, StringTable serverUris ) : Opc.Ua.ExpandedNodeId

Imports a ExpandedNodeId

ImportNamespaceIndex ( ushort namespaceIndex, NamespaceTable namespaceUris ) : ushort

Exports a namespace index.

ImportNodeId ( string source, NamespaceTable namespaceUris, bool lookupAlias ) : Opc.Ua.NodeId

Imports a NodeId

ImportQualifiedName ( string source, NamespaceTable namespaceUris ) : Opc.Ua.QualifiedName

Imports a QualifiedName

ImportServerIndex ( uint serverIndex, StringTable serverUris ) : uint

Exports a server index.

Method Details

DataSource() public méthode

Creates an empty datasource.
public DataSource ( ) : System
Résultat System

Read() public static méthode

Loads a datasource from a stream.
public static Read ( Stream istrm ) : DataSource
istrm Stream The input stream.
Résultat DataSource

Read() public méthode

Reads the value of a Variant.
public Read ( ISystemContext context, XmlElement element ) : Variant
context ISystemContext
element XmlElement
Résultat Variant

ReadExpandedNodeId() public méthode

Reads an ExpandedNodeId
public ReadExpandedNodeId ( ISystemContext context, string source ) : Opc.Ua.ExpandedNodeId
context ISystemContext
source string
Résultat Opc.Ua.ExpandedNodeId

ReadLock() public méthode

Reads a lock object.
public ReadLock ( ISystemContext context, BaseObject source ) : LockConditionState
context ISystemContext
source BaseObject
Résultat LockConditionState

ReadNodeId() public méthode

Reads a NodeId
public ReadNodeId ( ISystemContext context, string source ) : Opc.Ua.NodeId
context ISystemContext
source string
Résultat Opc.Ua.NodeId

ReadPhase() public méthode

Reads a phase object.
public ReadPhase ( ISystemContext context, BaseObject source ) : PhaseState
context ISystemContext
source BaseObject
Résultat PhaseState

Write() public méthode

Write a datasource to a stream.
public Write ( Stream istrm ) : void
istrm Stream The input stream.
Résultat void