Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
I
Ismatec Pump
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
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
Issue analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
BVT-HTBD
KIWI
TF3
Ismatec Pump
Merge requests
!7
Pump waiting times
Code
Review changes
Check out branch
Download
Patches
Plain diff
Merged
Pump waiting times
pump_waiting_times
into
main
Overview
0
Commits
3
Pipelines
1
Changes
3
Merged
Christoph Lange
requested to merge
pump_waiting_times
into
main
1 year ago
Overview
0
Commits
3
Pipelines
1
Changes
3
Expand
0
0
Merge request reports
Compare
main
main (base)
and
latest version
latest version
d43d012d
3 commits,
1 year ago
3 files
+
76
−
38
Inline
Compare changes
Side-by-side
Inline
Show whitespace changes
Show one file at a time
Files
3
Search (e.g. *.vue) (Ctrl+P)
ismatec_pump/grpc/server.py
+
14
−
3
Options
@@ -10,14 +10,25 @@ from ismatec_pump.pump import ImatecPump
import
logging
logger
=
logging
.
getLogger
(
__
fil
e__
)
logger
=
logging
.
getLogger
(
__
nam
e__
)
class
IsmatecPumpServicer
(
PumpServicer
):
def
establish_connection
(
self
:
Self
,
pump_port
:
str
,
tube_id
)
->
None
:
self
.
pump
=
ImatecPump
(
pump_port
,
tube_id
)
def
establish_connection
(
self
:
Self
,
pump_port
:
str
,
tube_id
:
int
,
timeout
:
float
,
inter_byte_timeout
:
float
,
)
->
None
:
self
.
pump
=
ImatecPump
(
port
=
pump_port
,
tube_id
=
tube_id
,
timeout
=
timeout
,
inter_byte_timeout
=
inter_byte_timeout
,
)
self
.
pump_state
=
{
channel_idx
:
{
"
direction
"
:
"
cw
"
,
Loading