コード例 #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
ファイル: agent.py プロジェクト: kwarodom/bemoss_web_ui-1
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
ファイル: agent.py プロジェクト: mhammo30/bemoss_os2.1
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
ファイル: agent.py プロジェクト: FraunhoferCSE/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')
コード例 #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
ファイル: agent.py プロジェクト: kmorri09/openevse_volttron
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
ファイル: agent.py プロジェクト: FraunhoferCSE/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')
コード例 #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
ファイル: agent.py プロジェクト: carlatpnl/volttron
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
ファイル: agent.py プロジェクト: FraunhoferCSE/volttron
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
ファイル: agent.py プロジェクト: ChrisFreeman/volttron
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
ファイル: agent.py プロジェクト: StephenCzarnecki/volttron
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
ファイル: agent.py プロジェクト: kgegner/BeagleBoneCode
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
ファイル: data_publisher.py プロジェクト: alliao-lbl/volttron
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
ファイル: agent.py プロジェクト: kwarodom/bemoss_os-2
def main(argv=sys.argv):
    '''Main method called by the eggsecutable.'''
    utils.default_main(scheduleragent,
                       description='Lighting Scheduler Agent',
                       argv=argv)
コード例 #23
0
ファイル: agent.py プロジェクト: kwarodom/bemoss_os-2
def main(argv=sys.argv):
    '''Main method called by the eggsecutable.'''
    utils.default_main(RTUAgent,
                       description='VAV agent',
                       argv=argv)
コード例 #24
0
ファイル: agent.py プロジェクト: carlatpnl/volttron
def main(argv=sys.argv):
    '''Main method called by the platform.'''

    utils.default_main(MobileExampleAgent,
                   description='Mobile Example Agent',
                   argv=argv)
コード例 #25
0
ファイル: agent.py プロジェクト: kwarodom/bemoss_os-1
def main(argv=sys.argv):
    '''Main method called by the eggsecutable.'''
    utils.default_main(ApprovalHelperAgent, description='Approval Helper agent', argv=argv)
コード例 #26
0
ファイル: agent.py プロジェクト: kwarodom/bemoss_os-1
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
ファイル: agent.py プロジェクト: FraunhoferCSE/volttron
def main(argv=sys.argv):
    '''Main method called by the eggsecutable.'''
    utils.default_main(OpenADRAgent,
                       description='OpenADR Event agent',
                       argv=argv)
コード例 #29
0
ファイル: agent.py プロジェクト: bruskauff/BBB-VOLTTRON
def main(argv=sys.argv):
    # Main method called by the platform.
    utils.default_main(BlinkingLEDAgent,
                       description='Blinking LED Agent',
                       argv=argv)
コード例 #30
0
ファイル: weatheragent.py プロジェクト: sanyalj/volttron
def main(argv=sys.argv):
    '''Main method called by the eggsecutable.'''
    utils.default_main(WeatherAgent,
                       description='Weather Underground agent',
                       argv=argv)
コード例 #31
0
ファイル: agent.py プロジェクト: bopopescu/BEMOSSx
def main(argv=sys.argv):
    '''Main method called by the eggsecutable.'''
    utils.default_main(TestDRAgent, description='Test DR agent', argv=argv)
コード例 #32
0
ファイル: agent.py プロジェクト: techieshark/volttron
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
ファイル: agent.py プロジェクト: bruskauff/BBB-VOLTTRON
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
ファイル: agent.py プロジェクト: cyrus19901/VOLTTRON-azure
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
ファイル: afddagent.py プロジェクト: FraunhoferCSE/volttron
def main(argv=sys.argv):
    '''Main method called by the eggsecutable.'''
    utils.default_main(AFDDAgent,
                       description='VOLTTRON platform™ AFDD agent',
                       argv=argv)
コード例 #40
0
ファイル: agent.py プロジェクト: bruskauff/BBB-VOLTTRON
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
ファイル: agent.py プロジェクト: StephenCzarnecki/volttron
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)
コード例 #44
0
def main(argv=sys.argv):
    '''Main method called by the eggsecutable.'''
    utils.default_main(AFDDAgent,
                       description='VOLTTRON platform™ AFDD agent',
                       argv=argv)
コード例 #45
0
ファイル: agent.py プロジェクト: FraunhoferCSE/volttron
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
ファイル: agent.py プロジェクト: kgegner/BeagleBoneCode
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
ファイル: agent.py プロジェクト: techieshark/volttron
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
ファイル: passive_afdd.py プロジェクト: devmull/volttron
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
ファイル: agent.py プロジェクト: techieshark/volttron
def main(argv=sys.argv):
    """Main method called by the eggsecutable."""

    utils.default_main(SMDSAgent, description="SDMS Agent", argv=argv)
コード例 #53
0
ファイル: agent.py プロジェクト: bruskauff/BBB-VOLTTRON
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
ファイル: agent.py プロジェクト: bopopescu/BEMOSSx
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
ファイル: agent.py プロジェクト: techieshark/volttron
def main(argv=sys.argv):
    """Main method called by the eggsecutable."""
    utils.default_main(BaselineAgent, description="Baseline agent for VOLTTRON platform", argv=argv)