优化了中断功能,增加了节点变量的查看。

This commit is contained in:
fengjiayi
2024-09-22 14:10:13 +08:00
parent 3537a49784
commit c930c870a6
26 changed files with 1686 additions and 494 deletions

View File

@@ -12,14 +12,17 @@ namespace Serein.Library.Entity
public bool IsEnable { get; set; } = true;
/// <summary>
/// 是否中断(调试中断功能)
/// 是否监视数据改变
/// </summary>
public bool IsInterrupt { get; set; } = false;
public bool IsMonitorFlowData { get; set; } = false;
/// <summary>
/// 中断级别,暂时停止继续执行后继分支。
/// </summary>
public InterruptClass InterruptClass { get; set; } = InterruptClass.None;
public List<string> InterruptExpression { get; } = new List<string>();
}
/// <summary>
@@ -32,15 +35,15 @@ namespace Serein.Library.Entity
/// </summary>
None,
/// <summary>
/// 分支中断,当前节点。
/// 分支中断,中断进入当前节点的分支
/// </summary>
Branch,
/// <summary>
/// 分组中断,相同中断分组的节点。
/// 分组中断,中断进入指定节点分组的分支。(暂未实现相关)
/// </summary>
Group,
/// <summary>
/// 全局中断,其它所有节点。
/// 全局中断,中断全局所有节点的运行。(暂未实现相关)
/// </summary>
Global,
}