TOpcUaServer

 

Constructor

 

constructor TOpcUaServer.Create(AServerConfig:SpxServerConfig);

 

Open server

 

function TOpcUaServer.Open():SpxBoolean;

 

Close server

 

function TOpcUaServer.Close():SpxBoolean;

 

Sever is open

 

property TOpcUaServer.IsOpen:SpxBoolean read GetIsOpen;

 

Create namespace

 

function TOpcUaServer.CreateNamespace(ANamespaceUri:SpxString):SpxUInt16;

 

Create folder

 

function TOpcUaServer.CreateFolder(ANodeId:SpxNodeId; ABrowseName:SpxString; ADisplayName, ADescription: SpxLocalizedText;AParentNodeId: SpxNodeId): SpxBoolean;

 

Create variable

 

function TOpcUaServer.CreateVariable(ANodeId:SpxNodeId; ABrowseName:SpxString; ADisplayName, Adescription: SpxLocalizedText;AParentNodeId: SpxNodeId; ADataType:SpxDataType; AAllowWrite, AallowHistory: SpxBoolean):SpxBoolean;

 

Create enumerationtype

 

function TOpcUaServer.CreateEnumVariableType(ANodeId:SpxNodeId; ABrowseName:SpxString; ADisplayName, ADescription:SpxLocalizedText; AEnumStrings: SpxLocalizedTextArray):SpxBoolean; overload;

 

Create enumeration type with values

 

function TOpcUaServer.CreateEnumVariableType(ANodeId:SpxNodeId; ABrowseName:SpxString; ADisplayName, ADescription: SpxLocalizedText;AEnumValues: SpxEnumValues):SpxBoolean; overload;

 

Create method

 

function TOpcUaServer.CreateMethod(ANodeId:SpxNodeId;ABrowseName:SpxString; ADisplayName, Adescription: SpxLocalizedText;AParentNodeId: SpxNodeId; AInputArguments,AOutputArguments: SpxArguments):SpxBoolean;

 

Delete node

 

function TOpcUaServer.DeleteNode(ANodeId:SpxNodeId): SpxBoolean;

 

Change node

 

function TOpcUaServer.ChangeNode(ANodeId:SpxNodeId; AChangeNodeParams:SpxChangeNodeParams): SpxBoolean;

 

Set variable value

 

function TOpcUaServer.SetVariableValue(ANodeId:SpxNodeId; ADataValue:SpxDataValue): SpxBoolean;

 

Get variable value

 

function TOpcUaServer.GetVariableValue(ANodeId:SpxNodeId; outADataValue: SpxDataValue): SpxBoolean;