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
f57bf7a0
Commit
f57bf7a0
authored
3 years ago
by
Jan David Mol
Browse files
Options
Downloads
Patches
Plain Diff
L2SS-412
: Fix statistics devices after merge error and wrong order of parameters
parent
70b5a268
Branches
Branches containing commit
Tags
Tags containing commit
1 merge request
!142
L2SS-412: Use asyncio for opcua and other clients
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
devices/clients/statistics_client.py
+1
-1
1 addition, 1 deletion
devices/clients/statistics_client.py
devices/devices/sdp/statistics.py
+0
-5
0 additions, 5 deletions
devices/devices/sdp/statistics.py
with
1 addition
and
6 deletions
devices/clients/statistics_client.py
+
1
−
1
View file @
f57bf7a0
...
...
@@ -17,7 +17,7 @@ class StatisticsClient(AsyncCommClient):
and provides a CommClient interface to expose points to a Device Server.
"""
def
__init__
(
self
,
collector
,
udp_options
,
tcp_options
,
fault_func
,
queuesize
=
1024
,
event_loop
=
None
):
def
__init__
(
self
,
collector
,
udp_options
,
tcp_options
,
fault_func
,
event_loop
=
None
,
queuesize
=
1024
):
"""
Create the statistics client and connect() to it and get the object node.
...
...
This diff is collapsed.
Click to expand it.
devices/devices/sdp/statistics.py
+
0
−
5
View file @
f57bf7a0
...
...
@@ -146,11 +146,6 @@ class Statistics(opcua_device, metaclass=ABCMeta):
await
self
.
statistics_client
.
start
()
# tie attributes to client
for
i
in
self
.
attr_list
():
if
i
.
comms_id
==
StatisticsClient
:
i
.
set_comm_client
(
self
.
statistics_client
)
# --------
# Commands
# --------
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