Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我想更新服务器中的数据,我找不到更新当前变量节点的方法。我可以在写/读示例中看到有一个 AttributeContext 传递给函数。 1. 我需要那个吗更新我的变量节点?2. 如果我这样做,我如何获得那个 AttributeContext?
最简单的方法是只调用VariableNode#setValue你VariableNode的 s ,然后AttributeManager#read在你的Namespace. 看看ExampleNamespace那可能是什么样子。
VariableNode#setValue
VariableNode
AttributeManager#read
Namespace
ExampleNamespace
还有许多其他方法,这完全取决于您。实现Namespace是 SDK 停止工作的地方,轮到您进行编程了。