Session Concept Introduced into Product Storage

This commit is contained in:
Luis Fernando Molina committed 2019-10-07 14:51:58 +02:00
1 parent 5264885ab8
commit e4323deb83
5 files changed
+96 -8

No files matched your search

+21
View File
@@ -47,6 +47,7 @@ function newWorkspace () {
let functionLibraryProtocolNode = newProtocolNode()
let functionLibraryWorkspaceNodes = newStringifyNode()
let functionLibraryTaskFunctions = newTaskFunctions()
let functionLibraryLayerFunctions = newLayerFunctions()
let functionLibrarySessionFunctions = newSessionFunctions()
thisObject.nodeChildren = newNodeChildren()
@@ -233,6 +234,26 @@ function newWorkspace () {
download(fileName, text)
}
break
case 'Turn Layer On':
{
functionLibraryLayerFunctions.turnLayerOn(payload.node, functionLibraryProtocolNode, callBackFunction)
}
break
case 'Turn Layer Off':
{
functionLibraryLayerFunctions.turnLayerOff(payload.node, functionLibraryProtocolNode, callBackFunction)
}
break
case 'Turn All Layers On':
{
functionLibraryLayerFunctions.turnAllLayersOn(payload.node, functionLibraryProtocolNode)
}
break
case 'Turn All Layers Off':
{
functionLibraryLayerFunctions.turnAllLayersOff(payload.node, functionLibraryProtocolNode)
}
break
case 'Run Task':
{