枚举和位域
2012-08-27 16:25 清潭荷韵 阅读(185) 评论(0) 编辑 收藏 举报[Flags]
public enum AlgParamType
{
/// <summary>
/// 物流
/// </summary>
FLOW = 0x1,
/// <summary>
/// 单变量
/// </summary>
SINGLE = 0x10,
/// <summary>
/// 数组
/// </summary>
GROUP = 0x100,
/// <summary>
/// 入口
/// </summary>
IN = 0x1000,
/// <summary>
/// 出口
/// </summary>
OUT = 0x10000,
/// <summary>
/// 常数
/// </summary>
CONSTANT = 0x100000,
/// <summary>
/// 实体
/// </summary>
ENTITY = 0x1000000,
/// <summary>
/// 引用
/// </summary>
REFERENCE = 0x10000000,
NONE = 0
}