Stateful.py 1.1 KB

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