예제 #1
0
파일: simul.py 프로젝트: lbzhao28/snakes
 def init_ui (self) :
     return BaseHTTPSimulator.init_ui(self)[:-1] + [{
         "label" : "Show net",
         "id" : "ui-shownet",
         "href" : "#",
         "script" : "dialog($('#model .petrinet').html())"
         }]
예제 #2
0
 def init_ui(self):
     return BaseHTTPSimulator.init_ui(self)[:-1] + [
         {
             "label": "Show net",
             "id": "ui-shownet",
             "href": "#",
             "script": "dialog($('#model .petrinet').html())"
         }
     ]
예제 #3
0
파일: simul.py 프로젝트: lbzhao28/snakes
 def __init__ (self, node, net, gv, port) :
     simul = ABCDSimulator(node, net, gv)
     BaseHTTPSimulator.__init__(self, net, simulator=simul, port=port)
예제 #4
0
 def __init__(self, node, net, gv, port):
     simul = ABCDSimulator(node, net, gv)
     BaseHTTPSimulator.__init__(self, net, simulator=simul, port=port)