ivr流程编辑器

IVRTransfeOut.cs 1.6KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950
  1. using System;
  2. using System.Collections.Generic;
  3. using System.Linq;
  4. using System.Text;
  5. using HySoft.IVRFlowEditor.Propretity;
  6. using HySoft.IVRFlowEditor.Model;
  7. using HySoft.IVRFlowEditor.IVRControl;
  8. namespace HySoft.IVRFlowEditor.IVRControlUtility
  9. {
  10. /// <summary>
  11. /// 结构和外呼节点相同 呼叫转移节点
  12. /// </summary>
  13. [IVRAttribute("CELL_TRANSFEROUT", Model.IVRSerializerType.节点,1)]
  14. public class IVRTransfeOut :IVRControlBase
  15. {
  16. public IVRTransfeOut(string name)
  17. {
  18. this.Name = name;
  19. CtlProperty = new CtlIVRTransfeOut(this);
  20. }
  21. /// <summary>
  22. /// 表示被叫号码字段类型;1为具体号码,2为变量名(下同)。
  23. /// </summary>
  24. [IVRAttribute("CalleeNumType", Model.IVRSerializerType.元素, 2)]
  25. public NumberType CalleeNumType
  26. { get; set; }
  27. /// <summary>
  28. /// 被叫号码字段,值可以是号码或是一个变量名(下同)。
  29. /// </summary>
  30. [IVRAttribute("CalleeNum", Model.IVRSerializerType.元素, 3)]
  31. public string CalleeNum
  32. { get; set; }
  33. /// <summary>
  34. /// 超时事件
  35. /// </summary>
  36. [IVRAttribute("Timeout", Model.IVRSerializerType.元素, 6)]
  37. public int Timeout
  38. { get; set; }
  39. [IVRAttribute("SuccessPos", Model.IVRSerializerType.元素, 7, IsPosPoint = true)]
  40. public IVRControlBase SuccessPos
  41. { get; set; }
  42. [IVRAttribute("FailPos", Model.IVRSerializerType.元素, 8, IsPosPoint = true)]
  43. public IVRControlBase FailPos
  44. { get; set; }
  45. }
  46. }