ivr流程编辑器

IVRTurnagent.cs 1.7KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455
  1. using System;
  2. using System.Collections.Generic;
  3. using System.Linq;
  4. using System.Text;
  5. using HySoft.IVRFlowEditor.IVRControl;
  6. using HySoft.IVRFlowEditor.Model;
  7. namespace HySoft.IVRFlowEditor.IVRControlUtility
  8. {
  9. /// <summary>
  10. /// 转人工节点
  11. /// </summary>
  12. [IVRAttribute("CELL_TURNAGENT", Model.IVRSerializerType.节点,1)]
  13. public class IVRTurnagent : IVRControlBase
  14. {
  15. public IVRTurnagent(string name)
  16. {
  17. this.Name = name;
  18. CtlProperty = new CtlIVRTurnagent(this);
  19. BandData = new List<IVRDefaultVar>();
  20. }
  21. /// <summary>
  22. /// :待转移的座席分机号变量。
  23. /// </summary>
  24. [IVRAttribute("Exten", Model.IVRSerializerType.元素,2)]
  25. public string Exten
  26. { get; set; }
  27. /// <summary>
  28. ///
  29. /// </summary>
  30. [IVRAttribute("FailPos", Model.IVRSerializerType.元素, 3, IsPosPoint = true)]
  31. public IVRControlBase FailPos
  32. { get; set; }
  33. /// <summary>
  34. /// :成功跳转的节点编号。
  35. /// </summary>
  36. [IVRAttribute("SuccessPos", Model.IVRSerializerType.元素, 4, IsPosPoint = true)]
  37. public IVRControlBase SuccessPos
  38. { get; set; }
  39. /// <summary>
  40. /// 挂机跳转
  41. /// </summary>
  42. [IVRAttribute("HangupPos", Model.IVRSerializerType.元素, 5, IsPosPoint = true)]
  43. public IVRControlBase HangupPos
  44. { get; set; }
  45. /// <summary>
  46. /// 罗列所有要传递给座席的变量列表。
  47. /// </summary>
  48. [IVRAttribute("BandData", Model.IVRSerializerType.节点,6)]
  49. public List<IVRDefaultVar> BandData
  50. { get; set; }
  51. }
  52. }