Source code for node_import_adaf
# This file is part of Sympathy for Data.
# Copyright (c) 2013, 2017, Combine Control Systems AB
#
# SYMPATHY FOR DATA COMMERCIAL LICENSE
# You should have received a link to the License with Sympathy for Data.
from sylib.importer import base
from sylib import docs
from sympathy.api import node as synode
from sympathy.api import importers
from sympathy.api.nodeconfig import Port, Ports
[docs]
class ImportADAF(base.ImportSingle, synode.Node):
__doc__ = docs.IMPORTER_DOCS + base.URL_DOC
author = "Alexander Busck"
name = 'ADAF'
description = 'Import datasource as ADAF'
nodeid = 'org.sysess.sympathy.data.adaf.importadaf'
icon = 'import_adaf.svg'
outputs = Ports([Port.ADAF('Imported ADAF')])
plugins = (importers.ADAFDataImporterBase, )
related = [
'org.sysess.sympathy.data.adaf.importadafs',
'org.sysess.sympathy.export.exportadafs',
]
[docs]
class ImportADAFs(base.ImportMulti, synode.Node):
__doc__ = docs.IMPORTER_DOCS + base.URL_DOC
author = "Alexander Busck"
name = 'ADAFs'
description = 'Import datasources as ADAFs'
nodeid = 'org.sysess.sympathy.data.adaf.importadafs'
icon = 'import_adaf.svg'
outputs = Ports([Port.ADAFs('Imported ADAFs', name='output')])
plugins = (importers.ADAFDataImporterBase, )
related = [
'org.sysess.sympathy.data.adaf.importadaf',
'org.sysess.sympathy.export.exportadafs',
]