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
10 months ago
by
Tu Nombre
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
fsd
1 parent
c79214e7
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
9 deletions
static/src/pdf2.js
static/src/pdf2.js
View file @
6e4561b
...
@@ -249,19 +249,18 @@ class PDF2 {
...
@@ -249,19 +249,18 @@ class PDF2 {
gaseshumosToPDF
(
pointer
,
data
)
{
gaseshumosToPDF
(
pointer
,
data
)
{
const
gaseshumos
=
this
.
A4
.
addRelativeChild
(
new
Div
(
pointer
.
addxy
(
Pos
.
beg_margin
+
2
,
0
),
new
Vector
(
this
.
containerSize
,
9
)));
const
gaseshumos
=
this
.
A4
.
addRelativeChild
(
new
Div
(
pointer
.
addxy
(
Pos
.
beg_margin
+
2
,
0
),
new
Vector
(
this
.
containerSize
,
9
)));
if
(
data
[
'opacidad_logaritmica'
]
!=
'---'
)
{
gaseshumos
.
addRelativeChildren
([
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 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
(
`
${
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
(
`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
)
]);
]);
}
return
pointer
.
addxy
(
0
,
9
);
return
pointer
.
addxy
(
0
,
9
);
}
}
...
@@ -274,7 +273,8 @@ class PDF2 {
...
@@ -274,7 +273,8 @@ class PDF2 {
new
Text
(
`
${
this
.
Dominio
}
- Resultado Analizador Ruido`
,
new
Vector
(
Pos
.
beg
,
Pos
.
third
),
this
.
font
),
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
(
""
,
new
Vector
(
Pos
.
two_thirds
,
Pos
.
third
),
this
.
font
),
]);
gaseshumos
.
addRelativeChildren
([
new
Text
(
`
${
data
[
'nivelsonoro'
]}
dba`
,
new
Vector
(
Pos
.
beg
,
Pos
.
two_thirds
),
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
)
new
Text
(
""
,
new
Vector
(
Pos
.
three_quarters
,
Pos
.
two_thirds
),
this
.
font
)
...
...
This diff is collapsed.
Click to expand it.
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