EasyUA Reference
UaDataBind Class Members
See Also  Properties  Methods  Send Feedback
EasyUA Assembly > Advosol.EasyUA Namespace : UaDataBind Class

Glossary Item Box

The following tables list the members exposed by UaDataBind.

Public Constructors

 NameDescription
Public ConstructorUaDataBind ConstructorOverloaded.   
Top

Public Properties

 NameDescription
Public PropertyApplyChangesInternally If TRUE (the default) then the changes are applied to the server within the execution of the AddLink/RemoveLink methods. For improved performance the application can disable this and call ApplyChanges() after a series of AddLink/RemoveLink calls.  
Public PropertyDBSubscription Refresh group object allowing access to the underlying RefreshGroup object.  
Public PropertyuaSession OPC server object for access to lower level OPC server access methods.  
Public PropertyUpdateRate Fastest server callback intervall.  
Public PropertyUserCallbackErrorHandler2 This handler is called if an exception happens in the DataBind callback handler Use this handler instead of UserCallbackErrorHandler. It passes the error causing subscription to the user handler for better error diagnostics.  
Public PropertyUserCallbackHandler This handler is called at the beginning of the handling of server callback with changed values. The handler should return TRUE if the item value has been processed or return FALSE to have the DataBind standard handlers to process the item value.  
Top

Public Methods

 NameDescription
Public MethodAddLinkOverloaded. Create a DataBind link for one item. The item is added to the refresh group and the internal callback handler will write new values to the specified control.
DataBind.ApplyChanges() must be called for the added links to be activated in the server. This is to increase performance by activating multple links with a single server access.  
Public MethodApplyChangesUpdate the server with the added or deleted links.
Must be called after Links are added to create the associated MonitoredItems in the server.  
Public MethodArrayToMultiLineStringThis method is intended for use in DataBind Extension callback handlers.
The array type item value is converted into a string with one value per line.  
Public MethodArrayToStringArrayThis method is intended for use in DataBind Extension callback handlers.
The array type item value is converted into a string array with a string converted value for each array element.  
Public MethodBeginApplyChangesAsynchronously update the server with the added or deleted links.
Must be called after Links are added to create the associated MonitoredItems in the server.  
Public MethodDispose Stop and dispose the associated Refresh OPC group. The OPC server is NOT disconnected.  
Public MethodEndApplyChanges Completes an asynchronous BeginApplyChanges operation.  
Public MethodHandleListViewControlThis method is intended for use in DataBind Extension callback handlers.
This method write arrays vertically. It is called from the ListView type handler. The ListViewItemCollection or ListViewSubItemCollection types have to used to write arrays horizontally.  
Public MethodListToMultiLineStringThis method is intended for use in DataBind Extension callback handlers.
The array type item value is converted into a string with one value per line.  
Public MethodRemoveLink Remove the specified DataBind link  
Public MethodTransformThis method is intended for use in DataBind Extension callback handlers.
Transform the value if it's a numeric type. The tarnsformation is done with the parameters defined int the DataBind Format definition.  
Public MethodValueToStringThis method is intended for use in DataBind Extension callback handlers.
Converts the item value object into a string. The optional format specifications and linear transformation are applied.  
Top

See Also

Copyright © 2018 Advosol Inc. All Rights Reserved.