Skip to content
Toggle navigation
Toggle navigation
This project
Loading...
Sign in
Luciano Barletta
/
Pruebas-RTO
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Network
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Network
Compare
Branches
Tags
Commit b00e922b
authored
2024-06-19 09:51:58 -0300
by
Tu Nombre
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
Moviendo logica a python
1 parent
a4574a98
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
2 deletions
main.py
templates/form.html
main.py
View file @
b00e922
...
@@ -316,6 +316,8 @@ def readdata(s, r):
...
@@ -316,6 +316,8 @@ def readdata(s, r):
r
[
'trasero'
][
'fuerza_izquierda'
]
=
_e2q
(
_attempt
(
reach
(
f
"fuerzaIzqEst-0"
),
"?"
)(
s
))
r
[
'trasero'
][
'fuerza_izquierda'
]
=
_e2q
(
_attempt
(
reach
(
f
"fuerzaIzqEst-0"
),
"?"
)(
s
))
r
[
'trasero'
][
'fuerza_derecha'
]
=
_e2q
(
_attempt
(
reach
(
f
"fuerzaDerEst-0"
),
"?"
)(
s
))
r
[
'trasero'
][
'fuerza_derecha'
]
=
_e2q
(
_attempt
(
reach
(
f
"fuerzaDerEst-0"
),
"?"
)(
s
))
r
[
'trasero'
][
'eje'
]
=
_e2q
(
_attempt
(
reach
(
f
"nroEjeEst-0"
),
"?"
)(
s
))
r
[
'trasero'
][
'eje'
]
=
_e2q
(
_attempt
(
reach
(
f
"nroEjeEst-0"
),
"?"
)(
s
))
r
[
"trasero"
][
f
'eficacia_freno_mano'
]
=
s
.
traerTextDiv
(
f
"remotoDivEficienciaEst-0"
)
r
[
"trasero"
][
f
'diferencia_freno_mano'
]
=
s
.
traerTextDiv
(
f
"remotoDivDiferenciaEst-0"
)
# gases y humos
# gases y humos
...
...
templates/form.html
View file @
b00e922
...
@@ -104,9 +104,9 @@
...
@@ -104,9 +104,9 @@
<br>
<br>
Fuerza Derecha
<input
sub=
"trasero"
type=
"text"
name=
"fuerza_derecha"
id=
"2fuerza_derecha_freno_mano"
>
Fuerza Derecha
<input
sub=
"trasero"
type=
"text"
name=
"fuerza_derecha"
id=
"2fuerza_derecha_freno_mano"
>
<br>
<br>
Diferencia
<input
sub=
"
frenos
"
type=
"text"
id=
"diferencia_freno_mano"
name=
"diferencia_freno_mano"
value=
"---"
readonly
>
Diferencia
<input
sub=
"
trasero
"
type=
"text"
id=
"diferencia_freno_mano"
name=
"diferencia_freno_mano"
value=
"---"
readonly
>
<br>
<br>
Eficacia
<input
sub=
"
frenos
"
type=
"text"
id=
"eficacia_freno_mano"
name=
"eficacia_freno_mano"
value=
"---"
readonly
>
Eficacia
<input
sub=
"
trasero
"
type=
"text"
id=
"eficacia_freno_mano"
name=
"eficacia_freno_mano"
value=
"---"
readonly
>
<br>
<br>
Eje Nº
<input
sub=
"trasero"
type=
"text"
name=
"eje"
id=
"eje_freno_est"
>
Eje Nº
<input
sub=
"trasero"
type=
"text"
name=
"eje"
id=
"eje_freno_est"
>
<br>
<br>
...
...
Write
Preview
Styling with
Markdown
is supported
Attach a file
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to post a comment