Skip to content
This repository has been archived by the owner on Apr 11, 2019. It is now read-only.

Commit

Permalink
temp probes via websocket service
Browse files Browse the repository at this point in the history
  • Loading branch information
allena29 committed May 28, 2015
1 parent e39136f commit d9a1f53
Showing 1 changed file with 11 additions and 1 deletion.
12 changes: 11 additions & 1 deletion commander/metroui/simulator.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
import cgi
import _mysql
from thememetro import *

from pitmCfg import *

form=cgi.FieldStorage()
theme=webTheme()
Expand Down Expand Up @@ -218,6 +218,16 @@
else:
print "<script language=Javascript>localUser=false;</script>"

cfg=pitmCfg()

print """<script language=Javascript>
probehlt="%s";
probemashA="%s";
probemashB="%s";
probeboil="%s";
probeferm="%s";
</script>
""" %(cfg.hltProbe,cfg.mashAProbe,cfg.mashBProbe,cfg.boilProbe,cfg.fermProbe)
print """
<script src='/metroui/js/simulator.js'></script>
"""
Expand Down

0 comments on commit d9a1f53

Please sign in to comment.