Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
S
slu-totem-compressor
Manage
Activity
Members
Labels
Plan
Issues
0
Issue boards
Milestones
Wiki
Code
Merge requests
0
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
cs
gui
slu-totem-compressor
Commits
9eb18064
Commit
9eb18064
authored
4 years ago
by
Paolo Cinquegrana
Browse files
Options
Downloads
Patches
Plain Diff
pulizia codice
parent
1eab9fa0
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
src/slu-totem-compressor.py
+0
-14
0 additions, 14 deletions
src/slu-totem-compressor.py
with
0 additions
and
14 deletions
src/slu-totem-compressor.py
+
0
−
14
View file @
9eb18064
...
...
@@ -41,12 +41,6 @@ class MainWindow(QDialog):
self
.
comune_f
.
clicked
.
connect
(
self
.
comando_comune_f
)
self
.
comune_stop
=
QPushButton
(
"
STOP
"
)
self
.
comune_stop
.
clicked
.
connect
(
self
.
comando_comune_stop
)
#self.cb_stimaritardo = QCheckBox("Start delay record")
#self.cb_stimaritardo.clicked.connect(self.comando_delay_record)
#self.stimaritardo = QLineEdit("")
#self.stimaritardo.setReadOnly(1)
#self.stimaritardo.setStyleSheet("background-color: rgb(237, 237, 237)")
#self.stimaritardo.setDisabled(1)
self
.
motore1_pos
=
QLineEdit
(
""
)
self
.
motore1_pos
.
setReadOnly
(
1
)
self
.
motore1_pos
.
setStyleSheet
(
"
background-color: rgb(237, 237, 237)
"
)
...
...
@@ -99,11 +93,9 @@ class MainWindow(QDialog):
self
.
tab1
=
QWidget
()
self
.
tab2
=
QWidget
()
self
.
tab3
=
QWidget
()
#self.tab4 = QWidget()
self
.
contienitab
.
addTab
(
self
.
tab1
,
"
Compressor
"
)
self
.
contienitab
.
addTab
(
self
.
tab2
,
"
trls_slu.02
"
)
self
.
contienitab
.
addTab
(
self
.
tab3
,
"
trls_slu.04
"
)
#self.contienitab.addTab(self.tab4, "Info")
lot1
=
QGridLayout
()
lot1
.
addWidget
(
QLabel
(
"
ABSOLUTE Movement
"
),
0
,
0
,
1
,
4
)
lot1
.
addWidget
(
self
.
comune_inputabs
,
0
,
4
,
1
,
3
)
...
...
@@ -113,9 +105,6 @@ class MainWindow(QDialog):
lot1
.
addWidget
(
self
.
comune_b
,
1
,
4
,
1
,
2
)
lot1
.
addWidget
(
self
.
comune_inputrel
,
1
,
6
,
1
,
3
)
lot1
.
addWidget
(
self
.
comune_f
,
1
,
9
,
1
,
2
)
#lot1.addWidget(QLabel("Delay"), 2, 0, 1, 4)
#lot1.addWidget(self.cb_stimaritardo, 2, 4, 1, 3)
#lot1.addWidget(self.stimaritardo, 2, 7, 1, 3)
self
.
tab1
.
setLayout
(
lot1
)
self
.
tab1
.
layout
().
setSizeConstraint
(
QLayout
.
SetFixedSize
)
lot2
=
QGridLayout
()
...
...
@@ -278,9 +267,6 @@ class MainWindow(QDialog):
devprodic
[
'
motor1
'
].
axisstop
()
devprodic
[
'
motor2
'
].
axisstop
()
#def comando_delay_record(self):
#self.stimaritardo.setDisabled(0)
def
comando_motor1_change
(
self
):
gol
=
float
(
self
.
motore1_offset_write
.
text
())
devprodic
[
'
ranges
'
].
write_attribute
(
'
Totem_compressor_Motor_1_offset
'
,
gol
)
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
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