delete debug stmt
This commit is contained in:
parent
22229f1b5f
commit
25ef32cd30
1 changed files with 1 additions and 1 deletions
|
|
@ -8,6 +8,7 @@ class AutoCounterState:
|
||||||
def __init__(self, count):
|
def __init__(self, count):
|
||||||
self.count = count
|
self.count = count
|
||||||
|
|
||||||
|
# increments count every second and emits output event
|
||||||
class AutoCounter(AtomicDEVS):
|
class AutoCounter(AtomicDEVS):
|
||||||
def __init__(self, start):
|
def __init__(self, start):
|
||||||
AtomicDEVS.__init__(self, "System")
|
AtomicDEVS.__init__(self, "System")
|
||||||
|
|
@ -18,7 +19,6 @@ class AutoCounter(AtomicDEVS):
|
||||||
return 1.0
|
return 1.0
|
||||||
|
|
||||||
def outputFnc(self):
|
def outputFnc(self):
|
||||||
print("outputFnc...", self, self.state)
|
|
||||||
return {self.outport: self.state.count}
|
return {self.outport: self.state.count}
|
||||||
|
|
||||||
def intTransition(self):
|
def intTransition(self):
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue