-
Notifications
You must be signed in to change notification settings - Fork 1
/
AASPrinterGeneric.js
36 lines (28 loc) · 992 Bytes
/
AASPrinterGeneric.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
/*
* Copyright (c) 2021 Lenze SE
* SPDX-License-Identifier: Apache-2.0
*/
class AASPrinterGeneric extends AASPrinterMetamodelElements {
constructor() {
super(document.getElementById("rootElement"));
/* bind this pointer */
/* Helper */
//this.findChildElementUpward = this.findChildElementUpward.bind(this);
//this.findPropertyElementUpward = this.findPropertyElementUpward.bind(this);
//this.findElement = this.findElement.bind(this);
/* variables */
this.treeRoot = null;
this.parser = new AASParser(this);
/*
* We need to make sure the container for our async submodels is ready
* even if our aas is not printed already
*/
//this.aasContainer = this.createBootstrapContainerFluid();
this.parser.run();
//window.setInterval(this.timedUpdateValues, 2000);
// load: /api/v1/registry
}
}
function onLoadAASPrinter() {
var aasPrinter = new AASPrinterGeneric();
}