gopcua

package
v0.0.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 16, 2020 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewBrowser

func NewBrowser(ctx context.Context, log logger.Logger) opcua.Browser

NewBrowser returns new OPC-UA browser instance.

func NewSubscriber

func NewSubscriber(ctx context.Context, publisher messaging.Publisher, thingsRM, channelsRM, connectRM opcua.RouteMapRepository, log logger.Logger) opcua.Subscriber

NewSubscriber returns new OPC-UA client instance.

Types

type NodeDef

type NodeDef struct {
	NodeID      *uaGopcua.NodeID
	NodeClass   uaGopcua.NodeClass
	BrowseName  string
	Description string
	AccessLevel uaGopcua.AccessLevelType
	Path        string
	DataType    string
	Writable    bool
	Unit        string
	Scale       string
	Min         string
	Max         string
}

NodeDef represents the node browser responnse

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL