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

context
The operation context for the call.
nodesToWrite
The client requested nodes/attributes
errors
The status of the request handling.

Glossary Item Box

Writes the value for the specified nodes/attributes.
For nodes with an in-memory NodeState object the method WriteNodes is called to write the values to the underlying system(device). For nodes with success error code form WriteNodes() the NodeState object is updated, if requested.
Instead of implementing the WriteNodes() method the user can define a NodeState.OnWriteValue event handler for each node. The WriteNodes() method has the advantage that all nodes in the client write request can be written to the device together. For nodes without an in-memory NodeState object the method WriteVirtualNodes() is called.

Syntax

Visual Basic (Declaration) 
Public Overrides Sub Write( _
   ByVal context As OperationContext, _
   ByVal nodesToWrite As IList(Of WriteValue), _
   ByVal errors As IList(Of ServiceResult) _
) 
C# 
public override void Write( 
   OperationContext context,
   IList<WriteValue> nodesToWrite,
   IList<ServiceResult> errors
)

Parameters

context
The operation context for the call.
nodesToWrite
The client requested nodes/attributes
errors
The status of the request handling.

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.