XFE Git
XFE Studio Git
Git 首页 全局搜索
XFE 主站 文档 NuGet

XFEWorkflow

【WinUI】XFE基于windows的工作流

公开
关注 0 Fork 0 Star 0
UTF-8
using System.Text.Json.Nodes;

namespace XFEWorkflow.Abstractions;

public enum WorkflowDebugCommandKind { Continue, StepOver, StepInto, Pause, SetBreakpoint }

public sealed class WorkflowDebugSettings
{
    public bool BreakOnEntry { get; set; }
}

public sealed class WorkflowDebugCommand
{
    public WorkflowDebugCommandKind Kind { get; set; }
    public string PauseId { get; set; } = "";
    public string WorkflowId { get; set; } = "";
    public string NodeId { get; set; } = "";
    public bool Enabled { get; set; }
}

public sealed class WorkflowDebugState
{
    public bool IsPaused { get; set; }
    public string PauseId { get; set; } = "";
    public string WorkflowId { get; set; } = "";
    public string NodeId { get; set; } = "";
    public string NodeName { get; set; } = "";
    public int Depth { get; set; }
    public string Reason { get; set; } = "";
    public JsonObject Inputs { get; set; } = [];
    public JsonObject Parameters { get; set; } = [];
    public JsonObject Variables { get; set; } = [];
    public JsonObject NodeOutputs { get; set; } = [];
    public bool Truncated { get; set; }
}