diff --git a/Import/TODO.md b/Import/TODO.md index 4d3b0b6c..c4e2f231 100644 --- a/Import/TODO.md +++ b/Import/TODO.md @@ -5,7 +5,6 @@ * Attributes * **Workflow to C++ code generation with hint**. * Generate reflection code, protected by VCZH_DEBUG_NO_REFLECTION. - * VlppWorkflowCppHelper.h * Multiple file support * Merge user code @@ -169,7 +168,7 @@ interface ICountDown : IStateMachine ### Sample (Xml) ```xml - + @@ -186,37 +185,39 @@ interface ICountDown : IStateMachine 0) + stateinput { - stateinput + case BeginCountDown():{} /* If there are arguments, specify names only */ + /* + Automatically updated before waiting: + BeginCountDownEnabled = true; + CountDownEnabled = false; + DoNotCallEnabled = false; + */ + } + + Remains = 10; + while (true) + { + if (Remains > 0) { - case CountDown(): + stateinput { - countDown.Remains = countDown.Remains - 1; + case CountDown(): + { + Remains = Remains - 1; + } + /* + Automatically updated before waiting: + BeginCountDownEnabled = false; + CountDownEnabled = true; + DoNotCallEnabled = false; + */ } - /* - Automatically updated before waiting: - BeginCountDownEnabled = false; - CountDownEnabled = true; - DoNotCallEnabled = false; - */ } } }