mirror of
https://gitee.com/langsisi_admin/serein-flow
synced 2026-03-14 05:26:35 +08:00
移除了中断相关的后台代码与UI交互(待重写);重写运行时节点获取参数的方法;重写了节点容器的互动;完善了WebSocket远程交互;完善了项目文件的加载;
This commit is contained in:
@@ -58,15 +58,24 @@ namespace Serein.Workbench.Node.View
|
||||
JunctionControlBase[] INodeJunction.ArgDataJunction => throw new NotImplementedException();
|
||||
|
||||
|
||||
public void PlaceNode(NodeControlBase nodeControl)
|
||||
public bool PlaceNode(NodeControlBase nodeControl)
|
||||
{
|
||||
//GlobalDataPanel.Children.Clear();
|
||||
if (GlobalDataPanel.Children.Contains(nodeControl))
|
||||
{
|
||||
return false;
|
||||
}
|
||||
GlobalDataPanel.Children.Add(nodeControl);
|
||||
return true;
|
||||
}
|
||||
|
||||
public void TakeOutNode(NodeControlBase nodeControl)
|
||||
public bool TakeOutNode(NodeControlBase nodeControl)
|
||||
{
|
||||
if (!GlobalDataPanel.Children.Contains(nodeControl))
|
||||
{
|
||||
return false;
|
||||
}
|
||||
GlobalDataPanel.Children.Remove(nodeControl);
|
||||
return true;
|
||||
}
|
||||
|
||||
public void TakeOutAll()
|
||||
|
||||
Reference in New Issue
Block a user