make name consistent
This commit is contained in:
parent
25ef32cd30
commit
6baf7432b2
1 changed files with 1 additions and 1 deletions
|
|
@ -11,7 +11,7 @@ class AutoCounterState:
|
||||||
# increments count every second and emits output event
|
# 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, "AutoCounter")
|
||||||
self.state = AutoCounterState(count=start)
|
self.state = AutoCounterState(count=start)
|
||||||
self.outport = self.addOutPort("outport")
|
self.outport = self.addOutPort("outport")
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue