ivr流程编辑器

AttributeInfo.cs 1.1KB

1234567891011121314151617181920212223242526272829303132333435363738394041
  1. using System;
  2. using System.Collections.Generic;
  3. using System.Linq;
  4. using System.Text;
  5. namespace HySoft.IVRFlowEditor.Model
  6. {
  7. public class IVRAttribute : Attribute
  8. {
  9. /// <summary>
  10. /// IVR序列化的标志,需要序列化的程序必须具有此特性-
  11. /// </summary>
  12. /// <param name="name">序列化文件中显示的属性名称</param>
  13. /// <param name="Type">具有此特性的属性的类型</param>
  14. /// <param name="number">具有此特性的属性要序列化的序列号</param>
  15. public IVRAttribute(string name,IVRSerializerType Type,int number)
  16. {
  17. Name = name;
  18. IVRSerializerType = Type;
  19. Number = number;
  20. }
  21. /// <summary>
  22. ///列号
  23. /// </summary>
  24. public int Number
  25. { get; set; }
  26. public string Name
  27. { get; set; }
  28. public IVRSerializerType IVRSerializerType
  29. { get; set; }
  30. public object Object
  31. { get; set; }
  32. /// <summary>
  33. /// 是否节点指针
  34. /// </summary>
  35. public bool IsPosPoint
  36. { get; set; }
  37. }
  38. }