Skip to content
Snippets Groups Projects
Commit c24e2f9c authored by Jan David Mol's avatar Jan David Mol
Browse files

Rename src -> util

parent dde30236
No related branches found
No related tags found
1 merge request!16Generic code cleanup
...@@ -15,7 +15,7 @@ ...@@ -15,7 +15,7 @@
from tango.server import run from tango.server import run
# Additional import # Additional import
from src.hardware_device import * from util.hardware_device import *
__all__ = ["HW_dev"] __all__ = ["HW_dev"]
......
...@@ -18,9 +18,9 @@ from tango.server import device_property ...@@ -18,9 +18,9 @@ from tango.server import device_property
# Additional import # Additional import
from clients.opcua_connection import OPCUAConnection from clients.opcua_connection import OPCUAConnection
from src.attribute_wrapper import * from util.attribute_wrapper import *
from src.hardware_device import * from util.hardware_device import *
from src.lofar_logging import device_logging_to_python from util.lofar_logging import device_logging_to_python
__all__ = ["PCC", "main"] __all__ = ["PCC", "main"]
......
...@@ -17,9 +17,9 @@ from tango.server import device_property ...@@ -17,9 +17,9 @@ from tango.server import device_property
# Additional import # Additional import
from clients.opcua_connection import OPCUAConnection from clients.opcua_connection import OPCUAConnection
from src.attribute_wrapper import * from util.attribute_wrapper import *
from src.hardware_device import * from util.hardware_device import *
from src.lofar_logging import device_logging_to_python from util.lofar_logging import device_logging_to_python
__all__ = ["SDP", "main"] __all__ = ["SDP", "main"]
......
from src.comms_client import * from util.comms_client import *
import opcua import opcua
__all__ = ["OPCUAConnection"] __all__ = ["OPCUAConnection"]
......
from src.comms_client import * from util.comms_client import *
# <class 'numpy.bool_'> # <class 'numpy.bool_'>
......
...@@ -18,8 +18,8 @@ from tango import DevState ...@@ -18,8 +18,8 @@ from tango import DevState
# Additional import # Additional import
from clients.test_client import example_client from clients.test_client import example_client
from src.attribute_wrapper import * from util.attribute_wrapper import *
from src.hardware_device import * from util.hardware_device import *
__all__ = ["test_device", "main"] __all__ = ["test_device", "main"]
......
...@@ -3,7 +3,7 @@ from tango import AttrWriteType ...@@ -3,7 +3,7 @@ from tango import AttrWriteType
import numpy import numpy
from src.wrappers import only_when_on, fault_on_error from util.wrappers import only_when_on, fault_on_error
import logging import logging
logger = logging.getLogger() logger = logging.getLogger()
......
File moved
...@@ -16,13 +16,13 @@ from tango.server import Device, command ...@@ -16,13 +16,13 @@ from tango.server import Device, command
from tango import DevState, DebugIt from tango import DevState, DebugIt
# Additional import # Additional import
from src.attribute_wrapper import * from util.attribute_wrapper import *
from src.lofar_logging import log_exceptions from util.lofar_logging import log_exceptions
__all__ = ["hardware_device"] __all__ = ["hardware_device"]
from src.wrappers import only_in_states from util.wrappers import only_in_states
class hardware_device(Device): class hardware_device(Device):
......
File moved
File moved
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment