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 40f443be
authored
2024-06-18 11:43:03 -0300
by
Tu Nombre
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
Agrego lojica de dif de frenos al areporte
1 parent
dc802174
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
3 deletions
static/src/pdf2.js
static/src/pdf2.js
View file @
40f443b
...
...
@@ -149,7 +149,7 @@ class PDF2 {
new
Div
(
new
Vector
(
Pos
.
beg_margin
+
2
,
Pos
.
three_quarters
),
divsize
)
]);
const
table
=
(
container
,
eje
,
FI
,
RI
,
OI
,
peso
,
FD
,
RD
,
OD
)
=>
{
const
table
=
(
container
,
eje
,
FI
,
RI
,
OI
,
peso
,
FD
,
RD
,
OD
,
DFT
)
=>
{
if
(
FI
===
RI
===
OI
===
peso
===
FD
===
RD
===
OD
)
{
console
.
log
(
eje
)
...
...
@@ -166,7 +166,7 @@ class PDF2 {
new
Text
(
"Peso del Eje"
,
new
Vector
(
Pos
.
middle
-
10
,
Pos
.
middle
),
this
.
font
),
new
Text
(
`
${
peso
}
Kg`
,
new
Vector
(
Pos
.
middle
-
5
,
Pos
.
middle
+
10
),
this
.
font
),
new
Text
(
"Diferencia "
,
new
Vector
(
Pos
.
middle
-
10
,
Pos
.
quarter
),
this
.
font
),
new
Text
(
`
${
peso
}
%`
,
new
Vector
(
Pos
.
middle
-
5
,
Pos
.
quarter
+
10
),
this
.
font
),
new
Text
(
`
${
DFT
}
%`
,
new
Vector
(
Pos
.
middle
-
5
,
Pos
.
quarter
+
10
),
this
.
font
),
new
Text
(
"Fuerza DE"
,
new
Vector
(
Pos
.
three_quarters
,
Pos
.
quarter
),
this
.
font
),
new
Text
(
`
${
FD
}
KN`
,
new
Vector
(
Pos
.
three_quarters
+
3
,
Pos
.
quarter
+
10
),
this
.
font
),
new
Text
(
"Res.Rodadura DE"
,
new
Vector
(
Pos
.
three_quarters
,
Pos
.
middle
),
this
.
font
),
...
...
@@ -187,8 +187,10 @@ class PDF2 {
data
[
`peso_estatico_
${
i
+
1
}
`
],
data
[
`fuerza_derecha_
${
i
+
1
}
`
],
data
[
`resistencia_derecha_
${
i
+
1
}
`
],
data
[
`ovalidad_derecha_
${
i
+
1
}
`
]
data
[
`ovalidad_derecha_
${
i
+
1
}
`
],
data
[
`diferencia_freno_
${
i
+
1
}
`
]
);
//console.log(data);
}
return
pointer
.
addxy
(
0
,
60
);
...
...
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