procon aggregate

This commit is contained in:
marco committed 2026-10-22 07:57:46 +02:00
1 parent e284fae7b4
commit d0655f3638
32 files changed
+1520 -1058

No files matched your search

+8
View File
@@ -22,10 +22,13 @@ import { DrawWasserZufuhr } from 'src/graphics/elements/drawWasserZufuhr';
import { DrawBehaelterMulti } from 'src/graphics/elements/drawBehaelterMulti';
import { DrawMotor } from 'src/graphics/elements/drawMotor';
import { DrawAnlageDurmin } from 'src/graphics/elements/drawAnlageDurmin2';
import { DrawBandOben } from '../graphics/elements/drawBandOben';
import { parseBandObenRequest } from '../_dto/band-oben.dto';
@Injectable()
export class DrawService {
constructor(
private readonly buildBandOben: DrawBandOben,
private readonly buildSieb: Sieb,
private readonly buildGurtfoerderer: DrawGurtfoerderer,
private readonly buildSetzmaschine: DrawSetzmaschine,
@@ -55,6 +58,11 @@ export class DrawService {
return this.buildAnlageDurmin.getDrawObject({})
}
renderBandOben(input: unknown) {
const { config, options } = parseBandObenRequest(input);
return this.buildBandOben.getObject(config, options);
}
sieb(options?: DrawShapeOptionenDto, rawSvg?: boolean) {
if (rawSvg) return this.buildSieb.getSvg(options);
return this.buildSieb.getDrawObject(options);