示例#1
0
文件: agent.py 项目: rlutes/volttron
def main(argv=sys.argv):
    """ Main method called by the eggsecutable.
    :param argv:
    :return:
    """
    # utils.vip_main(platform_agent)
    utils.vip_main(VolttronCentralPlatform, identity=VOLTTRON_CENTRAL_PLATFORM)
示例#2
0
def main(argv=sys.argv):
    '''Main method called by the eggsecutable.'''
    try:
        utils.vip_main(SMAPHistorianAgent)
    except Exception as e:
        _log.error(e)
        _log.exception('unhandled exception')
示例#3
0
def main(argv=sys.argv):
    """ Main method called by the eggsecutable.
    :param argv:
    :return:
    """
    utils.vip_main(VolttronCentralAgent, identity=VOLTTRON_CENTRAL,
                   version=__version__)
示例#4
0
def main():
    """" Main entry point for the agent."""
    try:
        utils.vip_main(weather_agent, version=__version__)
    except Exception as e:
        print(e)
        _log.exception('unhandled exception')
示例#5
0
def main(argv=sys.argv):
    """ Main method called by the eggsecutable.
    :param argv:
    :return:
    """
    # utils.vip_main(platform_agent)
    utils.vip_main(VolttronCentralPlatform)
示例#6
0
文件: agent.py 项目: rlutes/volttron
def main(argv=sys.argv):
    """Main method called by the aip."""
    try:
        utils.vip_main(EmailerAgent, identity="platform.emailer")
    except Exception as e:
        print(e)
        _log.exception('unhandled exception')
示例#7
0
def main():
    """" Main entry point for the agent."""
    try:
        utils.vip_main(weather_agent, version=__version__)
    except Exception as e:
        print(e)
        _log.exception('unhandled exception')
示例#8
0
def main(argv=sys.argv):
    """
    Main method called by the platform.
    """
    utils.vip_main(file_watch_publisher,
                   identity='platform.filewatchpublisher',
                   version=__version__)
示例#9
0
def main(argv=sys.argv):
    '''Main method called by the eggsecutable.'''
    try:
        utils.vip_main(volttronbridge)
    except Exception as e:
        print e
        _log.exception('unhandled exception')
示例#10
0
def main(argv=sys.argv):
    """Main method called by the aip."""
    try:
        utils.vip_main(ILCAgent)
    except Exception as exception:
        _log.exception("unhandled exception")
        _log.error(repr(exception))
def main(argv=sys.argv):
    '''Main method called by the eggsecutable.'''
    try:
        utils.vip_main(HEMS_agent)
    except Exception as e:
        print e
        _log.exception('unhandled exception')
示例#12
0
def main(argv=sys.argv):
    """Main method called by the aip."""
    try:
        utils.vip_main(historian, identity="nullhistorian")
    except Exception as e:
        print(e)
        _log.exception('unhandled exception')
示例#13
0
def main(argv=sys.argv):
    '''Main method called by the eggsecutable.'''
    try:
        utils.vip_main(historian, version=__version__)
    except Exception as e:
        print(e)
        _log.exception('unhandled exception')
示例#14
0
def main(argv=sys.argv):
    """Main method called by the aip."""
    try:
        utils.vip_main(historian, identity="nullhistorian")
    except Exception as e:
        print(e)
        _log.exception('unhandled exception')
示例#15
0
def main(argv=sys.argv):
    '''Main method called by the eggsecutable.'''
    try:
        utils.vip_main(smartstripgc)
    except Exception as e:
        print e
        _log.exception('unhandled exception')
示例#16
0
def main(argv=sys.argv):
    """ Main method called by the eggsecutable.
    :param argv:
    :return:
    """
    # utils.vip_main(platform_agent)
    utils.vip_main(VolttronCentralPlatform)
示例#17
0
def main(argv=sys.argv):
    '''Main method called to start the agent.'''
    utils.setup_logging()
    try:
        utils.vip_main(hello_agent)
    except Exception:
        _log.exception('unhandled exception')
示例#18
0
def main(argv=sys.argv):
    '''Main method called by the eggsecutable.'''
    try:
        utils.vip_main(schedule_example)
    except Exception as e:
        print e
        _log.exception('unhandled exception')
示例#19
0
def main(argv=sys.argv):
    '''Main method called by the eggsecutable.'''
    try:
        utils.vip_main(energybillappagent, version=__version__)

    except Exception as e:
        _log.exception('unhandled exception')
def main():
    """Main method called by the aip."""
    try:
        utils.vip_main(ProactiveDiagnostics, version=__version__)
    except Exception as exception:
        LOG.exception("unhandled exception")
        LOG.error(repr(exception))
示例#21
0
def main(argv=sys.argv):
    """Main method called by the aip."""
    try:
        utils.vip_main(historian, version=__version__)
    except Exception as e:
        print(e)
        _log.exception('unhandled exception')
示例#22
0
def main(argv=sys.argv):
    """Main method called by the aip."""
    try:
        utils.vip_main(historian, version=__version__)
    except Exception as e:
        print(e)
        _log.exception('unhandled exception')
示例#23
0
def main(argv=sys.argv):
    '''Main method called by the aip.'''
    try:
        utils.vip_main(historian)
    except Exception as e:
        print(e)
        _log.exception('unhandled exception')
示例#24
0
def main(argv=sys.argv):
    '''Main method called by the aip.'''
    try:
        utils.vip_main(historian)
    except Exception as e:
        print(e)
        _log.exception('unhandled exception')
示例#25
0
def main(argv=sys.argv):
    '''Main method called by the eggsecutable.'''
    try:
        utils.vip_main(schedule_example, version=__version__)
    except Exception as e:
        print e
        _log.exception('unhandled exception')
示例#26
0
def main(argv=sys.argv):
    '''Main method called by the eggsecutable.'''
    try:
        utils.vip_main(simpleforwarder, version=__version__)
    except Exception as e:
        print(e)
        _log.exception('unhandled exception')
示例#27
0
def main(argv=sys.argv):
    """Main method called by the aip."""
    try:
        utils.vip_main(TransactiveIlcCoordinator)
    except Exception as exception:
        _log.exception("unhandled exception")
        _log.error(repr(exception))
示例#28
0
def main():
    """Main method called to start the agent."""
    from gevent import monkey

    monkey.patch_all()
    utils.vip_main(Invertertelnetagent,
                   version=__version__)
def main(argv=sys.argv):
    """Main method called by the app."""
    try:
        utils.vip_main(AirsideAgent)
    except Exception as exception:
        _log.exception("unhandled exception")
        _log.error(repr(exception))
示例#30
0
def main(argv=sys.argv):
    '''Main method called by the eggsecutable.'''
    try:
        utils.vip_main(SMAPHistorianAgent)
    except Exception as e:
        _log.error(e)
        _log.exception('unhandled exception')
示例#31
0
def main(argv=sys.argv):
    """Main method called by the aip."""
    try:
        utils.vip_main(EmailerAgent, identity="platform.emailer",
                       version = __version__)
    except Exception as e:
        _log.exception('unhandled exception')
示例#32
0
def main(argv=sys.argv):
    """
    Main method called to start the agent.
    """
    utils.vip_main(bacnet_proxy_agent,
                   identity="platform.bacnet_proxy",
                   version=__version__)
示例#33
0
def main():
    """Main method called to start the agent."""

    try:
        utils.vip_main(load_me, version=__version__)
    except Exception as exception:
        _log.exception("unhandled exception")
        _log.error(repr(exception))
示例#34
0
文件: agent.py 项目: yizenrg/volttron
def main(argv=sys.argv):
    """ Main method called by the eggsecutable.
    :param argv:
    :return:
    """
    utils.vip_main(VolttronCentralAgent,
                   identity=VOLTTRON_CENTRAL,
                   version=__version__)
示例#35
0
def main(argv=sys.argv):
    """Main method called by the eggsecutable."""

    try:
        utils.vip_main(PrometheusScrapeAgent, version=__version__)
    except Exception as e:
        print(e)
        _log.exception('unhandled exception')
示例#36
0
def main(argv=sys.argv):
    """Main method called by the eggsecutable."""

    try:
        utils.vip_main(WebSocketAgent, version=__version__)
    except Exception as e:
        print(e)
        _log.exception('unhandled exception')
示例#37
0
def main():
    """Main method called to start the agent."""

    try:
        utils.vip_main(Discover, version=__version__)

    except Exception as e:
        _log.exception('Unhandle Exception')
示例#38
0
文件: agent.py 项目: tpktang/volttron
def main(argv=sys.argv):
    """
    Main method called by the eggsecutable.
    """
    try:
        utils.vip_main(external_data_agent)
    except Exception as e:
        _log.exception('unhandled exception')
示例#39
0
def main(argv=sys.argv):
    """Main method called by the eggsecutable.
    @param argv:
    """
    try:
        utils.vip_main(historian)
    except Exception as e:
        print(e)
        _log.exception('unhandled exception')
示例#40
0
def main(argv=sys.argv):
    """Main method called by the eggsecutable.
    @param argv:
    """
    try:
        utils.vip_main(historian)
    except Exception as e:
        print(e)
        _log.exception('unhandled exception')
示例#41
0
def main(argv=sys.argv):
    """
    Main entry point for the agent.
    """

    try:
        utils.vip_main(historian, version=__version__)
    except Exception as e:
        print(e)
        _log.exception('unhandled exception')
示例#42
0
def main(argv=sys.argv):
    '''Main method called by the eggsecutable.'''
    try:
        utils.vip_main(historian)
        #utils.default_main(historian,
        #                   description='Historian agent that saves a history to a sqlite db.',
        #                   argv=argv,
        #                   no_pub_sub_socket=True)
    except Exception as e:
        print(e)
        _log.exception('unhandled exception')
示例#43
0
def main(argv=sys.argv):
    '''Main method called by the eggsecutable.'''
    from gevent import monkey

    monkey.patch_all()
    try:
        utils.vip_main(ListenerAgent, version=__version__)


    except Exception as e:
        _log.exception('unhandled exception')
示例#44
0
def main(argv=sys.argv):
    '''Main method called by the eggsecutable.'''
    try:
        utils.vip_main(historian)
        #utils.default_main(historian,
        #                   description='Historian agent that saves a history to a sqlite db.',
        #                   argv=argv,
        #                   no_pub_sub_socket=True)
    except Exception as e:
        print(e)
        _log.exception('unhandled exception')
示例#45
0
def main(argv=sys.argv):
    """ Main entry point for the agent.

    :param argv:
    :return:
    """

    try:
        utils.vip_main(historian)
    except Exception as e:
        print(e)
        _log.exception('unhandled exception')
示例#46
0
def main(argv=sys.argv):
    """ Main entry point for the agent.

    :param argv:
    :return:
    """

    try:
        utils.vip_main(historian, version=__version__)
    except Exception as e:
        print(e)
        _log.exception('unhandled exception')
示例#47
0
def main(argv=sys.argv):
    """ Main entry point for the agent.

    :param argv:
    :return:
    """

    try:
        utils.vip_main(tagging_service, version=__version__)
    except Exception as e:
        print(e)
        _log.exception('unhandled exception')
示例#48
0
def main(argv=sys.argv):
    '''Main method called to start the agent.'''
    utils.vip_main(kafka_agent, identity='KafkaAgent',
                   version=__version__)
示例#49
0
def main(argv=sys.argv):
    """Main method called to start the agent."""
    utils.vip_main(simulation_driver_agent, identity='simulation.driver', version=__version__)
示例#50
0
def main(argv=sys.argv):
    utils.vip_main(historian)
def main(argv=sys.argv):
    """ Main method."""
    utils.vip_main(driven_agent)
示例#52
0
def main(argv=sys.argv):
    '''Main method called by the platform.'''
    utils.vip_main(HASSAgent,version=__version__)
示例#53
0
def main():
    """Start the agent."""
    utils.vip_main(mesa_test_agent, identity='mesa_test_agent', version=__version__)
示例#54
0
def main():
    utils.vip_main(CAgent, version=__version__)
示例#55
0
def main():
    utils.vip_main(DDSAgent)
示例#56
0
def main(argv=sys.argv):
    '''Main method called to start the agent.'''
    utils.vip_main(actuator_agent)
示例#57
0
def main():
    """Main method called to start the agent."""
    utils.vip_main(mesa_agent, identity='mesaagent', version=__version__)
示例#58
0
def main():
    """Main method called to start the agent."""
    utils.vip_main(meter_agent, version=__version__)
示例#59
0
def main(argv=sys.argv):
    try:
        utils.vip_main(WeatherAgent)
    except Exception as e:
            _log.exception(e)