Commit 5046d686 authored by Winstead, Chris's avatar Winstead, Chris
Browse files

fixed some path issues

parent a7691b74
Loading
Loading
Loading
Loading
+4 −4
Original line number Diff line number Diff line
@@ -21,10 +21,10 @@ class Tstat():
		self.can_switch = switch_ok


class PBCcontrolAgent(SynchronizingPubSubAgent):
class PBCAgent(Agent):

    def __init__(self, config_path, **kwargs):
        super(PBCcontrolAgent, self).__init__(config_path, **kwargs)
        super(PBCAgent, self).__init__(config_path, **kwargs)

        zone_cfg = json.load(open('./zones.config','r'))
        self.numZones = zonecfg["numZones"]
@@ -43,7 +43,7 @@ class PBCcontrolAgent(SynchronizingPubSubAgent):

    @Core.receiver('onsetup')
    def setup(self, sender, **kwargs):
        super(PBCcontrolAgent, self).setup(sender, **kwargs)
        super(PBCAgent, self).setup(sender, **kwargs)
        print('setup')

    @PubSub.subscribe('pubsub','temps')
@@ -251,7 +251,7 @@ class PBCcontrolAgent(SynchronizingPubSubAgent):
def main(argv=sys.argv):
    '''Main method called by the eggsecutable.'''
    try:
        utils.vip_main(PBCcontrolAgent)
        utils.vip_main(PBCAgent)
    except Exception as e:
        log.exception(e)

+0 −0

Empty file added.

+1 −1
Original line number Diff line number Diff line
@@ -63,7 +63,7 @@ package = packages[0]
setup(
    name = package,
    version = "0.1",
    install_requires = ['volttron','./zones.config'],
    install_requires = ['volttron','./PBCcontrol/zones.config'],
    packages = packages,
    entry_points = {
        'setuptools.installation': [
Loading