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