Skip to content
Snippets Groups Projects
Commit 11aedc52 authored by Thomas Juerges's avatar Thomas Juerges
Browse files

Thijs changed the MP/CP names to what we discussed

The names are now
MP_NAME_R
CP_NAME_RW
This makes it clear what an MP and what a CP is.
parent 5562967d
No related branches found
No related tags found
No related merge requests found
...@@ -11,8 +11,8 @@ client.connect() ...@@ -11,8 +11,8 @@ client.connect()
obj = client.get_objects_node() obj = client.get_objects_node()
name_space_index = 2 name_space_index = 2
time_offset = obj.get_child("{}:time_offset".format(name_space_index)) time_offset = obj.get_child("{}:time_offset".format(name_space_index))
time_offset_R = time_offset.get_child("{}:monitor_point".format(name_space_index)) time_offset_R = time_offset.get_child("{}:time_offset_R".format(name_space_index))
time_offset_RW = time_offset.get_child("{}:control_point".format(name_space_index)) time_offset_RW = time_offset.get_child("{}:time_offset_RW".format(name_space_index))
old_time_offset = time_offset_R.get_value() old_time_offset = time_offset_R.get_value()
target_time_offset = 1 target_time_offset = 1
new_time_offset = old_time_offset + target_time_offset new_time_offset = old_time_offset + target_time_offset
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment