Source code for sylib.library.plugins.calculator.std_plugin.plugin_std

# This file is part of Sympathy for Data.
# Copyright (c) 2013, Combine Control Systems AB
#
# SYMPATHY FOR DATA COMMERCIAL LICENSE
# You should have received a link to the License with Sympathy for Data.
from sylib.calculator import plugins
from sylib.calculator.std_plugin import (
    basics, logics, event_detection)


[docs] class StdPlugin(plugins.ICalcPlugin): """Standard plugin for calculator node.""" # This plugin should be listed first: WEIGHT = -1 @classmethod def plugin_impl_name(cls): return 'Standard' @staticmethod def gui_dict(): gui_dict = {} gui_dict.update(basics.GUI_DICT) gui_dict.update(logics.GUI_DICT) gui_dict.update(event_detection.GUI_DICT) return gui_dict @staticmethod def globals_dict(): return {'ca': plugins.PluginWrapper(basics.LogicOperator, basics.Statistics, logics.Logics, event_detection.EventDetection)}