2019-12-24 00:30:44 +08:00
|
|
|
// Copyright (c) Mainflux
|
|
|
|
// SPDX-License-Identifier: Apache-2.0
|
|
|
|
|
|
|
|
package opcua
|
|
|
|
|
2020-01-27 19:25:16 +08:00
|
|
|
// BrowsedNode represents the details of a browsed OPC-UA node.
|
|
|
|
type BrowsedNode struct {
|
|
|
|
NodeID string
|
|
|
|
Type string
|
|
|
|
Description string
|
2020-01-29 06:30:55 +08:00
|
|
|
Unit string
|
|
|
|
Scale string
|
|
|
|
BrowseName string
|
2020-01-27 19:25:16 +08:00
|
|
|
}
|
|
|
|
|
2019-12-24 00:30:44 +08:00
|
|
|
// Browser represents the OPC-UA Server Nodes browser.
|
|
|
|
type Browser interface {
|
|
|
|
// Browse availlable Nodes for a given URI.
|
2020-01-27 19:25:16 +08:00
|
|
|
Browse(string, string) ([]BrowsedNode, error)
|
2019-12-24 00:30:44 +08:00
|
|
|
}
|