ivr流程编辑器

IVRQueue.cs 3.0KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687
  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_QUEUE", Model.IVRSerializerType.节点,1)]
  13. public class IVRQueue : IVRControlBase
  14. {
  15. public IVRQueue(string name)
  16. {
  17. this.Name = name;
  18. CtlProperty = new CtlIVRQueue(this);
  19. }
  20. [IVRAttribute("Strategy", Model.IVRSerializerType.元素,2)]
  21. public StrategyType Strategy
  22. { get; set; }
  23. /// <summary>
  24. /// :VipLevel字段类型,1为值、2为变量。
  25. /// </summary>
  26. [IVRAttribute("VipLevelType", Model.IVRSerializerType.元素,3)]
  27. public NumberType VipLevelType
  28. { get; set; }
  29. /// <summary>
  30. /// :VIP级别,类型由VipLevelType字段解释。
  31. /// </summary>
  32. [IVRAttribute("VipLevel", Model.IVRSerializerType.元素,4)]
  33. public string VipLevel
  34. { get; set; }
  35. /// <summary>
  36. /// :Group字段类型,1为值、2为变量。
  37. /// </summary>
  38. [IVRAttribute("GroupType", Model.IVRSerializerType.元素,5)]
  39. public NumberType GroupType
  40. { get; set; }
  41. /// <summary>
  42. /// :排队的组号,类型由GroupType字段解释。
  43. /// </summary>
  44. [IVRAttribute("Group", Model.IVRSerializerType.元素,6)]
  45. public string Group
  46. { get; set; }
  47. /// <summary>
  48. /// :变量名用以存储分配的坐席工号。
  49. /// </summary>
  50. [IVRAttribute("AgentVar", Model.IVRSerializerType.元素,7)]
  51. public string AgentVar
  52. { get; set; }
  53. /// <summary>
  54. /// :变量名用以存储分配的坐席分机号。
  55. /// </summary>
  56. [IVRAttribute("ExtenVar", Model.IVRSerializerType.元素,8)]
  57. public string ExtenVar
  58. { get; set; }
  59. /// <summary>
  60. /// :没有坐席跳转的节点编号。
  61. /// </summary>
  62. [IVRAttribute("NoAgentPos", Model.IVRSerializerType.元素,9, IsPosPoint = true)]
  63. public IVRControlBase NoAgentPos
  64. { get; set; }
  65. /// <summary>
  66. /// :没有空闲坐席跳转的节点编号。
  67. /// </summary>
  68. [IVRAttribute("NoFreePos", Model.IVRSerializerType.元素,10, IsPosPoint = true)]
  69. public IVRControlBase NoFreePos
  70. { get; set; }
  71. /// <summary>
  72. /// :成功跳转的节点编号。
  73. /// </summary>
  74. [IVRAttribute("SuccessPos", Model.IVRSerializerType.元素,11, IsPosPoint = true)]
  75. public IVRControlBase SuccessPos
  76. { get; set; }
  77. /// <summary>
  78. /// 挂机跳转
  79. /// </summary>
  80. [IVRAttribute("HangupPos", Model.IVRSerializerType.元素,12, IsPosPoint = true)]
  81. public IVRControlBase HangupPos
  82. { get; set; }
  83. }
  84. }