The presented application is identical in appearance to the application https://github.com/mk590901/QQHsm-Switch-Dart, although it lacks the HSM runtime framework. It's replaced by the Sw1Helper class (file sw1_helper.dart).
- Sw1Helper class in the scheme/sw1_helper.dart file. This is a file automatically generated by the HSM editor scheduler. The file is slightly modified manually in order to connect the state machine logic with the GUI elements of the application. Pay attention to the commented lines. Note that empty transfer functions isn't using.
- QHsmHelper class. Responsible for creating and running threaded code chains. Pay attention to the run function.
- ThreadedCodeExecutor class implements threaded code execution.
- The relationship of the classes is shown below in the UML diagram: