milo框架
milo是java的实现的一个opcua协议的框架,提供了server和client,结合上几个章节学习的关于opcua的一些基础理论知识,今天通过代码
来实践一下
启动一个opcua server
运行后,控制台如下:
可以看到,此次会有两个namespace,一个是opcua基金会占用的 namespaceindex=0的,一个是我们自定义的namespaceindex=1的;
NameSpaceTable
可以看到,初始化的时候,uriTable会插入index=0的地址空间
ua专家链接
我们使用ua专家链接,看看目前server上都有哪些东西