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

fixed some path issues

parent a7691b74
......@@ -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)
......
......@@ -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': [
......
{"maxZones": 72, "numZones": 146}
\ No newline at end of file
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment