2024-08-06 15:41:14 +08:00
|
|
|
|
using Serein.Flow.NodeModel;
|
2024-08-05 10:11:58 +08:00
|
|
|
|
using Serein.WorkBench.Node.ViewModel;
|
|
|
|
|
|
|
|
|
|
|
|
namespace Serein.WorkBench.Node.View
|
|
|
|
|
|
{
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
|
/// ActionNode.xaml 的交互逻辑
|
|
|
|
|
|
/// </summary>
|
|
|
|
|
|
public partial class ActionNodeControl : NodeControlBase
|
|
|
|
|
|
{
|
|
|
|
|
|
private readonly ActionNodeControlViewModel actionNodeControlViewModel;
|
|
|
|
|
|
public ActionNodeControl(SingleActionNode node) : base(node)
|
|
|
|
|
|
{
|
|
|
|
|
|
Node = node;
|
|
|
|
|
|
actionNodeControlViewModel = new ActionNodeControlViewModel(node);
|
|
|
|
|
|
DataContext = actionNodeControlViewModel;
|
|
|
|
|
|
InitializeComponent();
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
}
|