Skip to content

Commit 0892b5e

Browse files
kozachynskyioroulet
authored andcommitted
now dv returns corrent timestamps
1 parent bfd5d12 commit 0892b5e

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

opcua/server/history_sql.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -116,7 +116,7 @@ def read_node_history(self, node_id, start, end, nb_values):
116116

117117
# rebuild the data value object
118118
dv = ua.DataValue(variant_from_binary(Buffer(row[6])))
119-
dv.SourceTimestamp = row[1]
119+
dv.ServerTimestamp = row[1]
120120
dv.SourceTimestamp = row[2]
121121
dv.StatusCode = ua.StatusCode(row[3])
122122

0 commit comments

Comments
 (0)