Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
E
ess-public-screens
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Wiki
Jira
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
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
Code review analytics
Issue analytics
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
ics-software
ess-public-screens
Commits
e22900d9
Commit
e22900d9
authored
5 years ago
by
Emanuele Laface
Browse files
Options
Downloads
Patches
Plain Diff
Fix ts2 thread
parent
2ee4b054
No related branches found
No related tags found
No related merge requests found
Pipeline
#29734
passed
5 years ago
Changes
1
Pipelines
2
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
PythonServer/pos-python-server.py
+3
-0
3 additions, 0 deletions
PythonServer/pos-python-server.py
with
3 additions
and
0 deletions
PythonServer/pos-python-server.py
+
3
−
0
View file @
e22900d9
...
...
@@ -14,6 +14,7 @@ from threading import Thread, Event
from
screens.pos
import
posScreen
from
screens.interlocks
import
interlocksScreen
from
screens.instruments
import
instrumentsScreen
from
screens.ts2
import
ts2Screen
PORT_NUMBER
=
8080
ARCHIVER_SERVER
=
os
.
environ
.
get
(
'
ARCHIVER_SERVER
'
,
'
archiver-01.tn.esss.lu.se
'
)
...
...
@@ -205,6 +206,8 @@ try:
interlocksThread
.
start
()
instrumentsThread
=
instrumentsScreen
(
stop_signal
)
instrumentsThread
.
start
()
ts2Thread
=
ts2Screen
(
stop_signal
)
ts2Thread
.
start
()
server
=
HTTPServer
((
''
,
PORT_NUMBER
),
myHandler
)
print
(
'
Started httpserver on port
'
,
PORT_NUMBER
)
...
...
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