ivr流程编辑器

IVROutbound.cs 2.2KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465
  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 System.Windows.Forms;
  8. namespace HySoft.IVRFlowEditor.IVRControlUtility
  9. {
  10. /// <summary>
  11. /// 外呼节点
  12. /// </summary>
  13. [IVRAttribute("CELL_CALL", Model.IVRSerializerType.节点, 1)]
  14. public class IVROutbound : IVRControlBase
  15. {
  16. public IVROutbound(string name)
  17. {
  18. this.Name = name;
  19. CtlProperty = new CtlIVROutbound(this);
  20. CtlProperty.Cursor = System.Windows.Forms.Cursors.SizeAll;
  21. CtlProperty.Tag = this;
  22. }
  23. /// <summary>
  24. /// 表示被叫号码字段类型;1为具体号码,2为变量名(下同)。
  25. /// </summary>
  26. [IVRAttribute("CalleeNumType", Model.IVRSerializerType.元素, 2)]
  27. public NumberType CalleeNumType
  28. { get; set; }
  29. /// <summary>
  30. /// 被叫号码字段,值可以是号码或是一个变量名(下同)。
  31. /// </summary>
  32. [IVRAttribute("CalleeNum", Model.IVRSerializerType.元素, 3)]
  33. public string CalleeNum
  34. { get; set; }
  35. /// <summary>
  36. /// :表示主叫号码字段类型;1为具体号码,2为变量名。
  37. /// </summary>
  38. [IVRAttribute("CallerNumType", Model.IVRSerializerType.元素, 4)]
  39. public NumberType CallerNumType
  40. { get; set; }
  41. /// <summary>
  42. /// :主叫号码,值可以是号码或是一个变量名。
  43. /// </summary>
  44. [IVRAttribute("CallerNum", Model.IVRSerializerType.元素, 5)]
  45. public string CallerNum
  46. { get; set; }
  47. /// <summary>
  48. /// 超时事件
  49. /// </summary>
  50. [IVRAttribute("Timeout", Model.IVRSerializerType.元素, 6)]
  51. public int Timeout
  52. { get; set; }
  53. [IVRAttribute("SuccessPos", Model.IVRSerializerType.元素, 7, IsPosPoint = true)]
  54. public IVRControlBase SuccessPos
  55. { get; set; }
  56. [IVRAttribute("FailPos", Model.IVRSerializerType.元素, 8, IsPosPoint = true)]
  57. public IVRControlBase FailPos
  58. { get; set; }
  59. }
  60. }