Controller.py 1.0 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980
  1. # @author:nandHyf
  2. import Stateful
  3. class Command:
  4. def __init__(self, obj, command) -> None:
  5. self.obj = obj
  6. self.Command = command
  7. self.focusMode = False
  8. def app_help():
  9. pass
  10. def app_exit():
  11. exit()
  12. def app_export(self):
  13. pass
  14. def list_board(self):
  15. pass
  16. def list_event(self):
  17. pass
  18. def select_board(self):
  19. print(self.obj + "is selected")
  20. self.focusMode = True
  21. def Command_add():
  22. pass
  23. def Command_edit():
  24. pass
  25. def Command_move():
  26. pass
  27. def Command_delete():
  28. pass
  29. def Command_archive():
  30. pass
  31. def Command_back2home():
  32. pass
  33. def Command_get_info():
  34. pass
  35. def Command_get_num():
  36. pass
  37. class Trigger():
  38. def __init__(self) -> None:
  39. pass
  40. class Board(Command):
  41. def __init__(self) -> None:
  42. super().__init__()
  43. class Event(Command):
  44. def __init__(self) -> None:
  45. super().__init__()