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 6e4561b3
authored
2024-06-19 19:38:17 -0300
by
Tu Nombre
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
fsd
1 parent
c79214e7
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
19 additions
and
19 deletions
static/src/pdf2.js
static/src/pdf2.js
View file @
6e4561b
...
...
@@ -249,32 +249,32 @@ class PDF2 {
gaseshumosToPDF
(
pointer
,
data
)
{
const
gaseshumos
=
this
.
A4
.
addRelativeChild
(
new
Div
(
pointer
.
addxy
(
Pos
.
beg_margin
+
2
,
0
),
new
Vector
(
this
.
containerSize
,
9
)));
gaseshumos
.
addRelativeChildren
([
new
Text
(
`
${
this
.
Dominio
}
- Resultado Analizador de Gases`
,
new
Vector
(
Pos
.
beg
,
Pos
.
third
),
this
.
font
),
new
Text
(
`
${
this
.
Dominio
}
- Resultado Analizador de Humos`
,
new
Vector
(
Pos
.
two_thirds
,
Pos
.
third
),
this
.
font
),
new
Text
(
`CO
${
data
[
'co'
]}
% HC
${
data
[
'hc'
]}
ppm`
,
new
Vector
(
Pos
.
beg
,
Pos
.
two_thirds
),
this
.
font
),
new
Text
(
`Medición
${
data
[
'opacidad_logaritmica'
]}
`
,
new
Vector
(
Pos
.
three_quarters
,
Pos
.
two_thirds
),
this
.
font
)
]);
if
(
data
[
'opacidad_logaritmica'
]
!=
'---'
)
{
gaseshumos
.
addRelativeChildren
([
new
Text
(
`
${
this
.
Dominio
}
- Resultado Analizador de Gases`
,
new
Vector
(
Pos
.
beg
,
Pos
.
third
),
this
.
font
),
new
Text
(
`Medición
${
data
[
'opacidad_logaritmica'
]}
`
,
new
Vector
(
Pos
.
three_quarters
,
Pos
.
two_thirds
),
this
.
font
)
]);
}
if
(
data
[
'co'
]
!=
'---'
)
{
gaseshumos
.
addRelativeChildren
([
new
Text
(
`
${
this
.
Dominio
}
- Resultado Analizador de Humos`
,
new
Vector
(
Pos
.
two_thirds
,
Pos
.
third
),
this
.
font
),
new
Text
(
`CO
${
data
[
'co'
]}
% HC
${
data
[
'hc'
]}
ppm`
,
new
Vector
(
Pos
.
beg
,
Pos
.
two_thirds
),
this
.
font
),
]);
}
return
pointer
.
addxy
(
0
,
9
);
}
ruidoToPDF
(
pointer
,
data
)
{
const
gaseshumos
=
this
.
A4
.
addRelativeChild
(
new
Div
(
pointer
.
addxy
(
Pos
.
beg_margin
+
2
,
0
),
new
Vector
(
this
.
containerSize
,
9
)));
gaseshumos
.
addRelativeChildren
([
new
Text
(
`
${
this
.
Dominio
}
- Resultado Analizador Ruido`
,
new
Vector
(
Pos
.
beg
,
Pos
.
third
),
this
.
font
),
new
Text
(
""
,
new
Vector
(
Pos
.
two_thirds
,
Pos
.
third
),
this
.
font
),
]);
gaseshumos
.
addRelativeChildren
([
new
Text
(
`
${
this
.
Dominio
}
- Resultado Analizador Ruido`
,
new
Vector
(
Pos
.
beg
,
Pos
.
third
),
this
.
font
),
new
Text
(
""
,
new
Vector
(
Pos
.
two_thirds
,
Pos
.
third
),
this
.
font
),
new
Text
(
`
${
data
[
'nivelsonoro'
]}
dba`
,
new
Vector
(
Pos
.
beg
,
Pos
.
two_thirds
),
this
.
font
),
new
Text
(
""
,
new
Vector
(
Pos
.
three_quarters
,
Pos
.
two_thirds
),
this
.
font
)
...
...
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