control_util.py 668 B

1234567891011121314151617181920212223242526272829303132333435363738394041
  1. import logging
  2. from control.base.base_control import BaseControl, UIControl
  3. class ControlUtils(UIControl):
  4. def __init__(self, **kwargs):
  5. pass
  6. def event_1(self):
  7. pass
  8. def event_2(self):
  9. """
  10. 点击全部的 event2
  11. :return:
  12. """
  13. for k, v in BaseControl.connect_dict.items():
  14. logging.info(f'执行=event2=>{k},{v}')
  15. v['control'].event_2()
  16. pass
  17. def event_3(self):
  18. pass
  19. def event_4(self):
  20. pass
  21. def event_5(self):
  22. pass
  23. def event_6(self):
  24. pass
  25. def event_7(self):
  26. pass
  27. def event_8(self):
  28. pass