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 28957658
authored
2024-06-18 10:46:18 -0300
by
Tu Nombre
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
Traigo datos de ruido si existen
1 parent
cc08430b
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
1 deletions
main.py
main.py
View file @
2895765
...
...
@@ -165,6 +165,7 @@ def report():
"frenos"
:
{},
"trasero"
:
{},
"gaseshumos"
:
{},
"ruido"
:{},
}
answer
[
'header'
][
'patente'
]
=
plate
.
upper
()
...
...
@@ -317,7 +318,13 @@ def readdata(s, r):
r
[
'gaseshumos'
][
'hc'
]
=
_e2q
(
_attempt
(
reach
(
f
"cantHC"
),
"?"
)(
s
))
#Nivel sonoro
#r['ruido']["nivelsonoro"] = _e2q(_attempt( reach(f"extEscape"), "?" )(s))
try
:
r
[
'ruido'
][
"nivelsonoro"
]
=
_e2q
(
_attempt
(
reach
(
f
"extEscape"
),
"?"
)(
s
))
except
Exception
as
E
:
print
(
"""###Error a traer datos de nivel sonoro###"""
)
print
(
E
)
print
(
"""###Error a traer datos de nivel sonoro###"""
)
#print(r)
return
r
...
...
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