ivr流程编辑器

IVRTimer.cs 1.4KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748
  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_TIMER", Model.IVRSerializerType.节点, 2)]
  13. public class IVRTimer : IVRControlBase
  14. {
  15. public IVRTimer(string name)
  16. {
  17. this.Name = name;
  18. CtlProperty = new CtlIVRTimer(this);
  19. }
  20. /// <summary>
  21. /// :定时间隔,单位为秒。
  22. /// </summary>
  23. [IVRAttribute("TimerInterval", Model.IVRSerializerType.元素, 2)]
  24. public int TimerInterval
  25. { get; set; }
  26. /// <summary>
  27. /// :生效时间段开始时间,格式为HH:MM。
  28. /// </summary>
  29. [IVRAttribute("BeginTime", Model.IVRSerializerType.元素, 3)]
  30. public string BeginTime
  31. { get; set; }
  32. /// <summary>
  33. /// :生效时间段结束时间,格式为HH:MM。
  34. /// </summary>
  35. [IVRAttribute("EndTime", Model.IVRSerializerType.元素, 4)]
  36. public string EndTime
  37. { get; set; }
  38. /// <summary>
  39. /// :定时器到时跳转的节点编号。
  40. /// </summary>
  41. [IVRAttribute("Next", Model.IVRSerializerType.元素,5, IsPosPoint = true)]
  42. public IVRControlBase Next
  43. { get; set; }
  44. }
  45. }