2024-09-20 10:50:32 +08:00
|
|
|
|
using System;
|
|
|
|
|
|
using System.Collections.Generic;
|
|
|
|
|
|
using System.Text;
|
|
|
|
|
|
|
|
|
|
|
|
namespace Serein.Library.Entity
|
|
|
|
|
|
{
|
|
|
|
|
|
public class NodeDebugSetting
|
|
|
|
|
|
{
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
|
/// 是否使能(调试中断功能)
|
|
|
|
|
|
/// </summary>
|
|
|
|
|
|
public bool IsEnable { get; set; } = true;
|
|
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
2024-09-22 14:10:13 +08:00
|
|
|
|
/// 是否监视数据改变
|
2024-09-20 10:50:32 +08:00
|
|
|
|
/// </summary>
|
2024-09-22 14:10:13 +08:00
|
|
|
|
public bool IsMonitorFlowData { get; set; } = false;
|
2024-09-20 10:50:32 +08:00
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
|
/// 中断级别,暂时停止继续执行后继分支。
|
|
|
|
|
|
/// </summary>
|
|
|
|
|
|
public InterruptClass InterruptClass { get; set; } = InterruptClass.None;
|
2024-09-22 14:10:13 +08:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
public List<string> InterruptExpression { get; } = new List<string>();
|
2024-09-20 10:50:32 +08:00
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
|
/// 中断级别,暂时停止继续执行后继分支。
|
|
|
|
|
|
/// </summary>
|
|
|
|
|
|
public enum InterruptClass
|
|
|
|
|
|
{
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
|
/// 不中断
|
|
|
|
|
|
/// </summary>
|
|
|
|
|
|
None,
|
|
|
|
|
|
/// <summary>
|
2024-09-22 14:10:13 +08:00
|
|
|
|
/// 分支中断,中断进入当前节点的分支。
|
2024-09-20 10:50:32 +08:00
|
|
|
|
/// </summary>
|
|
|
|
|
|
Branch,
|
|
|
|
|
|
/// <summary>
|
2024-09-22 14:10:13 +08:00
|
|
|
|
/// 分组中断,中断进入指定节点分组的分支。(暂未实现相关)
|
2024-09-20 10:50:32 +08:00
|
|
|
|
/// </summary>
|
|
|
|
|
|
Group,
|
|
|
|
|
|
/// <summary>
|
2024-09-22 14:10:13 +08:00
|
|
|
|
/// 全局中断,中断全局所有节点的运行。(暂未实现相关)
|
2024-09-20 10:50:32 +08:00
|
|
|
|
/// </summary>
|
|
|
|
|
|
Global,
|
|
|
|
|
|
}
|
|
|
|
|
|
}
|