mirror of
https://gitee.com/langsisi_admin/serein-flow
synced 2026-03-25 10:36:35 +08:00
改写NodeModelBase类,使其继承Serein.Library.Api下的IFlowNode接口,而实现类迁移到NodeModel项目,方便后续节点运行逻辑修改时不用重新编译类库。
This commit is contained in:
@@ -1,4 +1,5 @@
|
||||
using Newtonsoft.Json.Linq;
|
||||
using Serein.Library.Api;
|
||||
using Serein.Library.Utils;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
@@ -17,7 +18,7 @@ namespace Serein.Library
|
||||
/// 创建属于某个节点的调试设置
|
||||
/// </summary>
|
||||
/// <param name="nodeModel"></param>
|
||||
public NodeDebugSetting(NodeModelBase nodeModel)
|
||||
public NodeDebugSetting(IFlowNode nodeModel)
|
||||
{
|
||||
NodeModel = nodeModel;
|
||||
}
|
||||
@@ -33,7 +34,7 @@ namespace Serein.Library
|
||||
/// 对应的节点
|
||||
/// </summary>
|
||||
[PropertyInfo(IsProtection = true)]
|
||||
private NodeModelBase _nodeModel;
|
||||
private IFlowNode _nodeModel;
|
||||
|
||||
/// <summary>
|
||||
/// 是否使能
|
||||
|
||||
Reference in New Issue
Block a user