2025-01-22 21:09:52 +08:00
|
|
|
|
using Serein.Workbench.Node.ViewModel;
|
2025-01-05 08:52:37 +08:00
|
|
|
|
using System.Windows;
|
2025-01-22 21:09:52 +08:00
|
|
|
|
using System.Windows.Controls;
|
2025-01-05 08:52:37 +08:00
|
|
|
|
|
|
|
|
|
|
namespace Serein.Workbench.Node.View
|
|
|
|
|
|
{
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
|
/// StateNode.xaml 的交互逻辑
|
|
|
|
|
|
/// </summary>
|
|
|
|
|
|
public partial class FlipflopNodeControl : NodeControlBase, INodeJunction
|
|
|
|
|
|
{
|
|
|
|
|
|
public FlipflopNodeControl(FlipflopNodeControlViewModel viewModel) : base(viewModel)
|
|
|
|
|
|
{
|
|
|
|
|
|
DataContext = viewModel;
|
|
|
|
|
|
InitializeComponent();
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
|
/// 入参控制点(可能有,可能没)
|
|
|
|
|
|
/// </summary>
|
|
|
|
|
|
JunctionControlBase INodeJunction.ExecuteJunction => this.ExecuteJunctionControl;
|
|
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
|
/// 下一个调用方法控制点(可能有,可能没)
|
|
|
|
|
|
/// </summary>
|
|
|
|
|
|
JunctionControlBase INodeJunction.NextStepJunction => this.NextStepJunctionControl;
|
|
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
|
/// 返回值控制点(可能有,可能没)
|
|
|
|
|
|
/// </summary>
|
|
|
|
|
|
JunctionControlBase INodeJunction.ReturnDataJunction => this.ResultJunctionControl;
|
|
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
|
/// 方法入参控制点(可能有,可能没)
|
|
|
|
|
|
/// </summary>
|
2025-05-30 01:02:25 +08:00
|
|
|
|
JunctionControlBase[] INodeJunction.ArgDataJunction => GetArgJunction(this, MethodDetailsControl);
|
2025-01-05 08:52:37 +08:00
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
}
|