Skip to content

Commit

Permalink
add float
Browse files Browse the repository at this point in the history
  • Loading branch information
magiconair committed May 29, 2019
1 parent d355e50 commit dbcf951
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions examples/browse/browse.go
Original file line number Diff line number Diff line change
Expand Up @@ -111,6 +111,8 @@ func browse(n *opcua.Node, path string, level int) ([]NodeDef, error) {
def.DataType = "UtcTime"
case id.String:
def.DataType = "String"
case id.Float:
def.DataType = "Float"
default:
def.DataType = attrs[4].Value.NodeID().String()
}
Expand Down

0 comments on commit dbcf951

Please sign in to comment.