mirror of
https://gitee.com/langsisi_admin/serein-flow
synced 2026-03-16 06:26:35 +08:00
改写NodeModelBase类,使其继承Serein.Library.Api下的IFlowNode接口,而实现类迁移到NodeModel项目,方便后续节点运行逻辑修改时不用重新编译类库。
This commit is contained in:
@@ -421,7 +421,7 @@ namespace Serein.Workbench.Services
|
||||
/// <param name="nodeCanvas">节点所在画布</param>
|
||||
/// <returns></returns>
|
||||
/// <exception cref="Exception">无法创建节点控件</exception>
|
||||
private static NodeControlBase CreateNodeControl(Type controlType, Type viewModelType, NodeModelBase model, IFlowCanvas nodeCanvas)
|
||||
private static NodeControlBase CreateNodeControl(Type controlType, Type viewModelType, IFlowNode model, IFlowCanvas nodeCanvas)
|
||||
{
|
||||
if ((controlType is null)
|
||||
|| viewModelType is null
|
||||
@@ -489,7 +489,7 @@ namespace Serein.Workbench.Services
|
||||
/// <summary>
|
||||
/// 从节点信息转换为Json文本数据
|
||||
/// </summary>
|
||||
public string CpoyNodeInfo(List<NodeModelBase> dictSelection)
|
||||
public string CpoyNodeInfo(List<IFlowNode> dictSelection)
|
||||
{
|
||||
|
||||
// 遍历当前已选节点
|
||||
|
||||
Reference in New Issue
Block a user