make name consistent

This commit is contained in:
Joeri Exelmans 2025-06-05 14:18:56 +02:00
parent 25ef32cd30
commit 6baf7432b2

View file

@ -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")