uaPLUS Reference
onAddItem Method
See Also  Send Feedback
Advosol.uaPLUS Namespace > uaPLUS Class : onAddItem Method

AppItemHandle
Handle that identifies the item in the plug-in
ItemId
Fully qualified identifier of the item.
The identified has the syntax aaa.bbb.ccc for the item ccc in the branch bbb that is in the branch aaa. The branch aaa is in the root branch for the DA plugin (defined in the uaPLUS.daRootName property) or in the config setting DArootName.
AccessRights
InitValue
Initial value. It also defines the data type of the DA item node.
quality
OPC DA quality value.
timestamp
UTC time stamp.
scanRate
Minimal sampling interval fo the node.

Glossary Item Box

Creates the UA nodes for one DA item.

Syntax

Visual Basic (Declaration) 
Public Function onAddItem( _
   ByVal AppItemHandle As Integer, _
   ByVal ItemId As String, _
   ByVal AccessRights As Integer, _
   ByVal InitValue As Object, _
   ByVal quality As Short, _
   ByVal timestamp As Date, _
   ByVal scanRate As Integer _
) As Integer
C# 
public int onAddItem( 
   int AppItemHandle,
   string ItemId,
   int AccessRights,
   object InitValue,
   short quality,
   DateTime timestamp,
   int scanRate
)

Parameters

AppItemHandle
Handle that identifies the item in the plug-in
ItemId
Fully qualified identifier of the item.
The identified has the syntax aaa.bbb.ccc for the item ccc in the branch bbb that is in the branch aaa. The branch aaa is in the root branch for the DA plugin (defined in the uaPLUS.daRootName property) or in the config setting DArootName.
AccessRights
InitValue
Initial value. It also defines the data type of the DA item node.
quality
OPC DA quality value.
timestamp
UTC time stamp.
scanRate
Minimal sampling interval fo the node.

Requirements

Target Platforms: Windows XP Professional, Windows Server 2003 family, Windows Vista, Windows 7, Windows Server 2008 family

See Also

© 2010-2018 Copyright Advosol Inc. All Rights Reserved.