⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 participanttype.cs

📁 工作流的基本资料(文档资料
💻 CS
字号:
using System;
using System.Collections;

namespace com.use.wfp.xpdl.elements
{
	/// <summary>
	/// ParticipantType 的摘要说明。
	/// </summary>
	public class ParticipantType:BaseElement
	{
		private String mode;
		private static Hashtable modes;
		public ParticipantTypeType GetParticipantTypeType()
		{
			return (ParticipantTypeType)modes[GetAttribute(mode, out mode, "Type")];
		}

		public ParticipantType()
		{
			if(modes == null)
			{
				modes = new Hashtable();
				modes.Add("RESOURCE_SET", ParticipantTypeType.RESOURCE_SET);
				modes.Add("RESOURCE", ParticipantTypeType.RESOURCE);
				modes.Add("ROLE", ParticipantTypeType.ROLE);
				modes.Add("ORGANIZATIONAL_UNIT", ParticipantTypeType.ORGANIZATIONAL_UNIT);
				modes.Add("HUMAN", ParticipantTypeType.HUMAN);
				modes.Add("SYSTEM", ParticipantTypeType.SYSTEM);
			}
		}
	}
}

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -