Exemple #1
0
 def init_ui (self) :
     return BaseHTTPSimulator.init_ui(self)[:-1] + [{
         "label" : "Show net",
         "id" : "ui-shownet",
         "href" : "#",
         "script" : "dialog($('#model .petrinet').html())"
         }]
Exemple #2
0
 def init_ui(self):
     return BaseHTTPSimulator.init_ui(self)[:-1] + [
         {
             "label": "Show net",
             "id": "ui-shownet",
             "href": "#",
             "script": "dialog($('#model .petrinet').html())"
         }
     ]
Exemple #3
0
 def __init__ (self, node, net, gv, port) :
     simul = ABCDSimulator(node, net, gv)
     BaseHTTPSimulator.__init__(self, net, simulator=simul, port=port)
Exemple #4
0
 def __init__(self, node, net, gv, port):
     simul = ABCDSimulator(node, net, gv)
     BaseHTTPSimulator.__init__(self, net, simulator=simul, port=port)