identified charting space in workspace

This commit is contained in:
Alexandru Stefan committed 2021-10-25 02:40:04 +03:00
1 parent 180a0ff84e
commit af35bf32e0
1 file changed
+20
@@ -36,6 +36,8 @@ function newFoundationsFunctionLibraryProductFunctions() {
installInTradingMine(rootNode)
} else if (rootNode.type === 'LAN Network') {
installInNetworkNodes(rootNode)
} else if (rootNode.type === 'Charting Space') {
installInChartingSpace(rootNode)
}
}
@@ -220,6 +222,24 @@ function newFoundationsFunctionLibraryProductFunctions() {
}
function installInChartingSpace(chartingSpace) {
for (let j = 0; j < chartingSpace.projectDashboards.length; j++) {
let projectDashboard = chartingSpace.projectDashboards[j]
for (k = 0; k < projectDashboard.dashboards.length; k++) {
let dashboard = projectDashboard.dashboards[k]
for (l = 0; l < dashboard.timeMachines.length; l++) {
timeMachine = dashboard.timeMachines[l]
}
}
}
}
}
}