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 @@
from tango.server import run
# Additional import
from src.hardware_device import *
from util.hardware_device import *
__all__ = ["HW_dev"]
......
......@@ -18,9 +18,9 @@ from tango.server import device_property
# Additional import
from clients.opcua_connection import OPCUAConnection
from src.attribute_wrapper import *
from src.hardware_device import *
from src.lofar_logging import device_logging_to_python
from util.attribute_wrapper import *
from util.hardware_device import *
from util.lofar_logging import device_logging_to_python
__all__ = ["PCC", "main"]
......
......@@ -17,9 +17,9 @@ from tango.server import device_property
# Additional import
from clients.opcua_connection import OPCUAConnection
from src.attribute_wrapper import *
from src.hardware_device import *
from src.lofar_logging import device_logging_to_python
from util.attribute_wrapper import *
from util.hardware_device import *
from util.lofar_logging import device_logging_to_python
__all__ = ["SDP", "main"]
......
from src.comms_client import *
from util.comms_client import *
import opcua
__all__ = ["OPCUAConnection"]
......
from src.comms_client import *
from util.comms_client import *
# <class 'numpy.bool_'>
......
......@@ -18,8 +18,8 @@ from tango import DevState
# Additional import
from clients.test_client import example_client
from src.attribute_wrapper import *
from src.hardware_device import *
from util.attribute_wrapper import *
from util.hardware_device import *
__all__ = ["test_device", "main"]
......
......@@ -3,7 +3,7 @@ from tango import AttrWriteType
import numpy
from src.wrappers import only_when_on, fault_on_error
from util.wrappers import only_when_on, fault_on_error
import logging
logger = logging.getLogger()
......
File moved
......@@ -16,13 +16,13 @@ from tango.server import Device, command
from tango import DevState, DebugIt
# Additional import
from src.attribute_wrapper import *
from src.lofar_logging import log_exceptions
from util.attribute_wrapper import *
from util.lofar_logging import log_exceptions
__all__ = ["hardware_device"]
from src.wrappers import only_in_states
from util.wrappers import only_in_states
class hardware_device(Device):
......
File moved
File moved
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment