Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
T
tango
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Wiki
Requirements
Jira issues
Open Jira
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
LOFAR2.0
tango
Commits
018676f3
Commit
018676f3
authored
3 years ago
by
Jan David Mol
Browse files
Options
Downloads
Patches
Plain Diff
Log devices under their correct name
parent
3e9a87a7
No related branches found
No related tags found
No related merge requests found
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
devices/PCC.py
+2
-0
2 additions, 0 deletions
devices/PCC.py
devices/SDP.py
+2
-0
2 additions, 0 deletions
devices/SDP.py
devices/src/hardware_device.py
+1
-2
1 addition, 2 deletions
devices/src/hardware_device.py
with
5 additions
and
2 deletions
devices/PCC.py
+
2
−
0
View file @
018676f3
...
@@ -20,10 +20,12 @@ from tango.server import device_property
...
@@ -20,10 +20,12 @@ from tango.server import device_property
from
clients.opcua_connection
import
OPCUAConnection
from
clients.opcua_connection
import
OPCUAConnection
from
src.attribute_wrapper
import
*
from
src.attribute_wrapper
import
*
from
src.hardware_device
import
*
from
src.hardware_device
import
*
from
src.lofar_logging
import
device_logging_to_python
__all__
=
[
"
PCC
"
,
"
main
"
]
__all__
=
[
"
PCC
"
,
"
main
"
]
@device_logging_to_python
({
"
device
"
:
"
PCC
"
})
class
PCC
(
hardware_device
):
class
PCC
(
hardware_device
):
"""
"""
...
...
This diff is collapsed.
Click to expand it.
devices/SDP.py
+
2
−
0
View file @
018676f3
...
@@ -19,10 +19,12 @@ from tango.server import device_property
...
@@ -19,10 +19,12 @@ from tango.server import device_property
from
clients.opcua_connection
import
OPCUAConnection
from
clients.opcua_connection
import
OPCUAConnection
from
src.attribute_wrapper
import
*
from
src.attribute_wrapper
import
*
from
src.hardware_device
import
*
from
src.hardware_device
import
*
from
src.lofar_logging
import
device_logging_to_python
__all__
=
[
"
SDP
"
,
"
main
"
]
__all__
=
[
"
SDP
"
,
"
main
"
]
@device_logging_to_python
({
"
device
"
:
"
SDP
"
})
class
SDP
(
hardware_device
):
class
SDP
(
hardware_device
):
"""
"""
...
...
This diff is collapsed.
Click to expand it.
devices/src/hardware_device.py
+
1
−
2
View file @
018676f3
...
@@ -17,7 +17,7 @@ from tango import DevState, DebugIt
...
@@ -17,7 +17,7 @@ from tango import DevState, DebugIt
# Additional import
# Additional import
from
src.attribute_wrapper
import
*
from
src.attribute_wrapper
import
*
from
src.lofar_logging
import
device_logging_to_python
,
log_exceptions
from
src.lofar_logging
import
log_exceptions
__all__
=
[
"
hardware_device
"
]
__all__
=
[
"
hardware_device
"
]
...
@@ -25,7 +25,6 @@ __all__ = ["hardware_device"]
...
@@ -25,7 +25,6 @@ __all__ = ["hardware_device"]
from
src.wrappers
import
only_in_states
from
src.wrappers
import
only_in_states
@device_logging_to_python
({
"
device
"
:
"
SDP
"
})
class
hardware_device
(
Device
):
class
hardware_device
(
Device
):
"""
"""
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment