mirror of
https://gitee.com/langsisi_admin/serein-flow
synced 2026-03-03 00:00:49 +08:00
GIT练习
This commit is contained in:
33
WorkBench/Node/ViewModel/ActionNodeControlViewModel.cs
Normal file
33
WorkBench/Node/ViewModel/ActionNodeControlViewModel.cs
Normal file
@@ -0,0 +1,33 @@
|
||||
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;
|
||||
//}
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user