using System;
using System.ComponentModel;
using TeamAAS.FlowEditor.Plugins;
namespace Plugins.Standard.Models
{
[Serializable]
///
/// 结束类型枚举
///
public enum EndActionType
{
[Description("跳出当前循环")]
Break,
[Description("结束整个流程")]
End
}
[Serializable]
///
/// 结束插件模型
///
public class EndPluginModel : BasePluginModel
{
private EndActionType _endType = EndActionType.Break;
[Category("结束设置")]
[DisplayName("结束类型")]
[Description("Break=跳出当前循环, End=结束整个流程")]
public EndActionType EndType
{
get => _endType;
set => _endType = value;
}
}
}