mirror of
https://github.com/mainflux/mainflux.git
synced 2025-04-26 13:48:53 +08:00

* NOISSUE - Add opc-ua type handling and unsubscription Signed-off-by: Manuel Imperiale <manuel.imperiale@gmail.com> * Create const for max childrens Signed-off-by: Manuel Imperiale <manuel.imperiale@gmail.com>
21 lines
468 B
Go
21 lines
468 B
Go
// Copyright (c) Mainflux
|
|
// SPDX-License-Identifier: Apache-2.0
|
|
|
|
package opcua
|
|
|
|
// BrowsedNode represents the details of a browsed OPC-UA node.
|
|
type BrowsedNode struct {
|
|
NodeID string
|
|
DataType string
|
|
Description string
|
|
Unit string
|
|
Scale string
|
|
BrowseName string
|
|
}
|
|
|
|
// Browser represents the OPC-UA Server Nodes browser.
|
|
type Browser interface {
|
|
// Browse availlable Nodes for a given URI.
|
|
Browse(string, string) ([]BrowsedNode, error)
|
|
}
|