mirror of
https://gitee.com/langsisi_admin/serein-flow
synced 2026-03-02 15:50:47 +08:00
43 lines
1.3 KiB
C#
43 lines
1.3 KiB
C#
using Serein.Library.Api;
|
|
using System;
|
|
using System.Collections.Generic;
|
|
using System.Linq;
|
|
using System.Text;
|
|
using System.Threading.Tasks;
|
|
|
|
namespace Serein.Library
|
|
{
|
|
/// <summary>
|
|
/// 节点静态配置类
|
|
/// </summary>
|
|
public static class NodeStaticConfig
|
|
{
|
|
/// <summary>
|
|
/// 节点的命名空间
|
|
/// </summary>
|
|
//public const string NodeSpaceName = $"{nameof(Serein)}.{nameof(Serein.NodeFlow)}.{nameof(Serein.NodeFlow.Model)}";
|
|
public const string NodeSpaceName = "Serein.NodeFlow.Model";
|
|
|
|
|
|
/// <summary>
|
|
/// 节点连接关系种类
|
|
/// </summary>
|
|
public static readonly ConnectionInvokeType[] ConnectionTypes = new ConnectionInvokeType[]
|
|
{
|
|
ConnectionInvokeType.Upstream,
|
|
ConnectionInvokeType.IsSucceed,
|
|
ConnectionInvokeType.IsFail,
|
|
ConnectionInvokeType.IsError,
|
|
};
|
|
/// <summary>
|
|
/// 节点连接关系种类
|
|
/// </summary>
|
|
public static readonly ConnectionArgSourceType[] ConnectionArgSourceTypes = new ConnectionArgSourceType[]
|
|
{
|
|
ConnectionArgSourceType.GetPreviousNodeData,
|
|
ConnectionArgSourceType.GetOtherNodeData,
|
|
ConnectionArgSourceType.GetOtherNodeDataOfInvoke,
|
|
};
|
|
}
|
|
}
|