ivr流程编辑器

IVRLeaveWord.cs 2.0KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263
  1. using System;
  2. using System.Collections.Generic;
  3. using System.Linq;
  4. using System.Text;
  5. using HySoft.IVRFlowEditor.Model;
  6. using HySoft.IVRFlowEditor.IVRControl;
  7. namespace HySoft.IVRFlowEditor.IVRControlUtility
  8. {
  9. /// <summary>
  10. /// 、留言节点
  11. /// </summary>
  12. [IVRAttribute("CELL_LEAVEWORD", Model.IVRSerializerType.节点,1)]
  13. public class IVRLeaveWord : IVRControlBase
  14. {
  15. public IVRLeaveWord(string name)
  16. {
  17. this.Name = name;
  18. CtlProperty = new CtlIVRLeaveWord(this);
  19. }
  20. /// <summary>
  21. /// :留言文件路径,该字段可由多个变量组合而成,对于所有使用的变量均 需要在子节点LeaveWord 中列出。
  22. /// </summary>
  23. [IVRAttribute("Path", Model.IVRSerializerType.元素,2)]
  24. public string Path
  25. { get; set; }
  26. /// <summary>
  27. /// :留言结束键,取值‘*’、‘#’、‘0’至‘9’。
  28. /// </summary>
  29. [IVRAttribute("FinishKey", Model.IVRSerializerType.元素,3)]
  30. public FinishKeyType FinishKey
  31. { get; set; }
  32. /// <summary>
  33. /// :留言超时时长,单位为秒。
  34. /// </summary>
  35. [IVRAttribute("Timeout", Model.IVRSerializerType.元素,4)]
  36. public int Timeout
  37. { get; set; }
  38. /// <summary>
  39. /// :超时跳转的节点位置编号。
  40. /// </summary>
  41. [IVRAttribute("TimeoutPos", Model.IVRSerializerType.元素,5, IsPosPoint = true)]
  42. public IVRControlBase TimeoutPos
  43. { get; set; }
  44. /// <summary>
  45. /// :挂机跳转节点位置编号。
  46. /// </summary>
  47. [IVRAttribute("HangupPos", Model.IVRSerializerType.元素,6, IsPosPoint = true)]
  48. public IVRControlBase HangupPos
  49. { get; set; }
  50. /// <summary>
  51. /// :留言结束跳转节点编号。
  52. /// </summary>
  53. [IVRAttribute("FinishPos", Model.IVRSerializerType.元素,7, IsPosPoint = true)]
  54. public IVRControlBase FinishPos
  55. { get; set; }
  56. }
  57. }