示例#1
0
def main(argv=sys.argv):
    '''Main method called by the eggsecutable.'''
    utils.default_main(platform_agent,
                       description='Agent available to manage from a remote ' +
                       'system.',
                       no_pub_sub_socket=True,
                       argv=argv)
示例#2
0
def main(argv=sys.argv):
    '''
    Main method called by the eggsecutable.
    '''
    utils.default_main(DrivenAgent,
                       description='Example VOLTTRON platform™ driven agent',
                       argv=argv)
示例#3
0
def main(argv=sys.argv):
    '''
    Main method called by the eggsecutable.
    '''
    utils.default_main(DrivenAgent,
                       description='Example VOLTTRON platform™ driven agent',
                       argv=argv)
示例#4
0
def main(argv=sys.argv):
    try:
        utils.default_main(ZMQ_Subscribe,
                           description='ZMQ UI Subscribe',
                           argv=argv)
    except Exception as e:
        _log.exception('unhandled exception', e)
示例#5
0
def main(argv=sys.argv):
    try:
        utils.default_main(ZMQ_Subscribe,
                           description='ZMQ UI Subscribe',
                           argv=argv)
    except Exception as e:
        _log.exception('unhandled exception', e)
示例#6
0
文件: agent.py 项目: zbeech/volttron
def main(argv=sys.argv):
    '''Main method called by the eggsecutable.'''
    try:
        utils.default_main(GreeterAgent,
                           description='Simple multi-node demo agent',
                           argv=argv)
    except Exception as e:
        _log.exception('unhandled exception')
示例#7
0
def main(argv=sys.argv):
    '''Main method called by the eggsecutable.'''
    try:
        utils.default_main(PublisherAgent,
                           description='Example VOLTTRON platform™ heartbeat agent',
                           argv=argv)
    except Exception as e:
        _log.exception('unhandled exception')
示例#8
0
def main(argv=sys.argv):
    '''Main method called by the eggsecutable.''' 
    try:
        utils.default_main(PushAgent,
                           description='SMDS Result Pushing agent',
                           argv=argv)
    except Exception as e:
        _log.exception('unhandled exception')
示例#9
0
文件: agent.py 项目: sanyalj/volttron
def main(argv=sys.argv):
    '''Main method called by the eggsecutable.'''
    try:
        utils.default_main(PushAgent,
                           description='SMDS Result Pushing agent',
                           argv=argv)
    except Exception as e:
        _log.exception('unhandled exception')
示例#10
0
def main(argv=sys.argv):
    '''Main method called by the eggsecutable.'''
    try:
        utils.default_main(PingPongAgent,
                           description='Example VOLTTRON™ mobility agent',
                           argv=argv)
    except Exception as e:
        _log.exception('unhandled exception')
示例#11
0
def main(argv=sys.argv):
    '''Main method called by the eggsecutable.'''
    try:
        utils.default_main(GreeterAgent,
                           description='Simple multi-node demo agent',
                           argv=argv)
    except Exception as e:
        _log.exception('unhandled exception')
示例#12
0
def main(argv=sys.argv):
    '''Main method called by the eggsecutable.'''
    try:
        utils.default_main(AppLauncherAgent,
                           description='this is an AppLauncher agent',
                           argv=argv)
    except Exception as e:
        _log.exception('unhandled exception')
示例#13
0
def main(argv=sys.argv):
    '''Main method called by the eggsecutable.'''
    try:
        utils.default_main(PingPongAgent,
                           description='Example VOLTTRON™ mobility agent',
                           argv=argv)
    except Exception as e:
        _log.exception('unhandled exception')
示例#14
0
def main(argv=sys.argv):
    '''Main method called by the eggsecutable.'''
    try:
        utils.default_main(ListenerAgent,
                           description='Example VOLTTRON platform™ heartbeat agent',
                           argv=argv)
    except Exception as e:
        _log.exception('unhandled exception')
示例#15
0
def main(argv=sys.argv):
    '''Main method called by the eggsecutable.'''
    try:
        utils.default_main(SMAPHistorianAgent,
                           description='Historian agent that saves a history to an SMAP Archiver.',
                           argv=argv)
    except Exception as e:
        print e
        _log.exception('unhandled exception')
示例#16
0
文件: agent.py 项目: devmull/volttron
def main(argv=sys.argv):
    '''Main method called to start the agent.'''
    utils.setup_logging()
    try:
        utils.default_main(hello_agent,
            description='Example hello agent for testing with Volttron Central',
            argv=argv)
    except Exception:
        _log.exception('unhandled exception')
示例#17
0
def main(argv=sys.argv):
    '''Main method called by the eggsecutable.'''
    try:
        utils.default_main(ScheduleExampleAgent,
                           description='Example agent using the Scheduler',
                           argv=argv)
    except Exception as e:
        print e
        _log.exception('unhandled exception')
示例#18
0
def main(argv=sys.argv):
    '''Main method called by the eggsecutable.'''
    try:
        utils.default_main(ScheduleExampleAgent,
                           description='Example agent using the Scheduler',
                           argv=argv)
    except Exception as e:
        print e
        _log.exception('unhandled exception')
示例#19
0
def main(argv=sys.argv):
    '''Main method called to start the agent.'''
    utils.setup_logging()
    try:
        utils.default_main(UIAgent,
            description='VOLTTRON platform™ agent for remote user interaction.',
            argv=argv)
    except Exception:
        _log.exception('unhandled exception')
示例#20
0
文件: agent.py 项目: zbeech/volttron
def main(argv=sys.argv):
    '''Main method called to start the agent.'''
    utils.setup_logging()
    try:
        utils.default_main(
            AskAgent,
            description='VOLTTRON platform™ agent for remote user interaction.',
            argv=argv)
    except Exception:
        _log.exception('unhandled exception')
示例#21
0
def main(argv=sys.argv):
    '''Main method called by the eggsecutable.'''
    # Parse options
#     parser = ArgumentParser(prog=os.path.basename(argv[0]), description='Example VOLTTRON platform agent')
#     opts = parser.parse_args(argv[1:])
#     agent = DataPublisher(subscribe_address=opts.sub,
#               publish_address=opts.pub, config_path=opts.config)
#     agent.run()
    utils.default_main(DataPub,
                       description='DD',
                       argv=argv)
示例#22
0
def main(argv=sys.argv):
    '''Main method called by the eggsecutable.'''
    utils.default_main(scheduleragent,
                       description='Lighting Scheduler Agent',
                       argv=argv)
示例#23
0
def main(argv=sys.argv):
    '''Main method called by the eggsecutable.'''
    utils.default_main(RTUAgent,
                       description='VAV agent',
                       argv=argv)
示例#24
0
def main(argv=sys.argv):
    '''Main method called by the platform.'''

    utils.default_main(MobileExampleAgent,
                   description='Mobile Example Agent',
                   argv=argv)
示例#25
0
def main(argv=sys.argv):
    '''Main method called by the eggsecutable.'''
    utils.default_main(ApprovalHelperAgent, description='Approval Helper agent', argv=argv)
示例#26
0
def main(argv=sys.argv):
    '''Main method called by the eggsecutable.'''
    utils.default_main(DeviceDiscoveryAgent, description='Device Discovery agent', argv=argv)
示例#27
0
文件: agent.py 项目: sanyalj/volttron
def main(argv=sys.argv):
    '''Main method called by the platform.'''

    utils.default_main(MobileExampleAgent,
                       description='Mobile Example Agent',
                       argv=argv)
示例#28
0
def main(argv=sys.argv):
    '''Main method called by the eggsecutable.'''
    utils.default_main(OpenADRAgent,
                       description='OpenADR Event agent',
                       argv=argv)
示例#29
0
def main(argv=sys.argv):
    # Main method called by the platform.
    utils.default_main(BlinkingLEDAgent,
                       description='Blinking LED Agent',
                       argv=argv)
示例#30
0
def main(argv=sys.argv):
    '''Main method called by the eggsecutable.'''
    utils.default_main(WeatherAgent,
                       description='Weather Underground agent',
                       argv=argv)
示例#31
0
def main(argv=sys.argv):
    '''Main method called by the eggsecutable.'''
    utils.default_main(TestDRAgent, description='Test DR agent', argv=argv)
示例#32
0
def main(argv=sys.argv):
    """Main method called by the eggsecutable."""
    utils.default_main(ActuatorAgent, description="Example VOLTTRON platform™ actuator agent", argv=argv)
示例#33
0
def main(argv=sys.argv):
    '''Main method called by the eggsecutable.'''
    try:
        utils.default_main(UserAgent, description='Gives Direct Control', argv=argv)
    except Exception as e:
        _log.exception('unhandled exception')
示例#34
0
def main(argv=sys.argv):
    """Main method called by the platform"""
    utils.default_main(BatteryEntity,
                       description='Battery Entity',
                       argv=argv)
示例#35
0
def main(argv=sys.argv):
    '''Main method called by the eggsecutable.'''
    utils.default_main(BaselineAgent,
                        description='Baseline agent for VOLTTRON platform',
                        argv=argv)
示例#36
0
def main(argv=sys.argv):
    '''Main method called by the eggsecutable.'''
    utils.default_main(RegistrationAgent,
                       description='Registration agent for VOLTTRON Lite',
                       argv=argv)
示例#37
0
def main(argv=sys.argv):
    '''Main method called by the eggsecutable.'''
    utils.default_main(ApprovalHelperAgent,
                       description='Approval Helper agent',
                       argv=argv)
示例#38
0
def main(argv=sys.argv):
    '''Main method called by the eggsecutable.'''
    utils.default_main(DemandResponseAgent,
                       description='VOLTTRON platform DR agent',
                       argv=argv)
示例#39
0
def main(argv=sys.argv):
    '''Main method called by the eggsecutable.'''
    utils.default_main(AFDDAgent,
                       description='VOLTTRON platform™ AFDD agent',
                       argv=argv)
示例#40
0
def main(argv=sys.argv):
    '''Main method called by the eggsecutable.'''
    try:
        utils.default_main(UtilityAgent, description='Power Cost', argv=argv)
    except Exception as e:
        _log.exception('unhandled exception')
示例#41
0
def main(argv=sys.argv):
    '''Main method called by the eggsecutable.'''
    utils.default_main(DemandResponseAgent,
                       description = 'VOLTTRON platform grid response agent',
                       argv=argv)
示例#42
0
def main(argv=sys.argv):
    '''Main method called by the eggsecutable.'''
    utils.default_main(LightingAgent, description='Lighting agent', argv=argv)
示例#43
0
def main(argv=sys.argv):
    '''Main method called by the eggsecutable.'''

    utils.default_main(SMDSAgent, description='SDMS Agent', argv=argv)
def main(argv=sys.argv):
    '''Main method called by the eggsecutable.'''
    utils.default_main(AFDDAgent,
                       description='VOLTTRON platform™ AFDD agent',
                       argv=argv)
示例#45
0
def main(argv=sys.argv):
    '''Main method called by the eggsecutable.'''
    utils.default_main(CumulativeSumAgent,
                        description='Cumulative sum agent for VOLTTRON platform',
                        argv=argv)
示例#46
0
def main(argv=sys.argv):
    '''Main method called by the eggsecutable.'''
    utils.default_main(LEDAgent,
                   description='Control green and red LEDs',
                   argv=argv)
示例#47
0
def main(argv=sys.argv):
    """Main method called by the platform."""

    utils.default_main(MobileExampleAgent, description="Mobile Example Agent", argv=argv)
示例#48
0
def main(argv=sys.argv):
    '''Main method called by the eggsecutable.'''
    utils.default_main(DeviceDiscoveryAgent,
                       description='Device Discovery agent',
                       argv=argv)
示例#49
0
def main(argv=sys.argv):
    '''Main method called by the eggsecutable.'''
    utils.default_main(passiveafdd,
                       description='VOLTTRON passive AFDD',
                       argv=argv)
示例#50
0
def main(argv=sys.argv):
    '''Main method called by the eggsecutable.'''
    utils.default_main(volttron_central_agent,
                       description='Volttron central agent',
                       no_pub_sub_socket=True,
                       argv=argv)
示例#51
0
def main(argv=sys.argv):
    '''Main method called by the eggsecutable.'''
    utils.default_main(DataPub,
                       description='Data publisher',
                       argv=argv)
示例#52
0
def main(argv=sys.argv):
    """Main method called by the eggsecutable."""

    utils.default_main(SMDSAgent, description="SDMS Agent", argv=argv)
示例#53
0
def main(argv=sys.argv):
    # Main method called by the platform.
    utils.default_main(HPWHRecordAgent,
                       description='HPWH Record Agent',
                       argv=argv)
示例#54
0
def main(argv=sys.argv):
    '''Main method called by the eggsecutable.'''
    utils.default_main(TestRegistrationAgent,
                        description='Testing agent for Archiver Agent in VOLTTRON Lite',
                        argv=argv)
示例#55
0
def main(argv=sys.argv):
    '''Main method called by the eggsecutable.'''
    utils.default_main(scheduleragent,
                       description='Plugload Scheduler Agent',
                       argv=argv)
示例#56
0
def main(argv=sys.argv):
    '''Main method called by the eggsecutable.'''
    utils.default_main(OpenADRAgent,
                       description='OpenADR Event agent',
                       argv=argv)
示例#57
0
def main(argv=sys.argv):
    '''Main method called by the eggsecutable.'''
    utils.default_main(MpcAgent, description='RTU Control Cat', argv=argv)
示例#58
0
def main(argv=sys.argv):
    """Main method called by the eggsecutable."""
    utils.default_main(BaselineAgent, description="Baseline agent for VOLTTRON platform", argv=argv)