作品 灵感-取自 奥普卡 OPC / UA二进制协议的本机Go实现。 您需要go1.13或更高版本。 我们使用当前和以前的Go版本进行测试。 快速开始 # make sure you have go1.13 or higher # install library go get -u github.com/gopcua/opcua # get current date and time 'ns=0;i=2258' go run examples/datetime/datetime.go -endpoint opc.tcp://localhost:4840 # read the server version go run examples/read/read.go -endpoint opc.tcp://localhost:4840 -node ' ns=0;i=2261 ' # get t