Skip to content

The repository contains a project for an application uses HSM in the form of pre-generated threaded code.

Notifications You must be signed in to change notification settings

mk590901/QHSM-Threaded-Code

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

QHSM Threaded Code Sample

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).

Key elements of the application.

  • 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:

threaded_code

Movie

tc.mp4

About

The repository contains a project for an application uses HSM in the form of pre-generated threaded code.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages