mirror of
https://gitee.com/langsisi_admin/serein-flow
synced 2026-03-02 15:50:47 +08:00
34 lines
960 B
C#
34 lines
960 B
C#
|
|
using Serein.DynamicFlow;
|
|||
|
|
using Serein.DynamicFlow.NodeModel;
|
|||
|
|
using Serein.WorkBench.Node.View;
|
|||
|
|
using System.ComponentModel;
|
|||
|
|
using System.Runtime.CompilerServices;
|
|||
|
|
|
|||
|
|
namespace Serein.WorkBench.Node.ViewModel
|
|||
|
|
{
|
|||
|
|
public class ActionNodeControlViewModel : NodeControlViewModel
|
|||
|
|
{
|
|||
|
|
private readonly SingleActionNode node;
|
|||
|
|
|
|||
|
|
public ActionNodeControlViewModel(SingleActionNode node)
|
|||
|
|
{
|
|||
|
|
this.node = node;
|
|||
|
|
|
|||
|
|
|
|||
|
|
MethodDetails = node.MethodDetails;
|
|||
|
|
//if (node.MethodDetails.ExplicitDatas.Length == 0)
|
|||
|
|
//{
|
|||
|
|
// // 没有显式项
|
|||
|
|
// IsExistExplicitData = false;
|
|||
|
|
// ExplicitDatas = [];
|
|||
|
|
//}
|
|||
|
|
//else
|
|||
|
|
//{
|
|||
|
|
// explicitDatas = node.MethodDetails.ExplicitDatas;
|
|||
|
|
// //ExplicitDatas = node.MethodDetails.ExplicitDatas;
|
|||
|
|
// IsExistExplicitData = true;
|
|||
|
|
//}
|
|||
|
|
}
|
|||
|
|
}
|
|||
|
|
}
|