Commit 105f0406 authored by Alan Marchiori's avatar Alan Marchiori

removed socket from datalogger

parent 73bbc4c6
...@@ -59,14 +59,14 @@ class DataLogger: ...@@ -59,14 +59,14 @@ class DataLogger:
self.log.debug("Getting serial number for {}@{}".format(metric_id, pakbus_id)) self.log.debug("Getting serial number for {}@{}".format(metric_id, pakbus_id))
self.serno = pakbus.get_cr1000_serial(self.socket, self.serno = pakbus.get_cr1000_serial(socket,
self.pakbus_id, self.pakbus_id,
self.my_node_id, self.my_node_id,
self.security_code) self.security_code)
self.log.info("{}@{} has serial number {}".format(metric_id, pakbus_id, self.serno)) self.log.info("{}@{} has serial number {}".format(metric_id, pakbus_id, self.serno))
self.log.debug("Getting table defs") self.log.debug("Getting table defs")
self.FileData = pakbus.fileupload(self.socket, self.FileData = pakbus.fileupload(socket,
self.pakbus_id, self.pakbus_id,
self.my_node_id, self.my_node_id,
FileName = '.TDF', FileName = '.TDF',
......
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