Commit a5a71c87 by Tu Nombre

retiro dinamico de suspension

1 parent 26172d35
...@@ -58,5 +58,5 @@ report = { ...@@ -58,5 +58,5 @@ report = {
'co': '?', 'co': '?',
'hc': '?'}, 'hc': '?'},
'ruido': { 'ruido': {
'nivelsonoro': '?'} 'nivelsonoro': '92'}
} }
\ No newline at end of file \ No newline at end of file
...@@ -122,8 +122,10 @@ class PDF2 { ...@@ -122,8 +122,10 @@ class PDF2 {
new Text(RD, new Vector(Pos.three_quarters + 5, Pos.end), this.font) new Text(RD, new Vector(Pos.three_quarters + 5, Pos.end), this.font)
]); ]);
}; };
let contador = 0
for (let i = 0; i < 2; i++) { for (let i = 0; i < 2; i++) {
if (data[`peso_estatico_${i + 1}`] != '---') {
contador = 15
table( table(
ejes[i], ejes[i],
i + 1, i + 1,
...@@ -132,8 +134,9 @@ class PDF2 { ...@@ -132,8 +134,9 @@ class PDF2 {
data[`rendimiento_derecho_${i+1}`] data[`rendimiento_derecho_${i+1}`]
); );
} }
}
return pointer.addxy(0, 15); return pointer.addxy(0, contador);
} }
frenosToPDF(pointer, data) { frenosToPDF(pointer, data) {
......
Styling with Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!