State Machine model + Runtime Execution Engine based on VMF
miho / vsm Goto Github PK
View Code? Open in Web Editor NEWState Machine model + Runtime Execution Engine based on VMF
License: Apache License 2.0
State Machine model + Runtime Execution Engine based on VMF
License: Apache License 2.0
Rationale:
The current implementation only allows a single executor implementation in an fsm with multiple nested fsms. This limits the use of different executors since different executor implementations can only be synchronized manually and not via the nested fsm mechanism.
A real use-case:
There are cases where the actual fsm is executed in hardware or external processes but we want to communicate with those entities via the unified event based communication. This is the case for g-code senders that need to communicate via serial port. They switch state on whatever event (possibly hardware and therefore impossible to model in our software). The executor should just communicate with this g-code sender and trigger state-changed events if they report state change, e.g., IDLE->RUNNING or ALARM.
Consequences
Consequences are that the current executor implementation cannot longer rely on implementation details. A executor factory of some sort might be necessary to build up the executor hierarchy.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.