Commit cdbb96c3 authored by Mattia Mancini's avatar Mattia Mancini

Fix indentation

parent 2459db07
...@@ -69,7 +69,8 @@ def define_get_crosslet_statistics_parameters(object, idx): ...@@ -69,7 +69,8 @@ def define_get_crosslet_statistics_parameters(object, idx):
return object.add_method(idx, "record_cross", get_crosslet_statistics, return object.add_method(idx, "record_cross", get_crosslet_statistics,
[subband, integration_time], [subband, integration_time],
[timestamp, cross, rcu]) [timestamp, cross, rcusmode])
def connect_to_server(url, port): def connect_to_server(url, port):
client = Client("opc.tcp://{}:{}/".format(url, port)) client = Client("opc.tcp://{}:{}/".format(url, port))
...@@ -77,6 +78,7 @@ def connect_to_server(url, port): ...@@ -77,6 +78,7 @@ def connect_to_server(url, port):
client.load_type_definitions() client.load_type_definitions()
return client return client
def setup_server_metadata(server=None, port=55555): def setup_server_metadata(server=None, port=55555):
if server is None: if server is None:
server = Server() server = Server()
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment