mirror of
https://gitee.com/langsisi_admin/serein-flow
synced 2026-03-19 16:06:33 +08:00
1. 重新设计了Generate项目及相关特性的命名,避免与其他类型混淆。
2. 补充了部分注释。 3. 修改了删除容器节点时,容器内子节点未正确删除的问题。
This commit is contained in:
@@ -20,6 +20,11 @@ namespace Serein.NodeFlow.Services
|
||||
private readonly FlowModelService flowModelService;
|
||||
private readonly FlowLibraryService flowLibraryService;
|
||||
|
||||
/// <summary>
|
||||
/// 流程代码生成服务
|
||||
/// </summary>
|
||||
/// <param name="flowModelService"></param>
|
||||
/// <param name="flowLibraryService"></param>
|
||||
public FlowCoreGenerateService(FlowModelService flowModelService ,FlowLibraryService flowLibraryService )
|
||||
{
|
||||
this.flowModelService = flowModelService;
|
||||
@@ -429,7 +434,6 @@ namespace Serein.NodeFlow.Services
|
||||
if (param is null) return;
|
||||
if (pds is null) return;
|
||||
|
||||
bool isGetPreviousNode = false;
|
||||
for (int index = 0; index < pds.Length; index++)
|
||||
{
|
||||
ParameterDetails? pd = pds[index];
|
||||
@@ -798,7 +802,6 @@ namespace Serein.NodeFlow.Services
|
||||
if (param is null) return;
|
||||
if (pds is null) return;
|
||||
|
||||
bool isGetPreviousNode = false;
|
||||
for (int index = 0; index < pds.Length; index++)
|
||||
{
|
||||
ParameterDetails? pd = pds[index];
|
||||
@@ -998,17 +1001,18 @@ namespace Serein.NodeFlow.Services
|
||||
sb.AppendCode(1, $"}}");
|
||||
}
|
||||
|
||||
public class SereinGlobalDataInfo
|
||||
|
||||
private class SereinGlobalDataInfo
|
||||
{
|
||||
/// <summary>
|
||||
/// 全局数据节点
|
||||
/// </summary>
|
||||
public SingleGlobalDataNode Node { get; set; }
|
||||
public required SingleGlobalDataNode Node { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 全局数据的来源节点
|
||||
/// </summary>
|
||||
public IFlowNode DataSourceNode { get; set; }
|
||||
public required IFlowNode DataSourceNode { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 全局数据的键名
|
||||
|
||||
Reference in New Issue
Block a user