mirror of
https://gitee.com/langsisi_admin/serein-flow
synced 2026-03-03 00:00:49 +08:00
改写NodeModelBase类,使其继承Serein.Library.Api下的IFlowNode接口,而实现类迁移到NodeModel项目,方便后续节点运行逻辑修改时不用重新编译类库。
This commit is contained in:
@@ -1,4 +1,5 @@
|
||||
using System;
|
||||
using Serein.Library.Api;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
@@ -32,7 +33,7 @@ namespace Serein.Library.FlowNode
|
||||
/// </summary>
|
||||
public class JunctionModel
|
||||
{
|
||||
public JunctionModel(NodeModelBase NodeModel, JunctionType JunctionType)
|
||||
public JunctionModel(IFlowNode NodeModel, JunctionType JunctionType)
|
||||
{
|
||||
Guid = System.Guid.NewGuid().ToString();
|
||||
this.NodeModel = NodeModel;
|
||||
@@ -51,6 +52,6 @@ namespace Serein.Library.FlowNode
|
||||
/// <summary>
|
||||
/// 连接点依附的节点
|
||||
/// </summary>
|
||||
public NodeModelBase NodeModel { get; }
|
||||
public IFlowNode NodeModel { get; }
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user