projects
/
saartuer.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (from parent 1:
05d80f0
)
missed a place where I had to rename open -> unlock
author
Ralf Jung
<post@ralfj.de>
Tue, 15 Oct 2013 08:36:56 +0000
(10:36 +0200)
committer
Ralf Jung
<post@ralfj.de>
Tue, 15 Oct 2013 08:36:56 +0000
(10:36 +0200)
statemachine.py
patch
|
blob
|
history
diff --git
a/statemachine.py
b/statemachine.py
index f2fb8178a608b9623a1f08781d63e2a0d5971813..f6b45dd1cbbd8112a6e6db89fb4f92a8a9da0b23 100644
(file)
--- a/
statemachine.py
+++ b/
statemachine.py
@@
-157,13
+157,13
@@
class StateMachine():
self.notify(False)
return StateMachine.StateZu(self.state_machine)
self.notify(False)
return StateMachine.StateZu(self.state_machine)
- class AbstractStateWhere
Open
ingIsRedundant(AbstractUnlockedState):
+ class AbstractStateWhere
Unlock
ingIsRedundant(AbstractUnlockedState):
def handle_cmd_unlock_event(self, callback):
callback("299 redundant: Space seems to be already open. Still processing your request tough.")
logger.info("StateMachine: Received UNLOCK command in %s. This should not be necessary." % self.__class__.__name__)
self.actor().act(Actor.CMD_UNLOCK)
def handle_cmd_unlock_event(self, callback):
callback("299 redundant: Space seems to be already open. Still processing your request tough.")
logger.info("StateMachine: Received UNLOCK command in %s. This should not be necessary." % self.__class__.__name__)
self.actor().act(Actor.CMD_UNLOCK)
- class StateAboutToOpen(AbstractStateWhere
Open
ingIsRedundant):
+ class StateAboutToOpen(AbstractStateWhere
Unlock
ingIsRedundant):
def __init__(self, sm):
super().__init__(sm, ABOUTOPEN_NERVLIST)
def handle_pins_event(self):
def __init__(self, sm):
super().__init__(sm, ABOUTOPEN_NERVLIST)
def handle_pins_event(self):
@@
-172,7
+172,7
@@
class StateMachine():
return StateMachine.StateAuf(self.state_machine)
return super().handle_pins_event()
return StateMachine.StateAuf(self.state_machine)
return super().handle_pins_event()
- class StateAuf(AbstractStateWhere
Open
ingIsRedundant):
+ class StateAuf(AbstractStateWhere
Unlock
ingIsRedundant):
def __init__(self,sm):
super().__init__(sm)
self.last_buzzed = None
def __init__(self,sm):
super().__init__(sm)
self.last_buzzed = None